abf

package
v2.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package abf is a generated VPP binary API for 'abf' module.

It consists of:

 4 types
10 messages
 5 services

Index

Constants

View Source
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

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AbfItfAttach

type AbfItfAttach struct {
	PolicyID  uint32
	SwIfIndex uint32
	Priority  uint32
	IsIPv6    uint8
}

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

type AbfPluginGetVersionReply struct {
	Major uint32
	Minor uint32
}

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) GetCrcString() string

func (*AbfPolicy) GetTypeName

func (*AbfPolicy) GetTypeName() string

type AbfPolicyAddDel

type AbfPolicyAddDel struct {
	IsAdd  uint8
	Policy AbfPolicy
}

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

type FibMplsLabel struct {
	IsUniform uint8
	Label     uint32
	TTL       uint8
	Exp       uint8
}

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) GetCrcString() string

func (*FibPath) GetTypeName

func (*FibPath) GetTypeName() string

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL