Documentation ¶
Overview ¶
Package abf is a generated VPP binary API for 'abf' module.
It consists of:
4 types 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 FibMplsLabel
- type FibPath
- type RPCService
- type RPCService_DumpAbfItfAttachClient
- type RPCService_DumpAbfPolicyClient
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "abf" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x3abf2f80 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
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
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) 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
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 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 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)
}