Documentation ¶
Overview ¶
Package abf is a generated VPP binary API for 'abf' module.
It consists of:
13 enums 6 aliases 11 types 1 union 10 messages 5 services
Index ¶
- Constants
- func AllMessages() []api.Message
- 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 Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type FibMplsLabel
- type FibPath
- type FibPathFlags
- type FibPathNh
- type FibPathNhProto
- type FibPathType
- 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_DumpAbfItfAttachClient
- type RPCService_DumpAbfPolicyClient
- type RxMode
- type SubIfFlags
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "abf" // VersionCrc is the CRC of this module. VersionCrc = 0xc2e5c644 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AbfItfAttach ¶
type AbfItfAttach struct { PolicyID uint32 SwIfIndex InterfaceIndex Priority uint32 IsIPv6 bool }
AbfItfAttach represents VPP binary API type 'abf_itf_attach'.
func (*AbfItfAttach) GetTypeName ¶
func (*AbfItfAttach) GetTypeName() string
type AbfItfAttachAddDel ¶
type AbfItfAttachAddDel struct { IsAdd bool 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
func (*AbfItfAttachAddDel) Reset ¶
func (m *AbfItfAttachAddDel) Reset()
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
func (*AbfItfAttachAddDelReply) Reset ¶
func (m *AbfItfAttachAddDelReply) Reset()
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
func (*AbfItfAttachDetails) Reset ¶
func (m *AbfItfAttachDetails) Reset()
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
func (*AbfItfAttachDump) Reset ¶
func (m *AbfItfAttachDump) Reset()
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
func (*AbfPluginGetVersion) Reset ¶
func (m *AbfPluginGetVersion) Reset()
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
func (*AbfPluginGetVersionReply) Reset ¶
func (m *AbfPluginGetVersionReply) Reset()
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) 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
func (*AbfPolicyAddDel) Reset ¶
func (m *AbfPolicyAddDel) Reset()
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
func (*AbfPolicyAddDelReply) Reset ¶
func (m *AbfPolicyAddDelReply) Reset()
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
func (*AbfPolicyDetails) Reset ¶
func (m *AbfPolicyDetails) Reset()
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
func (*AbfPolicyDump) Reset ¶
func (m *AbfPolicyDump) Reset()
type AddressFamily ¶
type AddressFamily = ip_types.AddressFamily
type AddressUnion ¶
type AddressUnion = ip_types.AddressUnion
type AddressWithPrefix ¶
type AddressWithPrefix = ip_types.AddressWithPrefix
type FibMplsLabel ¶
type FibMplsLabel = fib_types.FibMplsLabel
type FibPathFlags ¶
type FibPathFlags = fib_types.FibPathFlags
type FibPathNhProto ¶
type FibPathNhProto = fib_types.FibPathNhProto
type FibPathType ¶
type FibPathType = fib_types.FibPathType
type IP4Address ¶
type IP4Address = ip_types.IP4Address
type IP4AddressWithPrefix ¶
type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix
type IP6Address ¶
type IP6Address = ip_types.IP6Address
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix
type IfStatusFlags ¶
type IfStatusFlags = interface_types.IfStatusFlags
type IfType ¶
type IfType = interface_types.IfType
type InterfaceIndex ¶
type InterfaceIndex = interface_types.InterfaceIndex
type LinkDuplex ¶
type LinkDuplex = interface_types.LinkDuplex
type MtuProto ¶
type MtuProto = interface_types.MtuProto
type PrefixMatcher ¶
type PrefixMatcher = ip_types.PrefixMatcher
type RPCService ¶
type RPCService interface { DumpAbfItfAttach(ctx context.Context, in *AbfItfAttachDump) (RPCService_DumpAbfItfAttachClient, error) DumpAbfPolicy(ctx context.Context, in *AbfPolicyDump) (RPCService_DumpAbfPolicyClient, error) AbfItfAttachAddDel(ctx context.Context, in *AbfItfAttachAddDel) (*AbfItfAttachAddDelReply, error) AbfPluginGetVersion(ctx context.Context, in *AbfPluginGetVersion) (*AbfPluginGetVersionReply, error) AbfPolicyAddDel(ctx context.Context, in *AbfPolicyAddDel) (*AbfPolicyAddDelReply, error) }
RPCService represents RPC service API for abf module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpAbfItfAttachClient ¶
type RPCService_DumpAbfItfAttachClient interface {
Recv() (*AbfItfAttachDetails, error)
}
type RPCService_DumpAbfPolicyClient ¶
type RPCService_DumpAbfPolicyClient interface {
Recv() (*AbfPolicyDetails, error)
}
type RxMode ¶
type RxMode = interface_types.RxMode
type SubIfFlags ¶
type SubIfFlags = interface_types.SubIfFlags