abf

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

 It contains following objects:
	  5 services
	  4 types
	 10 messages

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

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 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:

Jump to

Keyboard shortcuts

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