Documentation
¶
Overview ¶
Package bfd contains generated bindings for API file bfd.api.
Contents:
6 aliases 11 enums 6 structs 1 union 28 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type BfdAuthDelKey
- 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
- 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
- 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
- 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
- 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
- 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
- type BfdUDPAdd
- type BfdUDPAddReply
- 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
- 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
- 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
- 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
- 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
- type BfdUDPDelEchoSource
- 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
- 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
- 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
- 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
- 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
- type BfdUDPModReply
- 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
- 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
- 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 BfdUDPSessionSetFlags
- 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
- 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
- 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
- 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 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_BfdAuthKeysDumpClient
- type RPCService_BfdUDPSessionDumpClient
- type RxMode
- type SubIfFlags
- type WantBfdEvents
- 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
- 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
Constants ¶
const ( APIFile = "bfd" APIVersion = "2.0.0" VersionCrc = 0xfd792c8c )
Variables ¶
var ( AddressFamily_name = map[uint32]string{ 0: "ADDRESS_IP4", 1: "ADDRESS_IP6", } 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", } 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 ( IfStatusFlags_name = map[uint32]string{ 1: "IF_STATUS_API_FLAG_ADMIN_UP", 2: "IF_STATUS_API_FLAG_LINK_UP", } 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", } 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 ( 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", } 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", } 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", } 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 ( LinkDuplex_name = map[uint32]string{ 0: "LINK_DUPLEX_API_UNKNOWN", 1: "LINK_DUPLEX_API_HALF", 2: "LINK_DUPLEX_API_FULL", } 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", } 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", } 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", } 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 `binapi:"address_family,name=af" json:"af,omitempty"` Un AddressUnion `binapi:"address_union,name=un" json:"un,omitempty"` }
Address defines type 'address'.
func ParseAddress ¶
func (*Address) MarshalText ¶
func (*Address) UnmarshalText ¶
type AddressFamily ¶
type AddressFamily uint32
AddressFamily defines 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 { // IP4 *IP4Address // IP6 *IP6Address XXX_UnionData [16]byte }
AddressUnion defines 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) SetIP4 ¶
func (u *AddressUnion) SetIP4(a IP4Address)
func (*AddressUnion) SetIP6 ¶
func (u *AddressUnion) SetIP6(a IP6Address)
type AddressWithPrefix ¶
type AddressWithPrefix Prefix
AddressWithPrefix defines alias 'address_with_prefix'.
func ParseAddressWithPrefix ¶
func ParseAddressWithPrefix(s string) (AddressWithPrefix, error)
func (*AddressWithPrefix) MarshalText ¶
func (x *AddressWithPrefix) MarshalText() ([]byte, error)
func (AddressWithPrefix) String ¶
func (x AddressWithPrefix) String() string
func (*AddressWithPrefix) UnmarshalText ¶
func (x *AddressWithPrefix) UnmarshalText(text []byte) error
type BfdAuthDelKey ¶
type BfdAuthDelKey struct {
ConfKeyID uint32 `binapi:"u32,name=conf_key_id" json:"conf_key_id,omitempty"`
}
BfdAuthDelKey defines 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()
func (*BfdAuthDelKey) Size ¶
func (m *BfdAuthDelKey) Size() (size int)
func (*BfdAuthDelKey) Unmarshal ¶
func (m *BfdAuthDelKey) Unmarshal(b []byte) error
type BfdAuthDelKeyReply ¶
type BfdAuthDelKeyReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdAuthDelKeyReply defines 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()
func (*BfdAuthDelKeyReply) Size ¶
func (m *BfdAuthDelKeyReply) Size() (size int)
func (*BfdAuthDelKeyReply) Unmarshal ¶
func (m *BfdAuthDelKeyReply) Unmarshal(b []byte) error
type BfdAuthKeysDetails ¶
type BfdAuthKeysDetails struct { ConfKeyID uint32 `binapi:"u32,name=conf_key_id" json:"conf_key_id,omitempty"` UseCount uint32 `binapi:"u32,name=use_count" json:"use_count,omitempty"` AuthType uint8 `binapi:"u8,name=auth_type" json:"auth_type,omitempty"` }
BfdAuthKeysDetails defines 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()
func (*BfdAuthKeysDetails) Size ¶
func (m *BfdAuthKeysDetails) Size() (size int)
func (*BfdAuthKeysDetails) Unmarshal ¶
func (m *BfdAuthKeysDetails) Unmarshal(b []byte) error
type BfdAuthKeysDump ¶
type BfdAuthKeysDump struct{}
BfdAuthKeysDump defines 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()
func (*BfdAuthKeysDump) Size ¶
func (m *BfdAuthKeysDump) Size() (size int)
func (*BfdAuthKeysDump) Unmarshal ¶
func (m *BfdAuthKeysDump) Unmarshal(b []byte) error
type BfdAuthSetKey ¶
type BfdAuthSetKey struct { ConfKeyID uint32 `binapi:"u32,name=conf_key_id" json:"conf_key_id,omitempty"` KeyLen uint8 `binapi:"u8,name=key_len" json:"key_len,omitempty"` AuthType uint8 `binapi:"u8,name=auth_type" json:"auth_type,omitempty"` Key []byte `binapi:"u8[20],name=key" json:"key,omitempty"` }
BfdAuthSetKey defines 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()
func (*BfdAuthSetKey) Size ¶
func (m *BfdAuthSetKey) Size() (size int)
func (*BfdAuthSetKey) Unmarshal ¶
func (m *BfdAuthSetKey) Unmarshal(b []byte) error
type BfdAuthSetKeyReply ¶
type BfdAuthSetKeyReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdAuthSetKeyReply defines 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()
func (*BfdAuthSetKeyReply) Size ¶
func (m *BfdAuthSetKeyReply) Size() (size int)
func (*BfdAuthSetKeyReply) Unmarshal ¶
func (m *BfdAuthSetKeyReply) Unmarshal(b []byte) error
type BfdUDPAdd ¶
type BfdUDPAdd struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` DesiredMinTx uint32 `binapi:"u32,name=desired_min_tx" json:"desired_min_tx,omitempty"` RequiredMinRx uint32 `binapi:"u32,name=required_min_rx" json:"required_min_rx,omitempty"` LocalAddr Address `binapi:"address,name=local_addr" json:"local_addr,omitempty"` PeerAddr Address `binapi:"address,name=peer_addr" json:"peer_addr,omitempty"` DetectMult uint8 `binapi:"u8,name=detect_mult" json:"detect_mult,omitempty"` IsAuthenticated bool `binapi:"bool,name=is_authenticated" json:"is_authenticated,omitempty"` BfdKeyID uint8 `binapi:"u8,name=bfd_key_id" json:"bfd_key_id,omitempty"` ConfKeyID uint32 `binapi:"u32,name=conf_key_id" json:"conf_key_id,omitempty"` }
BfdUDPAdd defines 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 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPAddReply defines 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()
func (*BfdUDPAddReply) Size ¶
func (m *BfdUDPAddReply) Size() (size int)
func (*BfdUDPAddReply) Unmarshal ¶
func (m *BfdUDPAddReply) Unmarshal(b []byte) error
type BfdUDPAuthActivate ¶
type BfdUDPAuthActivate struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` LocalAddr Address `binapi:"address,name=local_addr" json:"local_addr,omitempty"` PeerAddr Address `binapi:"address,name=peer_addr" json:"peer_addr,omitempty"` IsDelayed bool `binapi:"bool,name=is_delayed" json:"is_delayed,omitempty"` BfdKeyID uint8 `binapi:"u8,name=bfd_key_id" json:"bfd_key_id,omitempty"` ConfKeyID uint32 `binapi:"u32,name=conf_key_id" json:"conf_key_id,omitempty"` }
BfdUDPAuthActivate defines 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()
func (*BfdUDPAuthActivate) Size ¶
func (m *BfdUDPAuthActivate) Size() (size int)
func (*BfdUDPAuthActivate) Unmarshal ¶
func (m *BfdUDPAuthActivate) Unmarshal(b []byte) error
type BfdUDPAuthActivateReply ¶
type BfdUDPAuthActivateReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPAuthActivateReply defines 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) Marshal ¶
func (m *BfdUDPAuthActivateReply) Marshal(b []byte) ([]byte, error)
func (*BfdUDPAuthActivateReply) Reset ¶
func (m *BfdUDPAuthActivateReply) Reset()
func (*BfdUDPAuthActivateReply) Size ¶
func (m *BfdUDPAuthActivateReply) Size() (size int)
func (*BfdUDPAuthActivateReply) Unmarshal ¶
func (m *BfdUDPAuthActivateReply) Unmarshal(b []byte) error
type BfdUDPAuthDeactivate ¶
type BfdUDPAuthDeactivate struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` LocalAddr Address `binapi:"address,name=local_addr" json:"local_addr,omitempty"` PeerAddr Address `binapi:"address,name=peer_addr" json:"peer_addr,omitempty"` IsDelayed bool `binapi:"bool,name=is_delayed" json:"is_delayed,omitempty"` }
BfdUDPAuthDeactivate defines 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) Marshal ¶
func (m *BfdUDPAuthDeactivate) Marshal(b []byte) ([]byte, error)
func (*BfdUDPAuthDeactivate) Reset ¶
func (m *BfdUDPAuthDeactivate) Reset()
func (*BfdUDPAuthDeactivate) Size ¶
func (m *BfdUDPAuthDeactivate) Size() (size int)
func (*BfdUDPAuthDeactivate) Unmarshal ¶
func (m *BfdUDPAuthDeactivate) Unmarshal(b []byte) error
type BfdUDPAuthDeactivateReply ¶
type BfdUDPAuthDeactivateReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPAuthDeactivateReply defines 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) Marshal ¶
func (m *BfdUDPAuthDeactivateReply) Marshal(b []byte) ([]byte, error)
func (*BfdUDPAuthDeactivateReply) Reset ¶
func (m *BfdUDPAuthDeactivateReply) Reset()
func (*BfdUDPAuthDeactivateReply) Size ¶
func (m *BfdUDPAuthDeactivateReply) Size() (size int)
func (*BfdUDPAuthDeactivateReply) Unmarshal ¶
func (m *BfdUDPAuthDeactivateReply) Unmarshal(b []byte) error
type BfdUDPDel ¶
type BfdUDPDel struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` LocalAddr Address `binapi:"address,name=local_addr" json:"local_addr,omitempty"` PeerAddr Address `binapi:"address,name=peer_addr" json:"peer_addr,omitempty"` }
BfdUDPDel defines message 'bfd_udp_del'.
func (*BfdUDPDel) GetCrcString ¶
func (*BfdUDPDel) GetMessageName ¶
func (*BfdUDPDel) GetMessageType ¶
func (*BfdUDPDel) GetMessageType() api.MessageType
type BfdUDPDelEchoSource ¶
type BfdUDPDelEchoSource struct{}
BfdUDPDelEchoSource defines 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) Marshal ¶
func (m *BfdUDPDelEchoSource) Marshal(b []byte) ([]byte, error)
func (*BfdUDPDelEchoSource) Reset ¶
func (m *BfdUDPDelEchoSource) Reset()
func (*BfdUDPDelEchoSource) Size ¶
func (m *BfdUDPDelEchoSource) Size() (size int)
func (*BfdUDPDelEchoSource) Unmarshal ¶
func (m *BfdUDPDelEchoSource) Unmarshal(b []byte) error
type BfdUDPDelEchoSourceReply ¶
type BfdUDPDelEchoSourceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPDelEchoSourceReply defines 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) Marshal ¶
func (m *BfdUDPDelEchoSourceReply) Marshal(b []byte) ([]byte, error)
func (*BfdUDPDelEchoSourceReply) Reset ¶
func (m *BfdUDPDelEchoSourceReply) Reset()
func (*BfdUDPDelEchoSourceReply) Size ¶
func (m *BfdUDPDelEchoSourceReply) Size() (size int)
func (*BfdUDPDelEchoSourceReply) Unmarshal ¶
func (m *BfdUDPDelEchoSourceReply) Unmarshal(b []byte) error
type BfdUDPDelReply ¶
type BfdUDPDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPDelReply defines 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()
func (*BfdUDPDelReply) Size ¶
func (m *BfdUDPDelReply) Size() (size int)
func (*BfdUDPDelReply) Unmarshal ¶
func (m *BfdUDPDelReply) Unmarshal(b []byte) error
type BfdUDPGetEchoSource ¶
type BfdUDPGetEchoSource struct{}
BfdUDPGetEchoSource defines 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) Marshal ¶
func (m *BfdUDPGetEchoSource) Marshal(b []byte) ([]byte, error)
func (*BfdUDPGetEchoSource) Reset ¶
func (m *BfdUDPGetEchoSource) Reset()
func (*BfdUDPGetEchoSource) Size ¶
func (m *BfdUDPGetEchoSource) Size() (size int)
func (*BfdUDPGetEchoSource) Unmarshal ¶
func (m *BfdUDPGetEchoSource) Unmarshal(b []byte) error
type BfdUDPGetEchoSourceReply ¶
type BfdUDPGetEchoSourceReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IsSet bool `binapi:"bool,name=is_set" json:"is_set,omitempty"` HaveUsableIP4 bool `binapi:"bool,name=have_usable_ip4" json:"have_usable_ip4,omitempty"` IP4Addr IP4Address `binapi:"ip4_address,name=ip4_addr" json:"ip4_addr,omitempty"` HaveUsableIP6 bool `binapi:"bool,name=have_usable_ip6" json:"have_usable_ip6,omitempty"` IP6Addr IP6Address `binapi:"ip6_address,name=ip6_addr" json:"ip6_addr,omitempty"` }
BfdUDPGetEchoSourceReply defines 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) Marshal ¶
func (m *BfdUDPGetEchoSourceReply) Marshal(b []byte) ([]byte, error)
func (*BfdUDPGetEchoSourceReply) Reset ¶
func (m *BfdUDPGetEchoSourceReply) Reset()
func (*BfdUDPGetEchoSourceReply) Size ¶
func (m *BfdUDPGetEchoSourceReply) Size() (size int)
func (*BfdUDPGetEchoSourceReply) Unmarshal ¶
func (m *BfdUDPGetEchoSourceReply) Unmarshal(b []byte) error
type BfdUDPMod ¶
type BfdUDPMod struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` DesiredMinTx uint32 `binapi:"u32,name=desired_min_tx" json:"desired_min_tx,omitempty"` RequiredMinRx uint32 `binapi:"u32,name=required_min_rx" json:"required_min_rx,omitempty"` LocalAddr Address `binapi:"address,name=local_addr" json:"local_addr,omitempty"` PeerAddr Address `binapi:"address,name=peer_addr" json:"peer_addr,omitempty"` DetectMult uint8 `binapi:"u8,name=detect_mult" json:"detect_mult,omitempty"` }
BfdUDPMod defines 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 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPModReply defines 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()
func (*BfdUDPModReply) Size ¶
func (m *BfdUDPModReply) Size() (size int)
func (*BfdUDPModReply) Unmarshal ¶
func (m *BfdUDPModReply) Unmarshal(b []byte) error
type BfdUDPSessionDetails ¶
type BfdUDPSessionDetails struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` LocalAddr Address `binapi:"address,name=local_addr" json:"local_addr,omitempty"` PeerAddr Address `binapi:"address,name=peer_addr" json:"peer_addr,omitempty"` State BfdState `binapi:"bfd_state,name=state" json:"state,omitempty"` IsAuthenticated bool `binapi:"bool,name=is_authenticated" json:"is_authenticated,omitempty"` BfdKeyID uint8 `binapi:"u8,name=bfd_key_id" json:"bfd_key_id,omitempty"` ConfKeyID uint32 `binapi:"u32,name=conf_key_id" json:"conf_key_id,omitempty"` RequiredMinRx uint32 `binapi:"u32,name=required_min_rx" json:"required_min_rx,omitempty"` DesiredMinTx uint32 `binapi:"u32,name=desired_min_tx" json:"desired_min_tx,omitempty"` DetectMult uint8 `binapi:"u8,name=detect_mult" json:"detect_mult,omitempty"` }
BfdUDPSessionDetails defines 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) Marshal ¶
func (m *BfdUDPSessionDetails) Marshal(b []byte) ([]byte, error)
func (*BfdUDPSessionDetails) Reset ¶
func (m *BfdUDPSessionDetails) Reset()
func (*BfdUDPSessionDetails) Size ¶
func (m *BfdUDPSessionDetails) Size() (size int)
func (*BfdUDPSessionDetails) Unmarshal ¶
func (m *BfdUDPSessionDetails) Unmarshal(b []byte) error
type BfdUDPSessionDump ¶
type BfdUDPSessionDump struct{}
BfdUDPSessionDump defines 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()
func (*BfdUDPSessionDump) Size ¶
func (m *BfdUDPSessionDump) Size() (size int)
func (*BfdUDPSessionDump) Unmarshal ¶
func (m *BfdUDPSessionDump) Unmarshal(b []byte) error
type BfdUDPSessionSetFlags ¶
type BfdUDPSessionSetFlags struct { SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` LocalAddr Address `binapi:"address,name=local_addr" json:"local_addr,omitempty"` PeerAddr Address `binapi:"address,name=peer_addr" json:"peer_addr,omitempty"` Flags IfStatusFlags `binapi:"if_status_flags,name=flags" json:"flags,omitempty"` }
BfdUDPSessionSetFlags defines 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) Marshal ¶
func (m *BfdUDPSessionSetFlags) Marshal(b []byte) ([]byte, error)
func (*BfdUDPSessionSetFlags) Reset ¶
func (m *BfdUDPSessionSetFlags) Reset()
func (*BfdUDPSessionSetFlags) Size ¶
func (m *BfdUDPSessionSetFlags) Size() (size int)
func (*BfdUDPSessionSetFlags) Unmarshal ¶
func (m *BfdUDPSessionSetFlags) Unmarshal(b []byte) error
type BfdUDPSessionSetFlagsReply ¶
type BfdUDPSessionSetFlagsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPSessionSetFlagsReply defines 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) Marshal ¶
func (m *BfdUDPSessionSetFlagsReply) Marshal(b []byte) ([]byte, error)
func (*BfdUDPSessionSetFlagsReply) Reset ¶
func (m *BfdUDPSessionSetFlagsReply) Reset()
func (*BfdUDPSessionSetFlagsReply) Size ¶
func (m *BfdUDPSessionSetFlagsReply) Size() (size int)
func (*BfdUDPSessionSetFlagsReply) Unmarshal ¶
func (m *BfdUDPSessionSetFlagsReply) Unmarshal(b []byte) error
type BfdUDPSetEchoSource ¶
type BfdUDPSetEchoSource struct {
SwIfIndex InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
BfdUDPSetEchoSource defines 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) Marshal ¶
func (m *BfdUDPSetEchoSource) Marshal(b []byte) ([]byte, error)
func (*BfdUDPSetEchoSource) Reset ¶
func (m *BfdUDPSetEchoSource) Reset()
func (*BfdUDPSetEchoSource) Size ¶
func (m *BfdUDPSetEchoSource) Size() (size int)
func (*BfdUDPSetEchoSource) Unmarshal ¶
func (m *BfdUDPSetEchoSource) Unmarshal(b []byte) error
type BfdUDPSetEchoSourceReply ¶
type BfdUDPSetEchoSourceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BfdUDPSetEchoSourceReply defines 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) Marshal ¶
func (m *BfdUDPSetEchoSourceReply) Marshal(b []byte) ([]byte, error)
func (*BfdUDPSetEchoSourceReply) Reset ¶
func (m *BfdUDPSetEchoSourceReply) Reset()
func (*BfdUDPSetEchoSourceReply) Size ¶
func (m *BfdUDPSetEchoSourceReply) Size() (size int)
func (*BfdUDPSetEchoSourceReply) Unmarshal ¶
func (m *BfdUDPSetEchoSourceReply) Unmarshal(b []byte) error
type IP4Address ¶
type IP4Address [4]uint8
IP4Address defines alias 'ip4_address'.
func ParseIP4Address ¶
func ParseIP4Address(s string) (IP4Address, error)
func (*IP4Address) MarshalText ¶
func (x *IP4Address) MarshalText() ([]byte, error)
func (IP4Address) String ¶
func (x IP4Address) String() string
func (IP4Address) ToIP ¶
func (x IP4Address) ToIP() net.IP
func (*IP4Address) UnmarshalText ¶
func (x *IP4Address) UnmarshalText(text []byte) error
type IP4AddressWithPrefix ¶
type IP4AddressWithPrefix IP4Prefix
IP4AddressWithPrefix defines alias 'ip4_address_with_prefix'.
type IP4Prefix ¶
type IP4Prefix struct { Address IP4Address `binapi:"ip4_address,name=address" json:"address,omitempty"` Len uint8 `binapi:"u8,name=len" json:"len,omitempty"` }
IP4Prefix defines type 'ip4_prefix'.
func ParseIP4Prefix ¶
func (*IP4Prefix) MarshalText ¶
func (*IP4Prefix) UnmarshalText ¶
type IP6Address ¶
type IP6Address [16]uint8
IP6Address defines alias 'ip6_address'.
func ParseIP6Address ¶
func ParseIP6Address(s string) (IP6Address, error)
func (*IP6Address) MarshalText ¶
func (x *IP6Address) MarshalText() ([]byte, error)
func (IP6Address) String ¶
func (x IP6Address) String() string
func (IP6Address) ToIP ¶
func (x IP6Address) ToIP() net.IP
func (*IP6Address) UnmarshalText ¶
func (x *IP6Address) UnmarshalText(text []byte) error
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix IP6Prefix
IP6AddressWithPrefix defines alias 'ip6_address_with_prefix'.
type IP6Prefix ¶
type IP6Prefix struct { Address IP6Address `binapi:"ip6_address,name=address" json:"address,omitempty"` Len uint8 `binapi:"u8,name=len" json:"len,omitempty"` }
IP6Prefix defines type 'ip6_prefix'.
func ParseIP6Prefix ¶
func (*IP6Prefix) MarshalText ¶
func (*IP6Prefix) UnmarshalText ¶
type IPDscp ¶
type IPDscp uint8
IPDscp defines 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 defines 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 defines 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 LinkDuplex ¶
type LinkDuplex uint32
LinkDuplex defines 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 `binapi:"address_family,name=af" json:"af,omitempty"` GrpAddressLength uint16 `binapi:"u16,name=grp_address_length" json:"grp_address_length,omitempty"` GrpAddress AddressUnion `binapi:"address_union,name=grp_address" json:"grp_address,omitempty"` SrcAddress AddressUnion `binapi:"address_union,name=src_address" json:"src_address,omitempty"` }
Mprefix defines type 'mprefix'.
type Prefix ¶
type Prefix struct { Address Address `binapi:"address,name=address" json:"address,omitempty"` Len uint8 `binapi:"u8,name=len" json:"len,omitempty"` }
Prefix defines type 'prefix'.
func ParsePrefix ¶
func (*Prefix) MarshalText ¶
func (*Prefix) UnmarshalText ¶
type PrefixMatcher ¶
type PrefixMatcher struct { Le uint8 `binapi:"u8,name=le" json:"le,omitempty"` Ge uint8 `binapi:"u8,name=ge" json:"ge,omitempty"` }
PrefixMatcher defines type 'prefix_matcher'.
type RPCService ¶
type RPCService interface { BfdAuthDelKey(ctx context.Context, in *BfdAuthDelKey) (*BfdAuthDelKeyReply, error) BfdAuthKeysDump(ctx context.Context, in *BfdAuthKeysDump) (RPCService_BfdAuthKeysDumpClient, 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) BfdUDPSessionDump(ctx context.Context, in *BfdUDPSessionDump) (RPCService_BfdUDPSessionDumpClient, 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 defines RPC service bfd.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_BfdAuthKeysDumpClient ¶
type RPCService_BfdAuthKeysDumpClient interface { Recv() (*BfdAuthKeysDetails, error) api.Stream }
type RPCService_BfdUDPSessionDumpClient ¶
type RPCService_BfdUDPSessionDumpClient interface { Recv() (*BfdUDPSessionDetails, error) api.Stream }
type SubIfFlags ¶
type SubIfFlags uint32
SubIfFlags defines 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 ¶
type WantBfdEvents struct { EnableDisable bool `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
WantBfdEvents defines 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()
func (*WantBfdEvents) Size ¶
func (m *WantBfdEvents) Size() (size int)
func (*WantBfdEvents) Unmarshal ¶
func (m *WantBfdEvents) Unmarshal(b []byte) error
type WantBfdEventsReply ¶
type WantBfdEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantBfdEventsReply defines 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()
func (*WantBfdEventsReply) Size ¶
func (m *WantBfdEventsReply) Size() (size int)
func (*WantBfdEventsReply) Unmarshal ¶
func (m *WantBfdEventsReply) Unmarshal(b []byte) error