Documentation ¶
Overview ¶
Package bfd is a generated VPP binary API for 'bfd' module.
It consists of:
11 enums 6 aliases 6 types 1 union 28 messages 14 services
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type BfdAuthDelKey
- type BfdAuthDelKeyReply
- type BfdAuthKeysDetails
- type BfdAuthKeysDump
- type BfdAuthSetKey
- type BfdAuthSetKeyReply
- type BfdState
- 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 IP4Address
- type IP4AddressWithPrefix
- type IP4Prefix
- type IP6Address
- type IP6AddressWithPrefix
- type IP6Prefix
- type IPDscp
- type IPEcn
- type IPProto
- type IfStatusFlags
- type IfType
- type InterfaceIndex
- type LinkDuplex
- type Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type RPCService
- type RPCService_DumpBfdAuthKeysClient
- type RPCService_DumpBfdUDPSessionClient
- type RxMode
- type SubIfFlags
- type WantBfdEvents
- type WantBfdEventsReply
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "bfd" // VersionCrc is the CRC of this module. VersionCrc = 0xfd792c8c )
Variables ¶
var AddressFamily_name = map[uint32]string{
0: "ADDRESS_IP4",
1: "ADDRESS_IP6",
}
var AddressFamily_value = map[string]uint32{
"ADDRESS_IP4": 0,
"ADDRESS_IP6": 1,
}
var BfdState_name = map[uint32]string{
0: "BFD_STATE_API_ADMIN_DOWN",
1: "BFD_STATE_API_DOWN",
2: "BFD_STATE_API_INIT",
3: "BFD_STATE_API_UP",
}
var BfdState_value = map[string]uint32{
"BFD_STATE_API_ADMIN_DOWN": 0,
"BFD_STATE_API_DOWN": 1,
"BFD_STATE_API_INIT": 2,
"BFD_STATE_API_UP": 3,
}
var IPDscp_name = map[uint8]string{
0: "IP_API_DSCP_CS0",
8: "IP_API_DSCP_CS1",
10: "IP_API_DSCP_AF11",
12: "IP_API_DSCP_AF12",
14: "IP_API_DSCP_AF13",
16: "IP_API_DSCP_CS2",
18: "IP_API_DSCP_AF21",
20: "IP_API_DSCP_AF22",
22: "IP_API_DSCP_AF23",
24: "IP_API_DSCP_CS3",
26: "IP_API_DSCP_AF31",
28: "IP_API_DSCP_AF32",
30: "IP_API_DSCP_AF33",
32: "IP_API_DSCP_CS4",
34: "IP_API_DSCP_AF41",
36: "IP_API_DSCP_AF42",
38: "IP_API_DSCP_AF43",
40: "IP_API_DSCP_CS5",
46: "IP_API_DSCP_EF",
48: "IP_API_DSCP_CS6",
50: "IP_API_DSCP_CS7",
}
var IPDscp_value = map[string]uint8{
"IP_API_DSCP_CS0": 0,
"IP_API_DSCP_CS1": 8,
"IP_API_DSCP_AF11": 10,
"IP_API_DSCP_AF12": 12,
"IP_API_DSCP_AF13": 14,
"IP_API_DSCP_CS2": 16,
"IP_API_DSCP_AF21": 18,
"IP_API_DSCP_AF22": 20,
"IP_API_DSCP_AF23": 22,
"IP_API_DSCP_CS3": 24,
"IP_API_DSCP_AF31": 26,
"IP_API_DSCP_AF32": 28,
"IP_API_DSCP_AF33": 30,
"IP_API_DSCP_CS4": 32,
"IP_API_DSCP_AF41": 34,
"IP_API_DSCP_AF42": 36,
"IP_API_DSCP_AF43": 38,
"IP_API_DSCP_CS5": 40,
"IP_API_DSCP_EF": 46,
"IP_API_DSCP_CS6": 48,
"IP_API_DSCP_CS7": 50,
}
var IPEcn_name = map[uint8]string{
0: "IP_API_ECN_NONE",
1: "IP_API_ECN_ECT0",
2: "IP_API_ECN_ECT1",
3: "IP_API_ECN_CE",
}
var IPEcn_value = map[string]uint8{
"IP_API_ECN_NONE": 0,
"IP_API_ECN_ECT0": 1,
"IP_API_ECN_ECT1": 2,
"IP_API_ECN_CE": 3,
}
var IPProto_name = map[uint32]string{
0: "IP_API_PROTO_HOPOPT",
1: "IP_API_PROTO_ICMP",
2: "IP_API_PROTO_IGMP",
6: "IP_API_PROTO_TCP",
17: "IP_API_PROTO_UDP",
47: "IP_API_PROTO_GRE",
50: "IP_API_PROTO_AH",
51: "IP_API_PROTO_ESP",
88: "IP_API_PROTO_EIGRP",
89: "IP_API_PROTO_OSPF",
132: "IP_API_PROTO_SCTP",
255: "IP_API_PROTO_RESERVED",
}
var IPProto_value = map[string]uint32{
"IP_API_PROTO_HOPOPT": 0,
"IP_API_PROTO_ICMP": 1,
"IP_API_PROTO_IGMP": 2,
"IP_API_PROTO_TCP": 6,
"IP_API_PROTO_UDP": 17,
"IP_API_PROTO_GRE": 47,
"IP_API_PROTO_AH": 50,
"IP_API_PROTO_ESP": 51,
"IP_API_PROTO_EIGRP": 88,
"IP_API_PROTO_OSPF": 89,
"IP_API_PROTO_SCTP": 132,
"IP_API_PROTO_RESERVED": 255,
}
var IfStatusFlags_name = map[uint32]string{
1: "IF_STATUS_API_FLAG_ADMIN_UP",
2: "IF_STATUS_API_FLAG_LINK_UP",
}
var IfStatusFlags_value = map[string]uint32{
"IF_STATUS_API_FLAG_ADMIN_UP": 1,
"IF_STATUS_API_FLAG_LINK_UP": 2,
}
var IfType_name = map[uint32]string{
1: "IF_API_TYPE_HARDWARE",
2: "IF_API_TYPE_SUB",
3: "IF_API_TYPE_P2P",
4: "IF_API_TYPE_PIPE",
}
var IfType_value = map[string]uint32{
"IF_API_TYPE_HARDWARE": 1,
"IF_API_TYPE_SUB": 2,
"IF_API_TYPE_P2P": 3,
"IF_API_TYPE_PIPE": 4,
}
var LinkDuplex_name = map[uint32]string{
0: "LINK_DUPLEX_API_UNKNOWN",
1: "LINK_DUPLEX_API_HALF",
2: "LINK_DUPLEX_API_FULL",
}
var LinkDuplex_value = map[string]uint32{
"LINK_DUPLEX_API_UNKNOWN": 0,
"LINK_DUPLEX_API_HALF": 1,
"LINK_DUPLEX_API_FULL": 2,
}
var MtuProto_name = map[uint32]string{
1: "MTU_PROTO_API_L3",
2: "MTU_PROTO_API_IP4",
3: "MTU_PROTO_API_IP6",
4: "MTU_PROTO_API_MPLS",
5: "MTU_PROTO_API_N",
}
var MtuProto_value = map[string]uint32{
"MTU_PROTO_API_L3": 1,
"MTU_PROTO_API_IP4": 2,
"MTU_PROTO_API_IP6": 3,
"MTU_PROTO_API_MPLS": 4,
"MTU_PROTO_API_N": 5,
}
var RxMode_name = map[uint32]string{
0: "RX_MODE_API_UNKNOWN",
1: "RX_MODE_API_POLLING",
2: "RX_MODE_API_INTERRUPT",
3: "RX_MODE_API_ADAPTIVE",
4: "RX_MODE_API_DEFAULT",
}
var RxMode_value = map[string]uint32{
"RX_MODE_API_UNKNOWN": 0,
"RX_MODE_API_POLLING": 1,
"RX_MODE_API_INTERRUPT": 2,
"RX_MODE_API_ADAPTIVE": 3,
"RX_MODE_API_DEFAULT": 4,
}
var SubIfFlags_name = map[uint32]string{
1: "SUB_IF_API_FLAG_NO_TAGS",
2: "SUB_IF_API_FLAG_ONE_TAG",
4: "SUB_IF_API_FLAG_TWO_TAGS",
8: "SUB_IF_API_FLAG_DOT1AD",
16: "SUB_IF_API_FLAG_EXACT_MATCH",
32: "SUB_IF_API_FLAG_DEFAULT",
64: "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
254: "SUB_IF_API_FLAG_MASK_VNET",
256: "SUB_IF_API_FLAG_DOT1AH",
}
var SubIfFlags_value = map[string]uint32{
"SUB_IF_API_FLAG_NO_TAGS": 1,
"SUB_IF_API_FLAG_ONE_TAG": 2,
"SUB_IF_API_FLAG_TWO_TAGS": 4,
"SUB_IF_API_FLAG_DOT1AD": 8,
"SUB_IF_API_FLAG_EXACT_MATCH": 16,
"SUB_IF_API_FLAG_DEFAULT": 32,
"SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64,
"SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128,
"SUB_IF_API_FLAG_MASK_VNET": 254,
"SUB_IF_API_FLAG_DOT1AH": 256,
}
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type Address ¶
type Address struct { Af AddressFamily Un AddressUnion }
Address represents VPP binary API type 'address'.
func (*Address) GetTypeName ¶
type AddressFamily ¶
type AddressFamily uint32
AddressFamily represents VPP binary API enum 'address_family'.
const ( ADDRESS_IP4 AddressFamily = 0 ADDRESS_IP6 AddressFamily = 1 )
func (AddressFamily) String ¶
func (x AddressFamily) String() string
type AddressUnion ¶
type AddressUnion struct {
XXX_UnionData [16]byte
}
AddressUnion represents VPP binary API union 'address_union'.
func AddressUnionIP4 ¶
func AddressUnionIP4(a IP4Address) (u AddressUnion)
func AddressUnionIP6 ¶
func AddressUnionIP6(a IP6Address) (u AddressUnion)
func (*AddressUnion) GetIP4 ¶
func (u *AddressUnion) GetIP4() (a IP4Address)
func (*AddressUnion) GetIP6 ¶
func (u *AddressUnion) GetIP6() (a IP6Address)
func (*AddressUnion) GetTypeName ¶
func (*AddressUnion) GetTypeName() string
func (*AddressUnion) SetIP4 ¶
func (u *AddressUnion) SetIP4(a IP4Address)
func (*AddressUnion) SetIP6 ¶
func (u *AddressUnion) SetIP6(a IP6Address)
type AddressWithPrefix ¶
type AddressWithPrefix Prefix
AddressWithPrefix represents VPP binary API alias 'address_with_prefix'.
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 InterfaceIndex DesiredMinTx uint32 RequiredMinRx uint32 LocalAddr Address PeerAddr Address DetectMult uint8 IsAuthenticated bool 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 InterfaceIndex LocalAddr Address PeerAddr Address IsDelayed bool 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 InterfaceIndex LocalAddr Address PeerAddr Address IsDelayed bool }
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 InterfaceIndex LocalAddr Address PeerAddr Address }
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 InterfaceIndex IsSet bool HaveUsableIP4 bool IP4Addr IP4Address HaveUsableIP6 bool IP6Addr IP6Address }
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 InterfaceIndex DesiredMinTx uint32 RequiredMinRx uint32 LocalAddr Address PeerAddr Address 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 InterfaceIndex LocalAddr Address PeerAddr Address State BfdState IsAuthenticated bool 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 InterfaceIndex LocalAddr Address PeerAddr Address Flags IfStatusFlags }
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 InterfaceIndex
}
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 IP4Address ¶
type IP4Address [4]uint8
IP4Address represents VPP binary API alias 'ip4_address'.
type IP4AddressWithPrefix ¶
type IP4AddressWithPrefix IP4Prefix
IP4AddressWithPrefix represents VPP binary API alias 'ip4_address_with_prefix'.
type IP4Prefix ¶
type IP4Prefix struct { Address IP4Address Len uint8 }
IP4Prefix represents VPP binary API type 'ip4_prefix'.
func (*IP4Prefix) GetTypeName ¶
type IP6Address ¶
type IP6Address [16]uint8
IP6Address represents VPP binary API alias 'ip6_address'.
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix IP6Prefix
IP6AddressWithPrefix represents VPP binary API alias 'ip6_address_with_prefix'.
type IP6Prefix ¶
type IP6Prefix struct { Address IP6Address Len uint8 }
IP6Prefix represents VPP binary API type 'ip6_prefix'.
func (*IP6Prefix) GetTypeName ¶
type IPDscp ¶
type IPDscp uint8
IPDscp represents VPP binary API enum 'ip_dscp'.
const ( IP_API_DSCP_CS0 IPDscp = 0 IP_API_DSCP_CS1 IPDscp = 8 IP_API_DSCP_AF11 IPDscp = 10 IP_API_DSCP_AF12 IPDscp = 12 IP_API_DSCP_AF13 IPDscp = 14 IP_API_DSCP_CS2 IPDscp = 16 IP_API_DSCP_AF21 IPDscp = 18 IP_API_DSCP_AF22 IPDscp = 20 IP_API_DSCP_AF23 IPDscp = 22 IP_API_DSCP_CS3 IPDscp = 24 IP_API_DSCP_AF31 IPDscp = 26 IP_API_DSCP_AF32 IPDscp = 28 IP_API_DSCP_AF33 IPDscp = 30 IP_API_DSCP_CS4 IPDscp = 32 IP_API_DSCP_AF41 IPDscp = 34 IP_API_DSCP_AF42 IPDscp = 36 IP_API_DSCP_AF43 IPDscp = 38 IP_API_DSCP_CS5 IPDscp = 40 IP_API_DSCP_EF IPDscp = 46 IP_API_DSCP_CS6 IPDscp = 48 IP_API_DSCP_CS7 IPDscp = 50 )
type IPProto ¶
type IPProto uint32
IPProto represents VPP binary API enum 'ip_proto'.
const ( IP_API_PROTO_HOPOPT IPProto = 0 IP_API_PROTO_ICMP IPProto = 1 IP_API_PROTO_IGMP IPProto = 2 IP_API_PROTO_TCP IPProto = 6 IP_API_PROTO_UDP IPProto = 17 IP_API_PROTO_GRE IPProto = 47 IP_API_PROTO_AH IPProto = 50 IP_API_PROTO_ESP IPProto = 51 IP_API_PROTO_EIGRP IPProto = 88 IP_API_PROTO_OSPF IPProto = 89 IP_API_PROTO_SCTP IPProto = 132 IP_API_PROTO_RESERVED IPProto = 255 )
type IfStatusFlags ¶
type IfStatusFlags uint32
IfStatusFlags represents VPP binary API enum 'if_status_flags'.
const ( IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1 IF_STATUS_API_FLAG_LINK_UP IfStatusFlags = 2 )
func (IfStatusFlags) String ¶
func (x IfStatusFlags) String() string
type InterfaceIndex ¶
type InterfaceIndex uint32
InterfaceIndex represents VPP binary API alias 'interface_index'.
type LinkDuplex ¶
type LinkDuplex uint32
LinkDuplex represents VPP binary API enum 'link_duplex'.
const ( LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0 LINK_DUPLEX_API_HALF LinkDuplex = 1 LINK_DUPLEX_API_FULL LinkDuplex = 2 )
func (LinkDuplex) String ¶
func (x LinkDuplex) String() string
type Mprefix ¶
type Mprefix struct { Af AddressFamily GrpAddressLength uint16 GrpAddress AddressUnion SrcAddress AddressUnion }
Mprefix represents VPP binary API type 'mprefix'.
func (*Mprefix) GetTypeName ¶
type PrefixMatcher ¶
PrefixMatcher represents VPP binary API type 'prefix_matcher'.
func (*PrefixMatcher) GetTypeName ¶
func (*PrefixMatcher) GetTypeName() string
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 SubIfFlags ¶
type SubIfFlags uint32
SubIfFlags represents VPP binary API enum 'sub_if_flags'.
const ( SUB_IF_API_FLAG_NO_TAGS SubIfFlags = 1 SUB_IF_API_FLAG_ONE_TAG SubIfFlags = 2 SUB_IF_API_FLAG_TWO_TAGS SubIfFlags = 4 SUB_IF_API_FLAG_DOT1AD SubIfFlags = 8 SUB_IF_API_FLAG_EXACT_MATCH SubIfFlags = 16 SUB_IF_API_FLAG_DEFAULT SubIfFlags = 32 SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64 SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128 SUB_IF_API_FLAG_MASK_VNET SubIfFlags = 254 SUB_IF_API_FLAG_DOT1AH SubIfFlags = 256 )
func (SubIfFlags) String ¶
func (x SubIfFlags) String() string
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()