Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var BfdState_name = map[uint32]string + var BfdState_value = map[string]uint32 + func AllMessages() []api.Message + type BfdAuthDelKey struct + ConfKeyID uint32 + func (*BfdAuthDelKey) GetCrcString() string + func (*BfdAuthDelKey) GetMessageName() string + func (*BfdAuthDelKey) GetMessageType() api.MessageType + func (m *BfdAuthDelKey) Marshal(b []byte) ([]byte, error) + func (m *BfdAuthDelKey) Reset() + func (m *BfdAuthDelKey) Size() (size int) + func (m *BfdAuthDelKey) Unmarshal(b []byte) error + type BfdAuthDelKeyReply struct + Retval int32 + func (*BfdAuthDelKeyReply) GetCrcString() string + func (*BfdAuthDelKeyReply) GetMessageName() string + func (*BfdAuthDelKeyReply) GetMessageType() api.MessageType + func (m *BfdAuthDelKeyReply) Marshal(b []byte) ([]byte, error) + func (m *BfdAuthDelKeyReply) Reset() + func (m *BfdAuthDelKeyReply) Size() (size int) + func (m *BfdAuthDelKeyReply) Unmarshal(b []byte) error + type BfdAuthKeysDetails struct + AuthType uint8 + ConfKeyID uint32 + UseCount uint32 + func (*BfdAuthKeysDetails) GetCrcString() string + func (*BfdAuthKeysDetails) GetMessageName() string + func (*BfdAuthKeysDetails) GetMessageType() api.MessageType + func (m *BfdAuthKeysDetails) Marshal(b []byte) ([]byte, error) + func (m *BfdAuthKeysDetails) Reset() + func (m *BfdAuthKeysDetails) Size() (size int) + func (m *BfdAuthKeysDetails) Unmarshal(b []byte) error + type BfdAuthKeysDump struct + func (*BfdAuthKeysDump) GetCrcString() string + func (*BfdAuthKeysDump) GetMessageName() string + func (*BfdAuthKeysDump) GetMessageType() api.MessageType + func (m *BfdAuthKeysDump) Marshal(b []byte) ([]byte, error) + func (m *BfdAuthKeysDump) Reset() + func (m *BfdAuthKeysDump) Size() (size int) + func (m *BfdAuthKeysDump) Unmarshal(b []byte) error + type BfdAuthSetKey struct + AuthType uint8 + ConfKeyID uint32 + Key []byte + KeyLen uint8 + func (*BfdAuthSetKey) GetCrcString() string + func (*BfdAuthSetKey) GetMessageName() string + func (*BfdAuthSetKey) GetMessageType() api.MessageType + func (m *BfdAuthSetKey) Marshal(b []byte) ([]byte, error) + func (m *BfdAuthSetKey) Reset() + func (m *BfdAuthSetKey) Size() (size int) + func (m *BfdAuthSetKey) Unmarshal(b []byte) error + type BfdAuthSetKeyReply struct + Retval int32 + func (*BfdAuthSetKeyReply) GetCrcString() string + func (*BfdAuthSetKeyReply) GetMessageName() string + func (*BfdAuthSetKeyReply) GetMessageType() api.MessageType + func (m *BfdAuthSetKeyReply) Marshal(b []byte) ([]byte, error) + func (m *BfdAuthSetKeyReply) Reset() + func (m *BfdAuthSetKeyReply) Size() (size int) + func (m *BfdAuthSetKeyReply) Unmarshal(b []byte) error + type BfdState uint32 + const BFD_STATE_API_ADMIN_DOWN + const BFD_STATE_API_DOWN + const BFD_STATE_API_INIT + const BFD_STATE_API_UP + func (x BfdState) String() string + type BfdUDPAdd struct + BfdKeyID uint8 + ConfKeyID uint32 + DesiredMinTx uint32 + DetectMult uint8 + IsAuthenticated bool + LocalAddr ip_types.Address + PeerAddr ip_types.Address + RequiredMinRx uint32 + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPAdd) GetCrcString() string + func (*BfdUDPAdd) GetMessageName() string + func (*BfdUDPAdd) GetMessageType() api.MessageType + func (m *BfdUDPAdd) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPAdd) Reset() + func (m *BfdUDPAdd) Size() (size int) + func (m *BfdUDPAdd) Unmarshal(b []byte) error + type BfdUDPAddReply struct + Retval int32 + func (*BfdUDPAddReply) GetCrcString() string + func (*BfdUDPAddReply) GetMessageName() string + func (*BfdUDPAddReply) GetMessageType() api.MessageType + func (m *BfdUDPAddReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPAddReply) Reset() + func (m *BfdUDPAddReply) Size() (size int) + func (m *BfdUDPAddReply) Unmarshal(b []byte) error + type BfdUDPAuthActivate struct + BfdKeyID uint8 + ConfKeyID uint32 + IsDelayed bool + LocalAddr ip_types.Address + PeerAddr ip_types.Address + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPAuthActivate) GetCrcString() string + func (*BfdUDPAuthActivate) GetMessageName() string + func (*BfdUDPAuthActivate) GetMessageType() api.MessageType + func (m *BfdUDPAuthActivate) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPAuthActivate) Reset() + func (m *BfdUDPAuthActivate) Size() (size int) + func (m *BfdUDPAuthActivate) Unmarshal(b []byte) error + type BfdUDPAuthActivateReply struct + Retval int32 + func (*BfdUDPAuthActivateReply) GetCrcString() string + func (*BfdUDPAuthActivateReply) GetMessageName() string + func (*BfdUDPAuthActivateReply) GetMessageType() api.MessageType + func (m *BfdUDPAuthActivateReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPAuthActivateReply) Reset() + func (m *BfdUDPAuthActivateReply) Size() (size int) + func (m *BfdUDPAuthActivateReply) Unmarshal(b []byte) error + type BfdUDPAuthDeactivate struct + IsDelayed bool + LocalAddr ip_types.Address + PeerAddr ip_types.Address + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPAuthDeactivate) GetCrcString() string + func (*BfdUDPAuthDeactivate) GetMessageName() string + func (*BfdUDPAuthDeactivate) GetMessageType() api.MessageType + func (m *BfdUDPAuthDeactivate) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPAuthDeactivate) Reset() + func (m *BfdUDPAuthDeactivate) Size() (size int) + func (m *BfdUDPAuthDeactivate) Unmarshal(b []byte) error + type BfdUDPAuthDeactivateReply struct + Retval int32 + func (*BfdUDPAuthDeactivateReply) GetCrcString() string + func (*BfdUDPAuthDeactivateReply) GetMessageName() string + func (*BfdUDPAuthDeactivateReply) GetMessageType() api.MessageType + func (m *BfdUDPAuthDeactivateReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPAuthDeactivateReply) Reset() + func (m *BfdUDPAuthDeactivateReply) Size() (size int) + func (m *BfdUDPAuthDeactivateReply) Unmarshal(b []byte) error + type BfdUDPDel struct + LocalAddr ip_types.Address + PeerAddr ip_types.Address + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPDel) GetCrcString() string + func (*BfdUDPDel) GetMessageName() string + func (*BfdUDPDel) GetMessageType() api.MessageType + func (m *BfdUDPDel) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPDel) Reset() + func (m *BfdUDPDel) Size() (size int) + func (m *BfdUDPDel) Unmarshal(b []byte) error + type BfdUDPDelEchoSource struct + func (*BfdUDPDelEchoSource) GetCrcString() string + func (*BfdUDPDelEchoSource) GetMessageName() string + func (*BfdUDPDelEchoSource) GetMessageType() api.MessageType + func (m *BfdUDPDelEchoSource) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPDelEchoSource) Reset() + func (m *BfdUDPDelEchoSource) Size() (size int) + func (m *BfdUDPDelEchoSource) Unmarshal(b []byte) error + type BfdUDPDelEchoSourceReply struct + Retval int32 + func (*BfdUDPDelEchoSourceReply) GetCrcString() string + func (*BfdUDPDelEchoSourceReply) GetMessageName() string + func (*BfdUDPDelEchoSourceReply) GetMessageType() api.MessageType + func (m *BfdUDPDelEchoSourceReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPDelEchoSourceReply) Reset() + func (m *BfdUDPDelEchoSourceReply) Size() (size int) + func (m *BfdUDPDelEchoSourceReply) Unmarshal(b []byte) error + type BfdUDPDelReply struct + Retval int32 + func (*BfdUDPDelReply) GetCrcString() string + func (*BfdUDPDelReply) GetMessageName() string + func (*BfdUDPDelReply) GetMessageType() api.MessageType + func (m *BfdUDPDelReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPDelReply) Reset() + func (m *BfdUDPDelReply) Size() (size int) + func (m *BfdUDPDelReply) Unmarshal(b []byte) error + type BfdUDPGetEchoSource struct + func (*BfdUDPGetEchoSource) GetCrcString() string + func (*BfdUDPGetEchoSource) GetMessageName() string + func (*BfdUDPGetEchoSource) GetMessageType() api.MessageType + func (m *BfdUDPGetEchoSource) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPGetEchoSource) Reset() + func (m *BfdUDPGetEchoSource) Size() (size int) + func (m *BfdUDPGetEchoSource) Unmarshal(b []byte) error + type BfdUDPGetEchoSourceReply struct + HaveUsableIP4 bool + HaveUsableIP6 bool + IP4Addr ip_types.IP4Address + IP6Addr ip_types.IP6Address + IsSet bool + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPGetEchoSourceReply) GetCrcString() string + func (*BfdUDPGetEchoSourceReply) GetMessageName() string + func (*BfdUDPGetEchoSourceReply) GetMessageType() api.MessageType + func (m *BfdUDPGetEchoSourceReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPGetEchoSourceReply) Reset() + func (m *BfdUDPGetEchoSourceReply) Size() (size int) + func (m *BfdUDPGetEchoSourceReply) Unmarshal(b []byte) error + type BfdUDPMod struct + DesiredMinTx uint32 + DetectMult uint8 + LocalAddr ip_types.Address + PeerAddr ip_types.Address + RequiredMinRx uint32 + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPMod) GetCrcString() string + func (*BfdUDPMod) GetMessageName() string + func (*BfdUDPMod) GetMessageType() api.MessageType + func (m *BfdUDPMod) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPMod) Reset() + func (m *BfdUDPMod) Size() (size int) + func (m *BfdUDPMod) Unmarshal(b []byte) error + type BfdUDPModReply struct + Retval int32 + func (*BfdUDPModReply) GetCrcString() string + func (*BfdUDPModReply) GetMessageName() string + func (*BfdUDPModReply) GetMessageType() api.MessageType + func (m *BfdUDPModReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPModReply) Reset() + func (m *BfdUDPModReply) Size() (size int) + func (m *BfdUDPModReply) Unmarshal(b []byte) error + type BfdUDPSessionDetails struct + BfdKeyID uint8 + ConfKeyID uint32 + DesiredMinTx uint32 + DetectMult uint8 + IsAuthenticated bool + LocalAddr ip_types.Address + PeerAddr ip_types.Address + RequiredMinRx uint32 + State BfdState + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPSessionDetails) GetCrcString() string + func (*BfdUDPSessionDetails) GetMessageName() string + func (*BfdUDPSessionDetails) GetMessageType() api.MessageType + func (m *BfdUDPSessionDetails) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPSessionDetails) Reset() + func (m *BfdUDPSessionDetails) Size() (size int) + func (m *BfdUDPSessionDetails) Unmarshal(b []byte) error + type BfdUDPSessionDump struct + func (*BfdUDPSessionDump) GetCrcString() string + func (*BfdUDPSessionDump) GetMessageName() string + func (*BfdUDPSessionDump) GetMessageType() api.MessageType + func (m *BfdUDPSessionDump) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPSessionDump) Reset() + func (m *BfdUDPSessionDump) Size() (size int) + func (m *BfdUDPSessionDump) Unmarshal(b []byte) error + type BfdUDPSessionEvent struct + BfdKeyID uint8 + ConfKeyID uint32 + DesiredMinTx uint32 + DetectMult uint8 + IsAuthenticated bool + LocalAddr ip_types.Address + PID uint32 + PeerAddr ip_types.Address + RequiredMinRx uint32 + State BfdState + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPSessionEvent) GetCrcString() string + func (*BfdUDPSessionEvent) GetMessageName() string + func (*BfdUDPSessionEvent) GetMessageType() api.MessageType + func (m *BfdUDPSessionEvent) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPSessionEvent) Reset() + func (m *BfdUDPSessionEvent) Size() (size int) + func (m *BfdUDPSessionEvent) Unmarshal(b []byte) error + type BfdUDPSessionSetFlags struct + Flags interface_types.IfStatusFlags + LocalAddr ip_types.Address + PeerAddr ip_types.Address + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPSessionSetFlags) GetCrcString() string + func (*BfdUDPSessionSetFlags) GetMessageName() string + func (*BfdUDPSessionSetFlags) GetMessageType() api.MessageType + func (m *BfdUDPSessionSetFlags) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPSessionSetFlags) Reset() + func (m *BfdUDPSessionSetFlags) Size() (size int) + func (m *BfdUDPSessionSetFlags) Unmarshal(b []byte) error + type BfdUDPSessionSetFlagsReply struct + Retval int32 + func (*BfdUDPSessionSetFlagsReply) GetCrcString() string + func (*BfdUDPSessionSetFlagsReply) GetMessageName() string + func (*BfdUDPSessionSetFlagsReply) GetMessageType() api.MessageType + func (m *BfdUDPSessionSetFlagsReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPSessionSetFlagsReply) Reset() + func (m *BfdUDPSessionSetFlagsReply) Size() (size int) + func (m *BfdUDPSessionSetFlagsReply) Unmarshal(b []byte) error + type BfdUDPSetEchoSource struct + SwIfIndex interface_types.InterfaceIndex + func (*BfdUDPSetEchoSource) GetCrcString() string + func (*BfdUDPSetEchoSource) GetMessageName() string + func (*BfdUDPSetEchoSource) GetMessageType() api.MessageType + func (m *BfdUDPSetEchoSource) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPSetEchoSource) Reset() + func (m *BfdUDPSetEchoSource) Size() (size int) + func (m *BfdUDPSetEchoSource) Unmarshal(b []byte) error + type BfdUDPSetEchoSourceReply struct + Retval int32 + func (*BfdUDPSetEchoSourceReply) GetCrcString() string + func (*BfdUDPSetEchoSourceReply) GetMessageName() string + func (*BfdUDPSetEchoSourceReply) GetMessageType() api.MessageType + func (m *BfdUDPSetEchoSourceReply) Marshal(b []byte) ([]byte, error) + func (m *BfdUDPSetEchoSourceReply) Reset() + func (m *BfdUDPSetEchoSourceReply) Size() (size int) + func (m *BfdUDPSetEchoSourceReply) Unmarshal(b []byte) error + type RPCService interface + BfdAuthDelKey func(ctx context.Context, in *BfdAuthDelKey) (*BfdAuthDelKeyReply, error) + BfdAuthKeysDump func(ctx context.Context, in *BfdAuthKeysDump) (RPCService_BfdAuthKeysDumpClient, error) + BfdAuthSetKey func(ctx context.Context, in *BfdAuthSetKey) (*BfdAuthSetKeyReply, error) + BfdUDPAdd func(ctx context.Context, in *BfdUDPAdd) (*BfdUDPAddReply, error) + BfdUDPAuthActivate func(ctx context.Context, in *BfdUDPAuthActivate) (*BfdUDPAuthActivateReply, error) + BfdUDPAuthDeactivate func(ctx context.Context, in *BfdUDPAuthDeactivate) (*BfdUDPAuthDeactivateReply, error) + BfdUDPDel func(ctx context.Context, in *BfdUDPDel) (*BfdUDPDelReply, error) + BfdUDPDelEchoSource func(ctx context.Context, in *BfdUDPDelEchoSource) (*BfdUDPDelEchoSourceReply, error) + BfdUDPGetEchoSource func(ctx context.Context, in *BfdUDPGetEchoSource) (*BfdUDPGetEchoSourceReply, error) + BfdUDPMod func(ctx context.Context, in *BfdUDPMod) (*BfdUDPModReply, error) + BfdUDPSessionDump func(ctx context.Context, in *BfdUDPSessionDump) (RPCService_BfdUDPSessionDumpClient, error) + BfdUDPSessionSetFlags func(ctx context.Context, in *BfdUDPSessionSetFlags) (*BfdUDPSessionSetFlagsReply, error) + BfdUDPSetEchoSource func(ctx context.Context, in *BfdUDPSetEchoSource) (*BfdUDPSetEchoSourceReply, error) + WantBfdEvents func(ctx context.Context, in *WantBfdEvents) (*WantBfdEventsReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_BfdAuthKeysDumpClient interface + Recv func() (*BfdAuthKeysDetails, error) + type RPCService_BfdUDPSessionDumpClient interface + Recv func() (*BfdUDPSessionDetails, error) + type WantBfdEvents struct + EnableDisable bool + PID uint32 + func (*WantBfdEvents) GetCrcString() string + func (*WantBfdEvents) GetMessageName() string + func (*WantBfdEvents) GetMessageType() api.MessageType + func (m *WantBfdEvents) Marshal(b []byte) ([]byte, error) + func (m *WantBfdEvents) Reset() + func (m *WantBfdEvents) Size() (size int) + func (m *WantBfdEvents) Unmarshal(b []byte) error + type WantBfdEventsReply struct + Retval int32 + func (*WantBfdEventsReply) GetCrcString() string + func (*WantBfdEventsReply) GetMessageName() string + func (*WantBfdEventsReply) GetMessageType() api.MessageType + func (m *WantBfdEventsReply) Marshal(b []byte) ([]byte, error) + func (m *WantBfdEventsReply) Reset() + func (m *WantBfdEventsReply) Size() (size int) + func (m *WantBfdEventsReply) Unmarshal(b []byte) error