l2

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Overview

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

 It contains following objects:
	 23 services
	  3 enums
	  3 aliases
	  7 types
	  1 union
	 47 messages

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Address added in v1.8.1

type Address struct {
	Af AddressFamily
	Un AddressUnion
}

Address represents VPP binary API type 'address':

func (*Address) GetCrcString added in v1.8.1

func (*Address) GetCrcString() string

func (*Address) GetTypeName added in v1.8.1

func (*Address) GetTypeName() string

type AddressFamily added in v1.8.1

type AddressFamily uint32

AddressFamily represents VPP binary API enum 'address_family':

const (
	ADDRESS_IP4 AddressFamily = 0
	ADDRESS_IP6 AddressFamily = 1
)

type AddressUnion added in v1.8.1

type AddressUnion struct {
	Union_data [16]byte
}

AddressUnion represents VPP binary API union 'address_union':

func AddressUnionIP4 added in v1.8.1

func AddressUnionIP4(a IP4Address) (u AddressUnion)

func AddressUnionIP6 added in v1.8.1

func AddressUnionIP6(a IP6Address) (u AddressUnion)

func (*AddressUnion) GetCrcString added in v1.8.1

func (*AddressUnion) GetCrcString() string

func (*AddressUnion) GetIP4 added in v1.8.1

func (u *AddressUnion) GetIP4() (a IP4Address)

func (*AddressUnion) GetIP6 added in v1.8.1

func (u *AddressUnion) GetIP6() (a IP6Address)

func (*AddressUnion) GetTypeName added in v1.8.1

func (*AddressUnion) GetTypeName() string

func (*AddressUnion) SetIP4 added in v1.8.1

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6 added in v1.8.1

func (u *AddressUnion) SetIP6(a IP6Address)

type BdFlags added in v1.8.1

type BdFlags uint32

BdFlags represents VPP binary API enum 'bd_flags':

const (
	BRIDGE_API_FLAG_LEARN    BdFlags = 1
	BRIDGE_API_FLAG_FWD      BdFlags = 2
	BRIDGE_API_FLAG_FLOOD    BdFlags = 4
	BRIDGE_API_FLAG_UU_FLOOD BdFlags = 8
	BRIDGE_API_FLAG_ARP_TERM BdFlags = 16
)

type BdIPMacAddDel

type BdIPMacAddDel struct {
	BdID  uint32
	IsAdd uint8
	IP    Address
	Mac   MacAddress
}

BdIPMacAddDel represents VPP binary API message 'bd_ip_mac_add_del':

func (*BdIPMacAddDel) GetCrcString

func (*BdIPMacAddDel) GetCrcString() string

func (*BdIPMacAddDel) GetMessageName

func (*BdIPMacAddDel) GetMessageName() string

func (*BdIPMacAddDel) GetMessageType

func (*BdIPMacAddDel) GetMessageType() api.MessageType

type BdIPMacAddDelReply

type BdIPMacAddDelReply struct {
	Retval int32
}

BdIPMacAddDelReply represents VPP binary API message 'bd_ip_mac_add_del_reply':

func (*BdIPMacAddDelReply) GetCrcString

func (*BdIPMacAddDelReply) GetCrcString() string

func (*BdIPMacAddDelReply) GetMessageName

func (*BdIPMacAddDelReply) GetMessageName() string

func (*BdIPMacAddDelReply) GetMessageType

func (*BdIPMacAddDelReply) GetMessageType() api.MessageType

type BdIPMacDetails added in v1.8.1

type BdIPMacDetails struct {
	BdID       uint32
	IsIPv6     uint8
	IPAddress  []byte `struc:"[16]byte"`
	MacAddress MacAddress
}

BdIPMacDetails represents VPP binary API message 'bd_ip_mac_details':

func (*BdIPMacDetails) GetCrcString added in v1.8.1

func (*BdIPMacDetails) GetCrcString() string

func (*BdIPMacDetails) GetMessageName added in v1.8.1

func (*BdIPMacDetails) GetMessageName() string

func (*BdIPMacDetails) GetMessageType added in v1.8.1

func (*BdIPMacDetails) GetMessageType() api.MessageType

type BdIPMacDump added in v1.8.1

type BdIPMacDump struct {
	BdID uint32
}

BdIPMacDump represents VPP binary API message 'bd_ip_mac_dump':

func (*BdIPMacDump) GetCrcString added in v1.8.1

func (*BdIPMacDump) GetCrcString() string

func (*BdIPMacDump) GetMessageName added in v1.8.1

func (*BdIPMacDump) GetMessageName() string

func (*BdIPMacDump) GetMessageType added in v1.8.1

func (*BdIPMacDump) GetMessageType() api.MessageType

type BdIPMacFlush added in v1.8.1

type BdIPMacFlush struct {
	BdID uint32
}

BdIPMacFlush represents VPP binary API message 'bd_ip_mac_flush':

func (*BdIPMacFlush) GetCrcString added in v1.8.1

func (*BdIPMacFlush) GetCrcString() string

func (*BdIPMacFlush) GetMessageName added in v1.8.1

func (*BdIPMacFlush) GetMessageName() string

func (*BdIPMacFlush) GetMessageType added in v1.8.1

func (*BdIPMacFlush) GetMessageType() api.MessageType

type BdIPMacFlushReply added in v1.8.1

type BdIPMacFlushReply struct {
	Retval int32
}

BdIPMacFlushReply represents VPP binary API message 'bd_ip_mac_flush_reply':

func (*BdIPMacFlushReply) GetCrcString added in v1.8.1

func (*BdIPMacFlushReply) GetCrcString() string

func (*BdIPMacFlushReply) GetMessageName added in v1.8.1

func (*BdIPMacFlushReply) GetMessageName() string

func (*BdIPMacFlushReply) GetMessageType added in v1.8.1

func (*BdIPMacFlushReply) GetMessageType() api.MessageType

type BridgeDomainAddDel

type BridgeDomainAddDel struct {
	BdID    uint32
	Flood   uint8
	UuFlood uint8
	Forward uint8
	Learn   uint8
	ArpTerm uint8
	MacAge  uint8
	BdTag   []byte `struc:"[64]byte"`
	IsAdd   uint8
}

BridgeDomainAddDel represents VPP binary API message 'bridge_domain_add_del':

func (*BridgeDomainAddDel) GetCrcString

func (*BridgeDomainAddDel) GetCrcString() string

func (*BridgeDomainAddDel) GetMessageName

func (*BridgeDomainAddDel) GetMessageName() string

func (*BridgeDomainAddDel) GetMessageType

func (*BridgeDomainAddDel) GetMessageType() api.MessageType

type BridgeDomainAddDelReply

type BridgeDomainAddDelReply struct {
	Retval int32
}

BridgeDomainAddDelReply represents VPP binary API message 'bridge_domain_add_del_reply':

func (*BridgeDomainAddDelReply) GetCrcString

func (*BridgeDomainAddDelReply) GetCrcString() string

func (*BridgeDomainAddDelReply) GetMessageName

func (*BridgeDomainAddDelReply) GetMessageName() string

func (*BridgeDomainAddDelReply) GetMessageType

func (*BridgeDomainAddDelReply) GetMessageType() api.MessageType

type BridgeDomainDetails

type BridgeDomainDetails struct {
	BdID           uint32
	Flood          uint8
	UuFlood        uint8
	Forward        uint8
	Learn          uint8
	ArpTerm        uint8
	MacAge         uint8
	BdTag          []byte `struc:"[64]byte"`
	BviSwIfIndex   uint32
	UuFwdSwIfIndex uint32
	NSwIfs         uint32 `struc:"sizeof=SwIfDetails"`
	SwIfDetails    []BridgeDomainSwIf
}

BridgeDomainDetails represents VPP binary API message 'bridge_domain_details':

func (*BridgeDomainDetails) GetCrcString

func (*BridgeDomainDetails) GetCrcString() string

func (*BridgeDomainDetails) GetMessageName

func (*BridgeDomainDetails) GetMessageName() string

func (*BridgeDomainDetails) GetMessageType

func (*BridgeDomainDetails) GetMessageType() api.MessageType

type BridgeDomainDump

type BridgeDomainDump struct {
	BdID uint32
}

BridgeDomainDump represents VPP binary API message 'bridge_domain_dump':

func (*BridgeDomainDump) GetCrcString

func (*BridgeDomainDump) GetCrcString() string

func (*BridgeDomainDump) GetMessageName

func (*BridgeDomainDump) GetMessageName() string

func (*BridgeDomainDump) GetMessageType

func (*BridgeDomainDump) GetMessageType() api.MessageType

type BridgeDomainSetMacAge

type BridgeDomainSetMacAge struct {
	BdID   uint32
	MacAge uint8
}

BridgeDomainSetMacAge represents VPP binary API message 'bridge_domain_set_mac_age':

func (*BridgeDomainSetMacAge) GetCrcString

func (*BridgeDomainSetMacAge) GetCrcString() string

func (*BridgeDomainSetMacAge) GetMessageName

func (*BridgeDomainSetMacAge) GetMessageName() string

func (*BridgeDomainSetMacAge) GetMessageType

func (*BridgeDomainSetMacAge) GetMessageType() api.MessageType

type BridgeDomainSetMacAgeReply

type BridgeDomainSetMacAgeReply struct {
	Retval int32
}

BridgeDomainSetMacAgeReply represents VPP binary API message 'bridge_domain_set_mac_age_reply':

func (*BridgeDomainSetMacAgeReply) GetCrcString

func (*BridgeDomainSetMacAgeReply) GetCrcString() string

func (*BridgeDomainSetMacAgeReply) GetMessageName

func (*BridgeDomainSetMacAgeReply) GetMessageName() string

func (*BridgeDomainSetMacAgeReply) GetMessageType

func (*BridgeDomainSetMacAgeReply) GetMessageType() api.MessageType

type BridgeDomainSwIf

type BridgeDomainSwIf struct {
	Context   uint32
	SwIfIndex uint32
	Shg       uint8
}

BridgeDomainSwIf represents VPP binary API type 'bridge_domain_sw_if':

func (*BridgeDomainSwIf) GetCrcString

func (*BridgeDomainSwIf) GetCrcString() string

func (*BridgeDomainSwIf) GetTypeName

func (*BridgeDomainSwIf) GetTypeName() string

type BridgeFlags

type BridgeFlags struct {
	BdID  uint32
	IsSet uint8
	Flags BdFlags
}

BridgeFlags represents VPP binary API message 'bridge_flags':

func (*BridgeFlags) GetCrcString

func (*BridgeFlags) GetCrcString() string

func (*BridgeFlags) GetMessageName

func (*BridgeFlags) GetMessageName() string

func (*BridgeFlags) GetMessageType

func (*BridgeFlags) GetMessageType() api.MessageType

type BridgeFlagsReply

type BridgeFlagsReply struct {
	Retval                 int32
	ResultingFeatureBitmap uint32
}

BridgeFlagsReply represents VPP binary API message 'bridge_flags_reply':

func (*BridgeFlagsReply) GetCrcString

func (*BridgeFlagsReply) GetCrcString() string

func (*BridgeFlagsReply) GetMessageName

func (*BridgeFlagsReply) GetMessageName() string

func (*BridgeFlagsReply) GetMessageType

func (*BridgeFlagsReply) GetMessageType() api.MessageType

type IP4Address added in v1.8.1

type IP4Address [4]uint8

IP4Address represents VPP binary API alias 'ip4_address':

type IP4Prefix added in v1.8.1

type IP4Prefix struct {
	Prefix IP4Address
	Len    uint8
}

IP4Prefix represents VPP binary API type 'ip4_prefix':

func (*IP4Prefix) GetCrcString added in v1.8.1

func (*IP4Prefix) GetCrcString() string

func (*IP4Prefix) GetTypeName added in v1.8.1

func (*IP4Prefix) GetTypeName() string

type IP6Address added in v1.8.1

type IP6Address [16]uint8

IP6Address represents VPP binary API alias 'ip6_address':

type IP6Prefix added in v1.8.1

type IP6Prefix struct {
	Prefix IP6Address
	Len    uint8
}

IP6Prefix represents VPP binary API type 'ip6_prefix':

func (*IP6Prefix) GetCrcString added in v1.8.1

func (*IP6Prefix) GetCrcString() string

func (*IP6Prefix) GetTypeName added in v1.8.1

func (*IP6Prefix) GetTypeName() string

type L2FibClearTable

type L2FibClearTable struct{}

L2FibClearTable represents VPP binary API message 'l2_fib_clear_table':

func (*L2FibClearTable) GetCrcString

func (*L2FibClearTable) GetCrcString() string

func (*L2FibClearTable) GetMessageName

func (*L2FibClearTable) GetMessageName() string

func (*L2FibClearTable) GetMessageType

func (*L2FibClearTable) GetMessageType() api.MessageType

type L2FibClearTableReply

type L2FibClearTableReply struct {
	Retval int32
}

L2FibClearTableReply represents VPP binary API message 'l2_fib_clear_table_reply':

func (*L2FibClearTableReply) GetCrcString

func (*L2FibClearTableReply) GetCrcString() string

func (*L2FibClearTableReply) GetMessageName

func (*L2FibClearTableReply) GetMessageName() string

func (*L2FibClearTableReply) GetMessageType

func (*L2FibClearTableReply) GetMessageType() api.MessageType

type L2FibTableDetails

type L2FibTableDetails struct {
	BdID      uint32
	Mac       []byte `struc:"[6]byte"`
	SwIfIndex uint32
	StaticMac uint8
	FilterMac uint8
	BviMac    uint8
}

L2FibTableDetails represents VPP binary API message 'l2_fib_table_details':

func (*L2FibTableDetails) GetCrcString

func (*L2FibTableDetails) GetCrcString() string

func (*L2FibTableDetails) GetMessageName

func (*L2FibTableDetails) GetMessageName() string

func (*L2FibTableDetails) GetMessageType

func (*L2FibTableDetails) GetMessageType() api.MessageType

type L2FibTableDump

type L2FibTableDump struct {
	BdID uint32
}

L2FibTableDump represents VPP binary API message 'l2_fib_table_dump':

func (*L2FibTableDump) GetCrcString

func (*L2FibTableDump) GetCrcString() string

func (*L2FibTableDump) GetMessageName

func (*L2FibTableDump) GetMessageName() string

func (*L2FibTableDump) GetMessageType

func (*L2FibTableDump) GetMessageType() api.MessageType

type L2Flags

type L2Flags struct {
	SwIfIndex     uint32
	IsSet         uint8
	FeatureBitmap uint32
}

L2Flags represents VPP binary API message 'l2_flags':

func (*L2Flags) GetCrcString

func (*L2Flags) GetCrcString() string

func (*L2Flags) GetMessageName

func (*L2Flags) GetMessageName() string

func (*L2Flags) GetMessageType

func (*L2Flags) GetMessageType() api.MessageType

type L2FlagsReply

type L2FlagsReply struct {
	Retval                 int32
	ResultingFeatureBitmap uint32
}

L2FlagsReply represents VPP binary API message 'l2_flags_reply':

func (*L2FlagsReply) GetCrcString

func (*L2FlagsReply) GetCrcString() string

func (*L2FlagsReply) GetMessageName

func (*L2FlagsReply) GetMessageName() string

func (*L2FlagsReply) GetMessageType

func (*L2FlagsReply) GetMessageType() api.MessageType

type L2InterfaceEfpFilter

type L2InterfaceEfpFilter struct {
	SwIfIndex     uint32
	EnableDisable uint8
}

L2InterfaceEfpFilter represents VPP binary API message 'l2_interface_efp_filter':

func (*L2InterfaceEfpFilter) GetCrcString

func (*L2InterfaceEfpFilter) GetCrcString() string

func (*L2InterfaceEfpFilter) GetMessageName

func (*L2InterfaceEfpFilter) GetMessageName() string

func (*L2InterfaceEfpFilter) GetMessageType

func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType

type L2InterfaceEfpFilterReply

type L2InterfaceEfpFilterReply struct {
	Retval int32
}

L2InterfaceEfpFilterReply represents VPP binary API message 'l2_interface_efp_filter_reply':

func (*L2InterfaceEfpFilterReply) GetCrcString

func (*L2InterfaceEfpFilterReply) GetCrcString() string

func (*L2InterfaceEfpFilterReply) GetMessageName

func (*L2InterfaceEfpFilterReply) GetMessageName() string

func (*L2InterfaceEfpFilterReply) GetMessageType

func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType

type L2InterfacePbbTagRewrite

type L2InterfacePbbTagRewrite struct {
	SwIfIndex uint32
	VtrOp     uint32
	OuterTag  uint16
	BDmac     []byte `struc:"[6]byte"`
	BSmac     []byte `struc:"[6]byte"`
	BVlanid   uint16
	ISid      uint32
}

L2InterfacePbbTagRewrite represents VPP binary API message 'l2_interface_pbb_tag_rewrite':

func (*L2InterfacePbbTagRewrite) GetCrcString

func (*L2InterfacePbbTagRewrite) GetCrcString() string

func (*L2InterfacePbbTagRewrite) GetMessageName

func (*L2InterfacePbbTagRewrite) GetMessageName() string

func (*L2InterfacePbbTagRewrite) GetMessageType

func (*L2InterfacePbbTagRewrite) GetMessageType() api.MessageType

type L2InterfacePbbTagRewriteReply

type L2InterfacePbbTagRewriteReply struct {
	Retval int32
}

L2InterfacePbbTagRewriteReply represents VPP binary API message 'l2_interface_pbb_tag_rewrite_reply':

func (*L2InterfacePbbTagRewriteReply) GetCrcString

func (*L2InterfacePbbTagRewriteReply) GetCrcString() string

func (*L2InterfacePbbTagRewriteReply) GetMessageName

func (*L2InterfacePbbTagRewriteReply) GetMessageName() string

func (*L2InterfacePbbTagRewriteReply) GetMessageType

func (*L2InterfacePbbTagRewriteReply) GetMessageType() api.MessageType

type L2InterfaceVlanTagRewrite

type L2InterfaceVlanTagRewrite struct {
	SwIfIndex uint32
	VtrOp     uint32
	PushDot1q uint32
	Tag1      uint32
	Tag2      uint32
}

L2InterfaceVlanTagRewrite represents VPP binary API message 'l2_interface_vlan_tag_rewrite':

func (*L2InterfaceVlanTagRewrite) GetCrcString

func (*L2InterfaceVlanTagRewrite) GetCrcString() string

func (*L2InterfaceVlanTagRewrite) GetMessageName

func (*L2InterfaceVlanTagRewrite) GetMessageName() string

func (*L2InterfaceVlanTagRewrite) GetMessageType

func (*L2InterfaceVlanTagRewrite) GetMessageType() api.MessageType

type L2InterfaceVlanTagRewriteReply

type L2InterfaceVlanTagRewriteReply struct {
	Retval int32
}

L2InterfaceVlanTagRewriteReply represents VPP binary API message 'l2_interface_vlan_tag_rewrite_reply':

func (*L2InterfaceVlanTagRewriteReply) GetCrcString

func (*L2InterfaceVlanTagRewriteReply) GetCrcString() string

func (*L2InterfaceVlanTagRewriteReply) GetMessageName

func (*L2InterfaceVlanTagRewriteReply) GetMessageName() string

func (*L2InterfaceVlanTagRewriteReply) GetMessageType

type L2MacsEvent

type L2MacsEvent struct {
	PID   uint32
	NMacs uint32 `struc:"sizeof=Mac"`
	Mac   []MacEntry
}

L2MacsEvent represents VPP binary API message 'l2_macs_event':

func (*L2MacsEvent) GetCrcString

func (*L2MacsEvent) GetCrcString() string

func (*L2MacsEvent) GetMessageName

func (*L2MacsEvent) GetMessageName() string

func (*L2MacsEvent) GetMessageType

func (*L2MacsEvent) GetMessageType() api.MessageType

type L2PatchAddDel

type L2PatchAddDel struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
	IsAdd       uint8
}

L2PatchAddDel represents VPP binary API message 'l2_patch_add_del':

func (*L2PatchAddDel) GetCrcString

func (*L2PatchAddDel) GetCrcString() string

func (*L2PatchAddDel) GetMessageName

func (*L2PatchAddDel) GetMessageName() string

func (*L2PatchAddDel) GetMessageType

func (*L2PatchAddDel) GetMessageType() api.MessageType

type L2PatchAddDelReply

type L2PatchAddDelReply struct {
	Retval int32
}

L2PatchAddDelReply represents VPP binary API message 'l2_patch_add_del_reply':

func (*L2PatchAddDelReply) GetCrcString

func (*L2PatchAddDelReply) GetCrcString() string

func (*L2PatchAddDelReply) GetMessageName

func (*L2PatchAddDelReply) GetMessageName() string

func (*L2PatchAddDelReply) GetMessageType

func (*L2PatchAddDelReply) GetMessageType() api.MessageType

type L2PortType added in v1.8.1

type L2PortType uint32

L2PortType represents VPP binary API enum 'l2_port_type':

const (
	L2_API_PORT_TYPE_NORMAL L2PortType = 0
	L2_API_PORT_TYPE_BVI    L2PortType = 1
	L2_API_PORT_TYPE_UU_FWD L2PortType = 2
)

type L2XconnectDetails

type L2XconnectDetails struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
}

L2XconnectDetails represents VPP binary API message 'l2_xconnect_details':

func (*L2XconnectDetails) GetCrcString

func (*L2XconnectDetails) GetCrcString() string

func (*L2XconnectDetails) GetMessageName

func (*L2XconnectDetails) GetMessageName() string

func (*L2XconnectDetails) GetMessageType

func (*L2XconnectDetails) GetMessageType() api.MessageType

type L2XconnectDump

type L2XconnectDump struct{}

L2XconnectDump represents VPP binary API message 'l2_xconnect_dump':

func (*L2XconnectDump) GetCrcString

func (*L2XconnectDump) GetCrcString() string

func (*L2XconnectDump) GetMessageName

func (*L2XconnectDump) GetMessageName() string

func (*L2XconnectDump) GetMessageType

func (*L2XconnectDump) GetMessageType() api.MessageType

type L2fibAddDel

type L2fibAddDel struct {
	Mac       []byte `struc:"[6]byte"`
	BdID      uint32
	SwIfIndex uint32
	IsAdd     uint8
	StaticMac uint8
	FilterMac uint8
	BviMac    uint8
}

L2fibAddDel represents VPP binary API message 'l2fib_add_del':

func (*L2fibAddDel) GetCrcString

func (*L2fibAddDel) GetCrcString() string

func (*L2fibAddDel) GetMessageName

func (*L2fibAddDel) GetMessageName() string

func (*L2fibAddDel) GetMessageType

func (*L2fibAddDel) GetMessageType() api.MessageType

type L2fibAddDelReply

type L2fibAddDelReply struct {
	Retval int32
}

L2fibAddDelReply represents VPP binary API message 'l2fib_add_del_reply':

func (*L2fibAddDelReply) GetCrcString

func (*L2fibAddDelReply) GetCrcString() string

func (*L2fibAddDelReply) GetMessageName

func (*L2fibAddDelReply) GetMessageName() string

func (*L2fibAddDelReply) GetMessageType

func (*L2fibAddDelReply) GetMessageType() api.MessageType

type L2fibFlushAll

type L2fibFlushAll struct{}

L2fibFlushAll represents VPP binary API message 'l2fib_flush_all':

func (*L2fibFlushAll) GetCrcString

func (*L2fibFlushAll) GetCrcString() string

func (*L2fibFlushAll) GetMessageName

func (*L2fibFlushAll) GetMessageName() string

func (*L2fibFlushAll) GetMessageType

func (*L2fibFlushAll) GetMessageType() api.MessageType

type L2fibFlushAllReply

type L2fibFlushAllReply struct {
	Retval int32
}

L2fibFlushAllReply represents VPP binary API message 'l2fib_flush_all_reply':

func (*L2fibFlushAllReply) GetCrcString

func (*L2fibFlushAllReply) GetCrcString() string

func (*L2fibFlushAllReply) GetMessageName

func (*L2fibFlushAllReply) GetMessageName() string

func (*L2fibFlushAllReply) GetMessageType

func (*L2fibFlushAllReply) GetMessageType() api.MessageType

type L2fibFlushBd

type L2fibFlushBd struct {
	BdID uint32
}

L2fibFlushBd represents VPP binary API message 'l2fib_flush_bd':

func (*L2fibFlushBd) GetCrcString

func (*L2fibFlushBd) GetCrcString() string

func (*L2fibFlushBd) GetMessageName

func (*L2fibFlushBd) GetMessageName() string

func (*L2fibFlushBd) GetMessageType

func (*L2fibFlushBd) GetMessageType() api.MessageType

type L2fibFlushBdReply

type L2fibFlushBdReply struct {
	Retval int32
}

L2fibFlushBdReply represents VPP binary API message 'l2fib_flush_bd_reply':

func (*L2fibFlushBdReply) GetCrcString

func (*L2fibFlushBdReply) GetCrcString() string

func (*L2fibFlushBdReply) GetMessageName

func (*L2fibFlushBdReply) GetMessageName() string

func (*L2fibFlushBdReply) GetMessageType

func (*L2fibFlushBdReply) GetMessageType() api.MessageType

type L2fibFlushInt

type L2fibFlushInt struct {
	SwIfIndex uint32
}

L2fibFlushInt represents VPP binary API message 'l2fib_flush_int':

func (*L2fibFlushInt) GetCrcString

func (*L2fibFlushInt) GetCrcString() string

func (*L2fibFlushInt) GetMessageName

func (*L2fibFlushInt) GetMessageName() string

func (*L2fibFlushInt) GetMessageType

func (*L2fibFlushInt) GetMessageType() api.MessageType

type L2fibFlushIntReply

type L2fibFlushIntReply struct {
	Retval int32
}

L2fibFlushIntReply represents VPP binary API message 'l2fib_flush_int_reply':

func (*L2fibFlushIntReply) GetCrcString

func (*L2fibFlushIntReply) GetCrcString() string

func (*L2fibFlushIntReply) GetMessageName

func (*L2fibFlushIntReply) GetMessageName() string

func (*L2fibFlushIntReply) GetMessageType

func (*L2fibFlushIntReply) GetMessageType() api.MessageType

type MacAddress added in v1.8.1

type MacAddress [6]uint8

MacAddress represents VPP binary API alias 'mac_address':

type MacEntry

type MacEntry struct {
	SwIfIndex uint32
	MacAddr   []byte `struc:"[6]byte"`
	Action    uint8
	Flags     uint8
}

MacEntry represents VPP binary API type 'mac_entry':

func (*MacEntry) GetCrcString

func (*MacEntry) GetCrcString() string

func (*MacEntry) GetTypeName

func (*MacEntry) GetTypeName() string

type Mprefix added in v1.8.1

type Mprefix struct {
	Af               AddressFamily
	GrpAddressLength uint16
	GrpAddress       AddressUnion
	SrcAddress       AddressUnion
}

Mprefix represents VPP binary API type 'mprefix':

func (*Mprefix) GetCrcString added in v1.8.1

func (*Mprefix) GetCrcString() string

func (*Mprefix) GetTypeName added in v1.8.1

func (*Mprefix) GetTypeName() string

type Prefix added in v1.8.1

type Prefix struct {
	Address       Address
	AddressLength uint8
}

Prefix represents VPP binary API type 'prefix':

func (*Prefix) GetCrcString added in v1.8.1

func (*Prefix) GetCrcString() string

func (*Prefix) GetTypeName added in v1.8.1

func (*Prefix) GetTypeName() string

type Services added in v1.8.1

type Services interface {
	DumpBdIPMac(*BdIPMacDump) ([]*BdIPMacDetails, error)
	DumpBridgeDomain(*BridgeDomainDump) ([]*BridgeDomainDetails, error)
	DumpL2FibTable(*L2FibTableDump) ([]*L2FibTableDetails, error)
	DumpL2Xconnect(*L2XconnectDump) ([]*L2XconnectDetails, error)
	BdIPMacAddDel(*BdIPMacAddDel) (*BdIPMacAddDelReply, error)
	BdIPMacFlush(*BdIPMacFlush) (*BdIPMacFlushReply, error)
	BridgeDomainAddDel(*BridgeDomainAddDel) (*BridgeDomainAddDelReply, error)
	BridgeDomainSetMacAge(*BridgeDomainSetMacAge) (*BridgeDomainSetMacAgeReply, error)
	BridgeFlags(*BridgeFlags) (*BridgeFlagsReply, error)
	L2FibClearTable(*L2FibClearTable) (*L2FibClearTableReply, error)
	L2Flags(*L2Flags) (*L2FlagsReply, error)
	L2InterfaceEfpFilter(*L2InterfaceEfpFilter) (*L2InterfaceEfpFilterReply, error)
	L2InterfacePbbTagRewrite(*L2InterfacePbbTagRewrite) (*L2InterfacePbbTagRewriteReply, error)
	L2InterfaceVlanTagRewrite(*L2InterfaceVlanTagRewrite) (*L2InterfaceVlanTagRewriteReply, error)
	L2PatchAddDel(*L2PatchAddDel) (*L2PatchAddDelReply, error)
	L2fibAddDel(*L2fibAddDel) (*L2fibAddDelReply, error)
	L2fibFlushAll(*L2fibFlushAll) (*L2fibFlushAllReply, error)
	L2fibFlushBd(*L2fibFlushBd) (*L2fibFlushBdReply, error)
	L2fibFlushInt(*L2fibFlushInt) (*L2fibFlushIntReply, error)
	SwInterfaceSetL2Bridge(*SwInterfaceSetL2Bridge) (*SwInterfaceSetL2BridgeReply, error)
	SwInterfaceSetL2Xconnect(*SwInterfaceSetL2Xconnect) (*SwInterfaceSetL2XconnectReply, error)
	SwInterfaceSetVpath(*SwInterfaceSetVpath) (*SwInterfaceSetVpathReply, error)
	WantL2MacsEvents(*WantL2MacsEvents) (*WantL2MacsEventsReply, error)
}

Services represents VPP binary API services:

type SwInterfaceSetL2Bridge

type SwInterfaceSetL2Bridge struct {
	RxSwIfIndex uint32
	BdID        uint32
	PortType    L2PortType
	Shg         uint8
	Enable      uint8
}

SwInterfaceSetL2Bridge represents VPP binary API message 'sw_interface_set_l2_bridge':

func (*SwInterfaceSetL2Bridge) GetCrcString

func (*SwInterfaceSetL2Bridge) GetCrcString() string

func (*SwInterfaceSetL2Bridge) GetMessageName

func (*SwInterfaceSetL2Bridge) GetMessageName() string

func (*SwInterfaceSetL2Bridge) GetMessageType

func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType

type SwInterfaceSetL2BridgeReply

type SwInterfaceSetL2BridgeReply struct {
	Retval int32
}

SwInterfaceSetL2BridgeReply represents VPP binary API message 'sw_interface_set_l2_bridge_reply':

func (*SwInterfaceSetL2BridgeReply) GetCrcString

func (*SwInterfaceSetL2BridgeReply) GetCrcString() string

func (*SwInterfaceSetL2BridgeReply) GetMessageName

func (*SwInterfaceSetL2BridgeReply) GetMessageName() string

func (*SwInterfaceSetL2BridgeReply) GetMessageType

func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType

type SwInterfaceSetL2Xconnect

type SwInterfaceSetL2Xconnect struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
	Enable      uint8
}

SwInterfaceSetL2Xconnect represents VPP binary API message 'sw_interface_set_l2_xconnect':

func (*SwInterfaceSetL2Xconnect) GetCrcString

func (*SwInterfaceSetL2Xconnect) GetCrcString() string

func (*SwInterfaceSetL2Xconnect) GetMessageName

func (*SwInterfaceSetL2Xconnect) GetMessageName() string

func (*SwInterfaceSetL2Xconnect) GetMessageType

func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType

type SwInterfaceSetL2XconnectReply

type SwInterfaceSetL2XconnectReply struct {
	Retval int32
}

SwInterfaceSetL2XconnectReply represents VPP binary API message 'sw_interface_set_l2_xconnect_reply':

func (*SwInterfaceSetL2XconnectReply) GetCrcString

func (*SwInterfaceSetL2XconnectReply) GetCrcString() string

func (*SwInterfaceSetL2XconnectReply) GetMessageName

func (*SwInterfaceSetL2XconnectReply) GetMessageName() string

func (*SwInterfaceSetL2XconnectReply) GetMessageType

func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType

type SwInterfaceSetVpath

type SwInterfaceSetVpath struct {
	SwIfIndex uint32
	Enable    uint8
}

SwInterfaceSetVpath represents VPP binary API message 'sw_interface_set_vpath':

func (*SwInterfaceSetVpath) GetCrcString

func (*SwInterfaceSetVpath) GetCrcString() string

func (*SwInterfaceSetVpath) GetMessageName

func (*SwInterfaceSetVpath) GetMessageName() string

func (*SwInterfaceSetVpath) GetMessageType

func (*SwInterfaceSetVpath) GetMessageType() api.MessageType

type SwInterfaceSetVpathReply

type SwInterfaceSetVpathReply struct {
	Retval int32
}

SwInterfaceSetVpathReply represents VPP binary API message 'sw_interface_set_vpath_reply':

func (*SwInterfaceSetVpathReply) GetCrcString

func (*SwInterfaceSetVpathReply) GetCrcString() string

func (*SwInterfaceSetVpathReply) GetMessageName

func (*SwInterfaceSetVpathReply) GetMessageName() string

func (*SwInterfaceSetVpathReply) GetMessageType

func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType

type WantL2MacsEvents

type WantL2MacsEvents struct {
	LearnLimit     uint32
	ScanDelay      uint8
	MaxMacsInEvent uint8
	EnableDisable  uint8
	PID            uint32
}

WantL2MacsEvents represents VPP binary API message 'want_l2_macs_events':

func (*WantL2MacsEvents) GetCrcString

func (*WantL2MacsEvents) GetCrcString() string

func (*WantL2MacsEvents) GetMessageName

func (*WantL2MacsEvents) GetMessageName() string

func (*WantL2MacsEvents) GetMessageType

func (*WantL2MacsEvents) GetMessageType() api.MessageType

type WantL2MacsEventsReply

type WantL2MacsEventsReply struct {
	Retval int32
}

WantL2MacsEventsReply represents VPP binary API message 'want_l2_macs_events_reply':

func (*WantL2MacsEventsReply) GetCrcString

func (*WantL2MacsEventsReply) GetCrcString() string

func (*WantL2MacsEventsReply) GetMessageName

func (*WantL2MacsEventsReply) GetMessageName() string

func (*WantL2MacsEventsReply) GetMessageType

func (*WantL2MacsEventsReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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