Documentation ¶
Overview ¶
Package abf is a generated from VPP binary API module 'abf'. It contains following objects: 5 services 4 types 10 messages
Index ¶
- Variables
- type AbfItfAttach
- type AbfItfAttachAddDel
- type AbfItfAttachAddDelReply
- type AbfItfAttachDetails
- type AbfItfAttachDump
- type AbfPluginGetVersion
- type AbfPluginGetVersionReply
- type AbfPolicy
- type AbfPolicyAddDel
- type AbfPolicyAddDelReply
- type AbfPolicyDetails
- type AbfPolicyDump
- type FibMplsLabel
- type FibPath
- type Services
Constants ¶
This section is empty.
Variables ¶
var Messages = []api.Message{ (*AbfItfAttachAddDel)(nil), (*AbfItfAttachAddDelReply)(nil), (*AbfItfAttachDetails)(nil), (*AbfItfAttachDump)(nil), (*AbfPluginGetVersion)(nil), (*AbfPluginGetVersionReply)(nil), (*AbfPolicyAddDel)(nil), (*AbfPolicyAddDelReply)(nil), (*AbfPolicyDetails)(nil), (*AbfPolicyDump)(nil), }
Functions ¶
This section is empty.
Types ¶
type AbfItfAttach ¶
AbfItfAttach represents VPP binary API type 'abf_itf_attach':
func (*AbfItfAttach) GetCrcString ¶
func (*AbfItfAttach) GetCrcString() string
func (*AbfItfAttach) GetTypeName ¶
func (*AbfItfAttach) GetTypeName() string
type AbfItfAttachAddDel ¶
type AbfItfAttachAddDel struct { IsAdd uint8 Attach AbfItfAttach }
AbfItfAttachAddDel represents VPP binary API message 'abf_itf_attach_add_del':
func (*AbfItfAttachAddDel) GetCrcString ¶
func (*AbfItfAttachAddDel) GetCrcString() string
func (*AbfItfAttachAddDel) GetMessageName ¶
func (*AbfItfAttachAddDel) GetMessageName() string
func (*AbfItfAttachAddDel) GetMessageType ¶
func (*AbfItfAttachAddDel) GetMessageType() api.MessageType
type AbfItfAttachAddDelReply ¶
type AbfItfAttachAddDelReply struct {
Retval int32
}
AbfItfAttachAddDelReply represents VPP binary API message 'abf_itf_attach_add_del_reply':
func (*AbfItfAttachAddDelReply) GetCrcString ¶
func (*AbfItfAttachAddDelReply) GetCrcString() string
func (*AbfItfAttachAddDelReply) GetMessageName ¶
func (*AbfItfAttachAddDelReply) GetMessageName() string
func (*AbfItfAttachAddDelReply) GetMessageType ¶
func (*AbfItfAttachAddDelReply) GetMessageType() api.MessageType
type AbfItfAttachDetails ¶
type AbfItfAttachDetails struct {
Attach AbfItfAttach
}
AbfItfAttachDetails represents VPP binary API message 'abf_itf_attach_details':
func (*AbfItfAttachDetails) GetCrcString ¶
func (*AbfItfAttachDetails) GetCrcString() string
func (*AbfItfAttachDetails) GetMessageName ¶
func (*AbfItfAttachDetails) GetMessageName() string
func (*AbfItfAttachDetails) GetMessageType ¶
func (*AbfItfAttachDetails) GetMessageType() api.MessageType
type AbfItfAttachDump ¶
type AbfItfAttachDump struct{}
AbfItfAttachDump represents VPP binary API message 'abf_itf_attach_dump':
func (*AbfItfAttachDump) GetCrcString ¶
func (*AbfItfAttachDump) GetCrcString() string
func (*AbfItfAttachDump) GetMessageName ¶
func (*AbfItfAttachDump) GetMessageName() string
func (*AbfItfAttachDump) GetMessageType ¶
func (*AbfItfAttachDump) GetMessageType() api.MessageType
type AbfPluginGetVersion ¶
type AbfPluginGetVersion struct{}
AbfPluginGetVersion represents VPP binary API message 'abf_plugin_get_version':
func (*AbfPluginGetVersion) GetCrcString ¶
func (*AbfPluginGetVersion) GetCrcString() string
func (*AbfPluginGetVersion) GetMessageName ¶
func (*AbfPluginGetVersion) GetMessageName() string
func (*AbfPluginGetVersion) GetMessageType ¶
func (*AbfPluginGetVersion) GetMessageType() api.MessageType
type AbfPluginGetVersionReply ¶
AbfPluginGetVersionReply represents VPP binary API message 'abf_plugin_get_version_reply':
func (*AbfPluginGetVersionReply) GetCrcString ¶
func (*AbfPluginGetVersionReply) GetCrcString() string
func (*AbfPluginGetVersionReply) GetMessageName ¶
func (*AbfPluginGetVersionReply) GetMessageName() string
func (*AbfPluginGetVersionReply) GetMessageType ¶
func (*AbfPluginGetVersionReply) GetMessageType() api.MessageType
type AbfPolicy ¶
type AbfPolicy struct { PolicyID uint32 ACLIndex uint32 NPaths uint8 `struc:"sizeof=Paths"` Paths []FibPath }
AbfPolicy represents VPP binary API type 'abf_policy':
func (*AbfPolicy) GetCrcString ¶
func (*AbfPolicy) GetTypeName ¶
type AbfPolicyAddDel ¶
AbfPolicyAddDel represents VPP binary API message 'abf_policy_add_del':
func (*AbfPolicyAddDel) GetCrcString ¶
func (*AbfPolicyAddDel) GetCrcString() string
func (*AbfPolicyAddDel) GetMessageName ¶
func (*AbfPolicyAddDel) GetMessageName() string
func (*AbfPolicyAddDel) GetMessageType ¶
func (*AbfPolicyAddDel) GetMessageType() api.MessageType
type AbfPolicyAddDelReply ¶
type AbfPolicyAddDelReply struct {
Retval int32
}
AbfPolicyAddDelReply represents VPP binary API message 'abf_policy_add_del_reply':
func (*AbfPolicyAddDelReply) GetCrcString ¶
func (*AbfPolicyAddDelReply) GetCrcString() string
func (*AbfPolicyAddDelReply) GetMessageName ¶
func (*AbfPolicyAddDelReply) GetMessageName() string
func (*AbfPolicyAddDelReply) GetMessageType ¶
func (*AbfPolicyAddDelReply) GetMessageType() api.MessageType
type AbfPolicyDetails ¶
type AbfPolicyDetails struct {
Policy AbfPolicy
}
AbfPolicyDetails represents VPP binary API message 'abf_policy_details':
func (*AbfPolicyDetails) GetCrcString ¶
func (*AbfPolicyDetails) GetCrcString() string
func (*AbfPolicyDetails) GetMessageName ¶
func (*AbfPolicyDetails) GetMessageName() string
func (*AbfPolicyDetails) GetMessageType ¶
func (*AbfPolicyDetails) GetMessageType() api.MessageType
type AbfPolicyDump ¶
type AbfPolicyDump struct{}
AbfPolicyDump represents VPP binary API message 'abf_policy_dump':
func (*AbfPolicyDump) GetCrcString ¶
func (*AbfPolicyDump) GetCrcString() string
func (*AbfPolicyDump) GetMessageName ¶
func (*AbfPolicyDump) GetMessageName() string
func (*AbfPolicyDump) GetMessageType ¶
func (*AbfPolicyDump) GetMessageType() api.MessageType
type FibMplsLabel ¶
FibMplsLabel represents VPP binary API type 'fib_mpls_label':
func (*FibMplsLabel) GetCrcString ¶
func (*FibMplsLabel) GetCrcString() string
func (*FibMplsLabel) GetTypeName ¶
func (*FibMplsLabel) GetTypeName() string
type FibPath ¶
type FibPath struct { SwIfIndex uint32 TableID uint32 Weight uint8 Preference uint8 IsLocal uint8 IsDrop uint8 IsUDPEncap uint8 IsUnreach uint8 IsProhibit uint8 IsResolveHost uint8 IsResolveAttached uint8 IsDvr uint8 IsSourceLookup uint8 IsInterfaceRx uint8 Afi uint8 NextHop []byte `struc:"[16]byte"` NextHopID uint32 RpfID uint32 ViaLabel uint32 NLabels uint8 `struc:"sizeof=LabelStack"` // MANUALLY FIXED LabelStack []FibMplsLabel }
FibPath represents VPP binary API type 'fib_path':
func (*FibPath) GetCrcString ¶
func (*FibPath) GetTypeName ¶
type Services ¶
type Services interface { DumpAbfItfAttach(*AbfItfAttachDump) ([]*AbfItfAttachDetails, error) DumpAbfPolicy(*AbfPolicyDump) ([]*AbfPolicyDetails, error) AbfItfAttachAddDel(*AbfItfAttachAddDel) (*AbfItfAttachAddDelReply, error) AbfPluginGetVersion(*AbfPluginGetVersion) (*AbfPluginGetVersionReply, error) AbfPolicyAddDel(*AbfPolicyAddDel) (*AbfPolicyAddDelReply, error) }
Services represents VPP binary API services: