Documentation ¶
Overview ¶
Package bfd is a generated VPP binary API for 'bfd' module.
It consists of:
28 messages 14 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type BfdAuthDelKey
- type BfdAuthDelKeyReply
- type BfdAuthKeysDetails
- type BfdAuthKeysDump
- type BfdAuthSetKey
- type BfdAuthSetKeyReply
- type BfdUDPAdd
- type BfdUDPAddReply
- type BfdUDPAuthActivate
- type BfdUDPAuthActivateReply
- type BfdUDPAuthDeactivate
- type BfdUDPAuthDeactivateReply
- type BfdUDPDel
- type BfdUDPDelEchoSource
- type BfdUDPDelEchoSourceReply
- type BfdUDPDelReply
- type BfdUDPGetEchoSource
- type BfdUDPGetEchoSourceReply
- type BfdUDPMod
- type BfdUDPModReply
- type BfdUDPSessionDetails
- type BfdUDPSessionDump
- type BfdUDPSessionSetFlags
- type BfdUDPSessionSetFlagsReply
- type BfdUDPSetEchoSource
- type BfdUDPSetEchoSourceReply
- type RPCService
- type RPCService_DumpBfdAuthKeysClient
- type RPCService_DumpBfdUDPSessionClient
- type WantBfdEvents
- type WantBfdEventsReply
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "bfd" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xa37bd695 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type BfdAuthDelKey ¶
type BfdAuthDelKey struct {
ConfKeyID uint32
}
BfdAuthDelKey represents VPP binary API message 'bfd_auth_del_key'.
func (*BfdAuthDelKey) GetCrcString ¶
func (*BfdAuthDelKey) GetCrcString() string
func (*BfdAuthDelKey) GetMessageName ¶
func (*BfdAuthDelKey) GetMessageName() string
func (*BfdAuthDelKey) GetMessageType ¶
func (*BfdAuthDelKey) GetMessageType() api.MessageType
func (*BfdAuthDelKey) Reset ¶
func (m *BfdAuthDelKey) Reset()
type BfdAuthDelKeyReply ¶
type BfdAuthDelKeyReply struct {
Retval int32
}
BfdAuthDelKeyReply represents VPP binary API message 'bfd_auth_del_key_reply'.
func (*BfdAuthDelKeyReply) GetCrcString ¶
func (*BfdAuthDelKeyReply) GetCrcString() string
func (*BfdAuthDelKeyReply) GetMessageName ¶
func (*BfdAuthDelKeyReply) GetMessageName() string
func (*BfdAuthDelKeyReply) GetMessageType ¶
func (*BfdAuthDelKeyReply) GetMessageType() api.MessageType
func (*BfdAuthDelKeyReply) Reset ¶
func (m *BfdAuthDelKeyReply) Reset()
type BfdAuthKeysDetails ¶
BfdAuthKeysDetails represents VPP binary API message 'bfd_auth_keys_details'.
func (*BfdAuthKeysDetails) GetCrcString ¶
func (*BfdAuthKeysDetails) GetCrcString() string
func (*BfdAuthKeysDetails) GetMessageName ¶
func (*BfdAuthKeysDetails) GetMessageName() string
func (*BfdAuthKeysDetails) GetMessageType ¶
func (*BfdAuthKeysDetails) GetMessageType() api.MessageType
func (*BfdAuthKeysDetails) Reset ¶
func (m *BfdAuthKeysDetails) Reset()
type BfdAuthKeysDump ¶
type BfdAuthKeysDump struct{}
BfdAuthKeysDump represents VPP binary API message 'bfd_auth_keys_dump'.
func (*BfdAuthKeysDump) GetCrcString ¶
func (*BfdAuthKeysDump) GetCrcString() string
func (*BfdAuthKeysDump) GetMessageName ¶
func (*BfdAuthKeysDump) GetMessageName() string
func (*BfdAuthKeysDump) GetMessageType ¶
func (*BfdAuthKeysDump) GetMessageType() api.MessageType
func (*BfdAuthKeysDump) Reset ¶
func (m *BfdAuthKeysDump) Reset()
type BfdAuthSetKey ¶
type BfdAuthSetKey struct { ConfKeyID uint32 KeyLen uint8 AuthType uint8 Key []byte `struc:"[20]byte"` }
BfdAuthSetKey represents VPP binary API message 'bfd_auth_set_key'.
func (*BfdAuthSetKey) GetCrcString ¶
func (*BfdAuthSetKey) GetCrcString() string
func (*BfdAuthSetKey) GetMessageName ¶
func (*BfdAuthSetKey) GetMessageName() string
func (*BfdAuthSetKey) GetMessageType ¶
func (*BfdAuthSetKey) GetMessageType() api.MessageType
func (*BfdAuthSetKey) Reset ¶
func (m *BfdAuthSetKey) Reset()
type BfdAuthSetKeyReply ¶
type BfdAuthSetKeyReply struct {
Retval int32
}
BfdAuthSetKeyReply represents VPP binary API message 'bfd_auth_set_key_reply'.
func (*BfdAuthSetKeyReply) GetCrcString ¶
func (*BfdAuthSetKeyReply) GetCrcString() string
func (*BfdAuthSetKeyReply) GetMessageName ¶
func (*BfdAuthSetKeyReply) GetMessageName() string
func (*BfdAuthSetKeyReply) GetMessageType ¶
func (*BfdAuthSetKeyReply) GetMessageType() api.MessageType
func (*BfdAuthSetKeyReply) Reset ¶
func (m *BfdAuthSetKeyReply) Reset()
type BfdUDPAdd ¶
type BfdUDPAdd struct { SwIfIndex uint32 DesiredMinTx uint32 RequiredMinRx uint32 LocalAddr []byte `struc:"[16]byte"` PeerAddr []byte `struc:"[16]byte"` IsIPv6 uint8 DetectMult uint8 IsAuthenticated uint8 BfdKeyID uint8 ConfKeyID uint32 }
BfdUDPAdd represents VPP binary API message 'bfd_udp_add'.
func (*BfdUDPAdd) GetCrcString ¶
func (*BfdUDPAdd) GetMessageName ¶
func (*BfdUDPAdd) GetMessageType ¶
func (*BfdUDPAdd) GetMessageType() api.MessageType
type BfdUDPAddReply ¶
type BfdUDPAddReply struct {
Retval int32
}
BfdUDPAddReply represents VPP binary API message 'bfd_udp_add_reply'.
func (*BfdUDPAddReply) GetCrcString ¶
func (*BfdUDPAddReply) GetCrcString() string
func (*BfdUDPAddReply) GetMessageName ¶
func (*BfdUDPAddReply) GetMessageName() string
func (*BfdUDPAddReply) GetMessageType ¶
func (*BfdUDPAddReply) GetMessageType() api.MessageType
func (*BfdUDPAddReply) Reset ¶
func (m *BfdUDPAddReply) Reset()
type BfdUDPAuthActivate ¶
type BfdUDPAuthActivate struct { SwIfIndex uint32 LocalAddr []byte `struc:"[16]byte"` PeerAddr []byte `struc:"[16]byte"` IsIPv6 uint8 IsDelayed uint8 BfdKeyID uint8 ConfKeyID uint32 }
BfdUDPAuthActivate represents VPP binary API message 'bfd_udp_auth_activate'.
func (*BfdUDPAuthActivate) GetCrcString ¶
func (*BfdUDPAuthActivate) GetCrcString() string
func (*BfdUDPAuthActivate) GetMessageName ¶
func (*BfdUDPAuthActivate) GetMessageName() string
func (*BfdUDPAuthActivate) GetMessageType ¶
func (*BfdUDPAuthActivate) GetMessageType() api.MessageType
func (*BfdUDPAuthActivate) Reset ¶
func (m *BfdUDPAuthActivate) Reset()
type BfdUDPAuthActivateReply ¶
type BfdUDPAuthActivateReply struct {
Retval int32
}
BfdUDPAuthActivateReply represents VPP binary API message 'bfd_udp_auth_activate_reply'.
func (*BfdUDPAuthActivateReply) GetCrcString ¶
func (*BfdUDPAuthActivateReply) GetCrcString() string
func (*BfdUDPAuthActivateReply) GetMessageName ¶
func (*BfdUDPAuthActivateReply) GetMessageName() string
func (*BfdUDPAuthActivateReply) GetMessageType ¶
func (*BfdUDPAuthActivateReply) GetMessageType() api.MessageType
func (*BfdUDPAuthActivateReply) Reset ¶
func (m *BfdUDPAuthActivateReply) Reset()
type BfdUDPAuthDeactivate ¶
type BfdUDPAuthDeactivate struct { SwIfIndex uint32 LocalAddr []byte `struc:"[16]byte"` PeerAddr []byte `struc:"[16]byte"` IsIPv6 uint8 IsDelayed uint8 }
BfdUDPAuthDeactivate represents VPP binary API message 'bfd_udp_auth_deactivate'.
func (*BfdUDPAuthDeactivate) GetCrcString ¶
func (*BfdUDPAuthDeactivate) GetCrcString() string
func (*BfdUDPAuthDeactivate) GetMessageName ¶
func (*BfdUDPAuthDeactivate) GetMessageName() string
func (*BfdUDPAuthDeactivate) GetMessageType ¶
func (*BfdUDPAuthDeactivate) GetMessageType() api.MessageType
func (*BfdUDPAuthDeactivate) Reset ¶
func (m *BfdUDPAuthDeactivate) Reset()
type BfdUDPAuthDeactivateReply ¶
type BfdUDPAuthDeactivateReply struct {
Retval int32
}
BfdUDPAuthDeactivateReply represents VPP binary API message 'bfd_udp_auth_deactivate_reply'.
func (*BfdUDPAuthDeactivateReply) GetCrcString ¶
func (*BfdUDPAuthDeactivateReply) GetCrcString() string
func (*BfdUDPAuthDeactivateReply) GetMessageName ¶
func (*BfdUDPAuthDeactivateReply) GetMessageName() string
func (*BfdUDPAuthDeactivateReply) GetMessageType ¶
func (*BfdUDPAuthDeactivateReply) GetMessageType() api.MessageType
func (*BfdUDPAuthDeactivateReply) Reset ¶
func (m *BfdUDPAuthDeactivateReply) Reset()
type BfdUDPDel ¶
type BfdUDPDel struct { SwIfIndex uint32 LocalAddr []byte `struc:"[16]byte"` PeerAddr []byte `struc:"[16]byte"` IsIPv6 uint8 }
BfdUDPDel represents VPP binary API message 'bfd_udp_del'.
func (*BfdUDPDel) GetCrcString ¶
func (*BfdUDPDel) GetMessageName ¶
func (*BfdUDPDel) GetMessageType ¶
func (*BfdUDPDel) GetMessageType() api.MessageType
type BfdUDPDelEchoSource ¶
type BfdUDPDelEchoSource struct{}
BfdUDPDelEchoSource represents VPP binary API message 'bfd_udp_del_echo_source'.
func (*BfdUDPDelEchoSource) GetCrcString ¶
func (*BfdUDPDelEchoSource) GetCrcString() string
func (*BfdUDPDelEchoSource) GetMessageName ¶
func (*BfdUDPDelEchoSource) GetMessageName() string
func (*BfdUDPDelEchoSource) GetMessageType ¶
func (*BfdUDPDelEchoSource) GetMessageType() api.MessageType
func (*BfdUDPDelEchoSource) Reset ¶
func (m *BfdUDPDelEchoSource) Reset()
type BfdUDPDelEchoSourceReply ¶
type BfdUDPDelEchoSourceReply struct {
Retval int32
}
BfdUDPDelEchoSourceReply represents VPP binary API message 'bfd_udp_del_echo_source_reply'.
func (*BfdUDPDelEchoSourceReply) GetCrcString ¶
func (*BfdUDPDelEchoSourceReply) GetCrcString() string
func (*BfdUDPDelEchoSourceReply) GetMessageName ¶
func (*BfdUDPDelEchoSourceReply) GetMessageName() string
func (*BfdUDPDelEchoSourceReply) GetMessageType ¶
func (*BfdUDPDelEchoSourceReply) GetMessageType() api.MessageType
func (*BfdUDPDelEchoSourceReply) Reset ¶
func (m *BfdUDPDelEchoSourceReply) Reset()
type BfdUDPDelReply ¶
type BfdUDPDelReply struct {
Retval int32
}
BfdUDPDelReply represents VPP binary API message 'bfd_udp_del_reply'.
func (*BfdUDPDelReply) GetCrcString ¶
func (*BfdUDPDelReply) GetCrcString() string
func (*BfdUDPDelReply) GetMessageName ¶
func (*BfdUDPDelReply) GetMessageName() string
func (*BfdUDPDelReply) GetMessageType ¶
func (*BfdUDPDelReply) GetMessageType() api.MessageType
func (*BfdUDPDelReply) Reset ¶
func (m *BfdUDPDelReply) Reset()
type BfdUDPGetEchoSource ¶
type BfdUDPGetEchoSource struct{}
BfdUDPGetEchoSource represents VPP binary API message 'bfd_udp_get_echo_source'.
func (*BfdUDPGetEchoSource) GetCrcString ¶
func (*BfdUDPGetEchoSource) GetCrcString() string
func (*BfdUDPGetEchoSource) GetMessageName ¶
func (*BfdUDPGetEchoSource) GetMessageName() string
func (*BfdUDPGetEchoSource) GetMessageType ¶
func (*BfdUDPGetEchoSource) GetMessageType() api.MessageType
func (*BfdUDPGetEchoSource) Reset ¶
func (m *BfdUDPGetEchoSource) Reset()
type BfdUDPGetEchoSourceReply ¶
type BfdUDPGetEchoSourceReply struct { Retval int32 SwIfIndex uint32 IsSet uint8 HaveUsableIP4 uint8 IP4Addr []byte `struc:"[4]byte"` HaveUsableIP6 uint8 IP6Addr []byte `struc:"[16]byte"` }
BfdUDPGetEchoSourceReply represents VPP binary API message 'bfd_udp_get_echo_source_reply'.
func (*BfdUDPGetEchoSourceReply) GetCrcString ¶
func (*BfdUDPGetEchoSourceReply) GetCrcString() string
func (*BfdUDPGetEchoSourceReply) GetMessageName ¶
func (*BfdUDPGetEchoSourceReply) GetMessageName() string
func (*BfdUDPGetEchoSourceReply) GetMessageType ¶
func (*BfdUDPGetEchoSourceReply) GetMessageType() api.MessageType
func (*BfdUDPGetEchoSourceReply) Reset ¶
func (m *BfdUDPGetEchoSourceReply) Reset()
type BfdUDPMod ¶
type BfdUDPMod struct { SwIfIndex uint32 DesiredMinTx uint32 RequiredMinRx uint32 LocalAddr []byte `struc:"[16]byte"` PeerAddr []byte `struc:"[16]byte"` IsIPv6 uint8 DetectMult uint8 }
BfdUDPMod represents VPP binary API message 'bfd_udp_mod'.
func (*BfdUDPMod) GetCrcString ¶
func (*BfdUDPMod) GetMessageName ¶
func (*BfdUDPMod) GetMessageType ¶
func (*BfdUDPMod) GetMessageType() api.MessageType
type BfdUDPModReply ¶
type BfdUDPModReply struct {
Retval int32
}
BfdUDPModReply represents VPP binary API message 'bfd_udp_mod_reply'.
func (*BfdUDPModReply) GetCrcString ¶
func (*BfdUDPModReply) GetCrcString() string
func (*BfdUDPModReply) GetMessageName ¶
func (*BfdUDPModReply) GetMessageName() string
func (*BfdUDPModReply) GetMessageType ¶
func (*BfdUDPModReply) GetMessageType() api.MessageType
func (*BfdUDPModReply) Reset ¶
func (m *BfdUDPModReply) Reset()
type BfdUDPSessionDetails ¶
type BfdUDPSessionDetails struct { SwIfIndex uint32 LocalAddr []byte `struc:"[16]byte"` PeerAddr []byte `struc:"[16]byte"` IsIPv6 uint8 State uint8 IsAuthenticated uint8 BfdKeyID uint8 ConfKeyID uint32 RequiredMinRx uint32 DesiredMinTx uint32 DetectMult uint8 }
BfdUDPSessionDetails represents VPP binary API message 'bfd_udp_session_details'.
func (*BfdUDPSessionDetails) GetCrcString ¶
func (*BfdUDPSessionDetails) GetCrcString() string
func (*BfdUDPSessionDetails) GetMessageName ¶
func (*BfdUDPSessionDetails) GetMessageName() string
func (*BfdUDPSessionDetails) GetMessageType ¶
func (*BfdUDPSessionDetails) GetMessageType() api.MessageType
func (*BfdUDPSessionDetails) Reset ¶
func (m *BfdUDPSessionDetails) Reset()
type BfdUDPSessionDump ¶
type BfdUDPSessionDump struct{}
BfdUDPSessionDump represents VPP binary API message 'bfd_udp_session_dump'.
func (*BfdUDPSessionDump) GetCrcString ¶
func (*BfdUDPSessionDump) GetCrcString() string
func (*BfdUDPSessionDump) GetMessageName ¶
func (*BfdUDPSessionDump) GetMessageName() string
func (*BfdUDPSessionDump) GetMessageType ¶
func (*BfdUDPSessionDump) GetMessageType() api.MessageType
func (*BfdUDPSessionDump) Reset ¶
func (m *BfdUDPSessionDump) Reset()
type BfdUDPSessionSetFlags ¶
type BfdUDPSessionSetFlags struct { SwIfIndex uint32 LocalAddr []byte `struc:"[16]byte"` PeerAddr []byte `struc:"[16]byte"` IsIPv6 uint8 AdminUpDown uint8 }
BfdUDPSessionSetFlags represents VPP binary API message 'bfd_udp_session_set_flags'.
func (*BfdUDPSessionSetFlags) GetCrcString ¶
func (*BfdUDPSessionSetFlags) GetCrcString() string
func (*BfdUDPSessionSetFlags) GetMessageName ¶
func (*BfdUDPSessionSetFlags) GetMessageName() string
func (*BfdUDPSessionSetFlags) GetMessageType ¶
func (*BfdUDPSessionSetFlags) GetMessageType() api.MessageType
func (*BfdUDPSessionSetFlags) Reset ¶
func (m *BfdUDPSessionSetFlags) Reset()
type BfdUDPSessionSetFlagsReply ¶
type BfdUDPSessionSetFlagsReply struct {
Retval int32
}
BfdUDPSessionSetFlagsReply represents VPP binary API message 'bfd_udp_session_set_flags_reply'.
func (*BfdUDPSessionSetFlagsReply) GetCrcString ¶
func (*BfdUDPSessionSetFlagsReply) GetCrcString() string
func (*BfdUDPSessionSetFlagsReply) GetMessageName ¶
func (*BfdUDPSessionSetFlagsReply) GetMessageName() string
func (*BfdUDPSessionSetFlagsReply) GetMessageType ¶
func (*BfdUDPSessionSetFlagsReply) GetMessageType() api.MessageType
func (*BfdUDPSessionSetFlagsReply) Reset ¶
func (m *BfdUDPSessionSetFlagsReply) Reset()
type BfdUDPSetEchoSource ¶
type BfdUDPSetEchoSource struct {
SwIfIndex uint32
}
BfdUDPSetEchoSource represents VPP binary API message 'bfd_udp_set_echo_source'.
func (*BfdUDPSetEchoSource) GetCrcString ¶
func (*BfdUDPSetEchoSource) GetCrcString() string
func (*BfdUDPSetEchoSource) GetMessageName ¶
func (*BfdUDPSetEchoSource) GetMessageName() string
func (*BfdUDPSetEchoSource) GetMessageType ¶
func (*BfdUDPSetEchoSource) GetMessageType() api.MessageType
func (*BfdUDPSetEchoSource) Reset ¶
func (m *BfdUDPSetEchoSource) Reset()
type BfdUDPSetEchoSourceReply ¶
type BfdUDPSetEchoSourceReply struct {
Retval int32
}
BfdUDPSetEchoSourceReply represents VPP binary API message 'bfd_udp_set_echo_source_reply'.
func (*BfdUDPSetEchoSourceReply) GetCrcString ¶
func (*BfdUDPSetEchoSourceReply) GetCrcString() string
func (*BfdUDPSetEchoSourceReply) GetMessageName ¶
func (*BfdUDPSetEchoSourceReply) GetMessageName() string
func (*BfdUDPSetEchoSourceReply) GetMessageType ¶
func (*BfdUDPSetEchoSourceReply) GetMessageType() api.MessageType
func (*BfdUDPSetEchoSourceReply) Reset ¶
func (m *BfdUDPSetEchoSourceReply) Reset()
type RPCService ¶
type RPCService interface { DumpBfdAuthKeys(ctx context.Context, in *BfdAuthKeysDump) (RPCService_DumpBfdAuthKeysClient, error) DumpBfdUDPSession(ctx context.Context, in *BfdUDPSessionDump) (RPCService_DumpBfdUDPSessionClient, error) BfdAuthDelKey(ctx context.Context, in *BfdAuthDelKey) (*BfdAuthDelKeyReply, error) BfdAuthSetKey(ctx context.Context, in *BfdAuthSetKey) (*BfdAuthSetKeyReply, error) BfdUDPAdd(ctx context.Context, in *BfdUDPAdd) (*BfdUDPAddReply, error) BfdUDPAuthActivate(ctx context.Context, in *BfdUDPAuthActivate) (*BfdUDPAuthActivateReply, error) BfdUDPAuthDeactivate(ctx context.Context, in *BfdUDPAuthDeactivate) (*BfdUDPAuthDeactivateReply, error) BfdUDPDel(ctx context.Context, in *BfdUDPDel) (*BfdUDPDelReply, error) BfdUDPDelEchoSource(ctx context.Context, in *BfdUDPDelEchoSource) (*BfdUDPDelEchoSourceReply, error) BfdUDPGetEchoSource(ctx context.Context, in *BfdUDPGetEchoSource) (*BfdUDPGetEchoSourceReply, error) BfdUDPMod(ctx context.Context, in *BfdUDPMod) (*BfdUDPModReply, error) BfdUDPSessionSetFlags(ctx context.Context, in *BfdUDPSessionSetFlags) (*BfdUDPSessionSetFlagsReply, error) BfdUDPSetEchoSource(ctx context.Context, in *BfdUDPSetEchoSource) (*BfdUDPSetEchoSourceReply, error) WantBfdEvents(ctx context.Context, in *WantBfdEvents) (*WantBfdEventsReply, error) }
RPCService represents RPC service API for bfd module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpBfdAuthKeysClient ¶
type RPCService_DumpBfdAuthKeysClient interface {
Recv() (*BfdAuthKeysDetails, error)
}
type RPCService_DumpBfdUDPSessionClient ¶
type RPCService_DumpBfdUDPSessionClient interface {
Recv() (*BfdUDPSessionDetails, error)
}
type WantBfdEvents ¶
WantBfdEvents represents VPP binary API message 'want_bfd_events'.
func (*WantBfdEvents) GetCrcString ¶
func (*WantBfdEvents) GetCrcString() string
func (*WantBfdEvents) GetMessageName ¶
func (*WantBfdEvents) GetMessageName() string
func (*WantBfdEvents) GetMessageType ¶
func (*WantBfdEvents) GetMessageType() api.MessageType
func (*WantBfdEvents) Reset ¶
func (m *WantBfdEvents) Reset()
type WantBfdEventsReply ¶
type WantBfdEventsReply struct {
Retval int32
}
WantBfdEventsReply represents VPP binary API message 'want_bfd_events_reply'.
func (*WantBfdEventsReply) GetCrcString ¶
func (*WantBfdEventsReply) GetCrcString() string
func (*WantBfdEventsReply) GetMessageName ¶
func (*WantBfdEventsReply) GetMessageName() string
func (*WantBfdEventsReply) GetMessageType ¶
func (*WantBfdEventsReply) GetMessageType() api.MessageType
func (*WantBfdEventsReply) Reset ¶
func (m *WantBfdEventsReply) Reset()