l2

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by govpp binapi-generator DO NOT EDIT. Package l2 represents the VPP binary API of the 'l2' VPP module. Generated from '/usr/share/vpp/api/l2.api.json'

Index

Constants

View Source
const VlAPIVersion = 0xdbcb1039

VlApiVersion contains version of the API.

Variables

View Source
var Consts = map[string]reflect.Value{
	"VlAPIVersion": reflect.ValueOf(VlAPIVersion),
}
View Source
var Functions = map[string]reflect.Value{
	"NewBdIPMacAddDel":                  reflect.ValueOf(NewBdIPMacAddDel),
	"NewBdIPMacAddDelReply":             reflect.ValueOf(NewBdIPMacAddDelReply),
	"NewBridgeDomainAddDel":             reflect.ValueOf(NewBridgeDomainAddDel),
	"NewBridgeDomainAddDelReply":        reflect.ValueOf(NewBridgeDomainAddDelReply),
	"NewBridgeDomainDetails":            reflect.ValueOf(NewBridgeDomainDetails),
	"NewBridgeDomainDump":               reflect.ValueOf(NewBridgeDomainDump),
	"NewBridgeDomainSetMacAge":          reflect.ValueOf(NewBridgeDomainSetMacAge),
	"NewBridgeDomainSetMacAgeReply":     reflect.ValueOf(NewBridgeDomainSetMacAgeReply),
	"NewBridgeFlags":                    reflect.ValueOf(NewBridgeFlags),
	"NewBridgeFlagsReply":               reflect.ValueOf(NewBridgeFlagsReply),
	"NewL2FibClearTable":                reflect.ValueOf(NewL2FibClearTable),
	"NewL2FibClearTableReply":           reflect.ValueOf(NewL2FibClearTableReply),
	"NewL2FibTableDetails":              reflect.ValueOf(NewL2FibTableDetails),
	"NewL2FibTableDump":                 reflect.ValueOf(NewL2FibTableDump),
	"NewL2Flags":                        reflect.ValueOf(NewL2Flags),
	"NewL2FlagsReply":                   reflect.ValueOf(NewL2FlagsReply),
	"NewL2InterfaceEfpFilter":           reflect.ValueOf(NewL2InterfaceEfpFilter),
	"NewL2InterfaceEfpFilterReply":      reflect.ValueOf(NewL2InterfaceEfpFilterReply),
	"NewL2InterfacePbbTagRewrite":       reflect.ValueOf(NewL2InterfacePbbTagRewrite),
	"NewL2InterfacePbbTagRewriteReply":  reflect.ValueOf(NewL2InterfacePbbTagRewriteReply),
	"NewL2InterfaceVlanTagRewrite":      reflect.ValueOf(NewL2InterfaceVlanTagRewrite),
	"NewL2InterfaceVlanTagRewriteReply": reflect.ValueOf(NewL2InterfaceVlanTagRewriteReply),
	"NewL2MacsEvent":                    reflect.ValueOf(NewL2MacsEvent),
	"NewL2PatchAddDel":                  reflect.ValueOf(NewL2PatchAddDel),
	"NewL2PatchAddDelReply":             reflect.ValueOf(NewL2PatchAddDelReply),
	"NewL2XconnectDetails":              reflect.ValueOf(NewL2XconnectDetails),
	"NewL2XconnectDump":                 reflect.ValueOf(NewL2XconnectDump),
	"NewL2fibAddDel":                    reflect.ValueOf(NewL2fibAddDel),
	"NewL2fibAddDelReply":               reflect.ValueOf(NewL2fibAddDelReply),
	"NewL2fibFlushAll":                  reflect.ValueOf(NewL2fibFlushAll),
	"NewL2fibFlushAllReply":             reflect.ValueOf(NewL2fibFlushAllReply),
	"NewL2fibFlushBd":                   reflect.ValueOf(NewL2fibFlushBd),
	"NewL2fibFlushBdReply":              reflect.ValueOf(NewL2fibFlushBdReply),
	"NewL2fibFlushInt":                  reflect.ValueOf(NewL2fibFlushInt),
	"NewL2fibFlushIntReply":             reflect.ValueOf(NewL2fibFlushIntReply),
	"NewSwInterfaceSetL2Bridge":         reflect.ValueOf(NewSwInterfaceSetL2Bridge),
	"NewSwInterfaceSetL2BridgeReply":    reflect.ValueOf(NewSwInterfaceSetL2BridgeReply),
	"NewSwInterfaceSetL2Xconnect":       reflect.ValueOf(NewSwInterfaceSetL2Xconnect),
	"NewSwInterfaceSetL2XconnectReply":  reflect.ValueOf(NewSwInterfaceSetL2XconnectReply),
	"NewSwInterfaceSetVpath":            reflect.ValueOf(NewSwInterfaceSetVpath),
	"NewSwInterfaceSetVpathReply":       reflect.ValueOf(NewSwInterfaceSetVpathReply),
	"NewWantL2MacsEvents":               reflect.ValueOf(NewWantL2MacsEvents),
	"NewWantL2MacsEventsReply":          reflect.ValueOf(NewWantL2MacsEventsReply),
}
View Source
var Types = map[string]reflect.Type{
	"BdIPMacAddDel":                  reflect.TypeOf((*BdIPMacAddDel)(nil)).Elem(),
	"BdIPMacAddDelReply":             reflect.TypeOf((*BdIPMacAddDelReply)(nil)).Elem(),
	"BridgeDomainAddDel":             reflect.TypeOf((*BridgeDomainAddDel)(nil)).Elem(),
	"BridgeDomainAddDelReply":        reflect.TypeOf((*BridgeDomainAddDelReply)(nil)).Elem(),
	"BridgeDomainDetails":            reflect.TypeOf((*BridgeDomainDetails)(nil)).Elem(),
	"BridgeDomainDump":               reflect.TypeOf((*BridgeDomainDump)(nil)).Elem(),
	"BridgeDomainSetMacAge":          reflect.TypeOf((*BridgeDomainSetMacAge)(nil)).Elem(),
	"BridgeDomainSetMacAgeReply":     reflect.TypeOf((*BridgeDomainSetMacAgeReply)(nil)).Elem(),
	"BridgeDomainSwIf":               reflect.TypeOf((*BridgeDomainSwIf)(nil)).Elem(),
	"BridgeFlags":                    reflect.TypeOf((*BridgeFlags)(nil)).Elem(),
	"BridgeFlagsReply":               reflect.TypeOf((*BridgeFlagsReply)(nil)).Elem(),
	"L2FibClearTable":                reflect.TypeOf((*L2FibClearTable)(nil)).Elem(),
	"L2FibClearTableReply":           reflect.TypeOf((*L2FibClearTableReply)(nil)).Elem(),
	"L2FibTableDetails":              reflect.TypeOf((*L2FibTableDetails)(nil)).Elem(),
	"L2FibTableDump":                 reflect.TypeOf((*L2FibTableDump)(nil)).Elem(),
	"L2Flags":                        reflect.TypeOf((*L2Flags)(nil)).Elem(),
	"L2FlagsReply":                   reflect.TypeOf((*L2FlagsReply)(nil)).Elem(),
	"L2InterfaceEfpFilter":           reflect.TypeOf((*L2InterfaceEfpFilter)(nil)).Elem(),
	"L2InterfaceEfpFilterReply":      reflect.TypeOf((*L2InterfaceEfpFilterReply)(nil)).Elem(),
	"L2InterfacePbbTagRewrite":       reflect.TypeOf((*L2InterfacePbbTagRewrite)(nil)).Elem(),
	"L2InterfacePbbTagRewriteReply":  reflect.TypeOf((*L2InterfacePbbTagRewriteReply)(nil)).Elem(),
	"L2InterfaceVlanTagRewrite":      reflect.TypeOf((*L2InterfaceVlanTagRewrite)(nil)).Elem(),
	"L2InterfaceVlanTagRewriteReply": reflect.TypeOf((*L2InterfaceVlanTagRewriteReply)(nil)).Elem(),
	"L2MacsEvent":                    reflect.TypeOf((*L2MacsEvent)(nil)).Elem(),
	"L2PatchAddDel":                  reflect.TypeOf((*L2PatchAddDel)(nil)).Elem(),
	"L2PatchAddDelReply":             reflect.TypeOf((*L2PatchAddDelReply)(nil)).Elem(),
	"L2XconnectDetails":              reflect.TypeOf((*L2XconnectDetails)(nil)).Elem(),
	"L2XconnectDump":                 reflect.TypeOf((*L2XconnectDump)(nil)).Elem(),
	"L2fibAddDel":                    reflect.TypeOf((*L2fibAddDel)(nil)).Elem(),
	"L2fibAddDelReply":               reflect.TypeOf((*L2fibAddDelReply)(nil)).Elem(),
	"L2fibFlushAll":                  reflect.TypeOf((*L2fibFlushAll)(nil)).Elem(),
	"L2fibFlushAllReply":             reflect.TypeOf((*L2fibFlushAllReply)(nil)).Elem(),
	"L2fibFlushBd":                   reflect.TypeOf((*L2fibFlushBd)(nil)).Elem(),
	"L2fibFlushBdReply":              reflect.TypeOf((*L2fibFlushBdReply)(nil)).Elem(),
	"L2fibFlushInt":                  reflect.TypeOf((*L2fibFlushInt)(nil)).Elem(),
	"L2fibFlushIntReply":             reflect.TypeOf((*L2fibFlushIntReply)(nil)).Elem(),
	"MacEntry":                       reflect.TypeOf((*MacEntry)(nil)).Elem(),
	"SwInterfaceSetL2Bridge":         reflect.TypeOf((*SwInterfaceSetL2Bridge)(nil)).Elem(),
	"SwInterfaceSetL2BridgeReply":    reflect.TypeOf((*SwInterfaceSetL2BridgeReply)(nil)).Elem(),
	"SwInterfaceSetL2Xconnect":       reflect.TypeOf((*SwInterfaceSetL2Xconnect)(nil)).Elem(),
	"SwInterfaceSetL2XconnectReply":  reflect.TypeOf((*SwInterfaceSetL2XconnectReply)(nil)).Elem(),
	"SwInterfaceSetVpath":            reflect.TypeOf((*SwInterfaceSetVpath)(nil)).Elem(),
	"SwInterfaceSetVpathReply":       reflect.TypeOf((*SwInterfaceSetVpathReply)(nil)).Elem(),
	"WantL2MacsEvents":               reflect.TypeOf((*WantL2MacsEvents)(nil)).Elem(),
	"WantL2MacsEventsReply":          reflect.TypeOf((*WantL2MacsEventsReply)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewBdIPMacAddDel added in v1.0.8

func NewBdIPMacAddDel() api.Message

func NewBdIPMacAddDelReply added in v1.0.8

func NewBdIPMacAddDelReply() api.Message

func NewBridgeDomainAddDel

func NewBridgeDomainAddDel() api.Message

func NewBridgeDomainAddDelReply

func NewBridgeDomainAddDelReply() api.Message

func NewBridgeDomainDetails

func NewBridgeDomainDetails() api.Message

func NewBridgeDomainDump

func NewBridgeDomainDump() api.Message

func NewBridgeDomainSetMacAge

func NewBridgeDomainSetMacAge() api.Message

func NewBridgeDomainSetMacAgeReply

func NewBridgeDomainSetMacAgeReply() api.Message

func NewBridgeFlags

func NewBridgeFlags() api.Message

func NewBridgeFlagsReply

func NewBridgeFlagsReply() api.Message

func NewL2FibClearTable

func NewL2FibClearTable() api.Message

func NewL2FibClearTableReply

func NewL2FibClearTableReply() api.Message

func NewL2FibTableDetails

func NewL2FibTableDetails() api.Message

func NewL2FibTableDump

func NewL2FibTableDump() api.Message

func NewL2Flags

func NewL2Flags() api.Message

func NewL2FlagsReply

func NewL2FlagsReply() api.Message

func NewL2InterfaceEfpFilter added in v1.0.8

func NewL2InterfaceEfpFilter() api.Message

func NewL2InterfaceEfpFilterReply added in v1.0.8

func NewL2InterfaceEfpFilterReply() api.Message

func NewL2InterfacePbbTagRewrite

func NewL2InterfacePbbTagRewrite() api.Message

func NewL2InterfacePbbTagRewriteReply

func NewL2InterfacePbbTagRewriteReply() api.Message

func NewL2InterfaceVlanTagRewrite

func NewL2InterfaceVlanTagRewrite() api.Message

func NewL2InterfaceVlanTagRewriteReply

func NewL2InterfaceVlanTagRewriteReply() api.Message

func NewL2MacsEvent

func NewL2MacsEvent() api.Message

func NewL2PatchAddDel added in v1.0.8

func NewL2PatchAddDel() api.Message

func NewL2PatchAddDelReply added in v1.0.8

func NewL2PatchAddDelReply() api.Message

func NewL2XconnectDetails

func NewL2XconnectDetails() api.Message

func NewL2XconnectDump

func NewL2XconnectDump() api.Message

func NewL2fibAddDel

func NewL2fibAddDel() api.Message

func NewL2fibAddDelReply

func NewL2fibAddDelReply() api.Message

func NewL2fibFlushAll

func NewL2fibFlushAll() api.Message

func NewL2fibFlushAllReply

func NewL2fibFlushAllReply() api.Message

func NewL2fibFlushBd

func NewL2fibFlushBd() api.Message

func NewL2fibFlushBdReply

func NewL2fibFlushBdReply() api.Message

func NewL2fibFlushInt

func NewL2fibFlushInt() api.Message

func NewL2fibFlushIntReply

func NewL2fibFlushIntReply() api.Message

func NewSwInterfaceSetL2Bridge added in v1.0.8

func NewSwInterfaceSetL2Bridge() api.Message

func NewSwInterfaceSetL2BridgeReply added in v1.0.8

func NewSwInterfaceSetL2BridgeReply() api.Message

func NewSwInterfaceSetL2Xconnect added in v1.0.8

func NewSwInterfaceSetL2Xconnect() api.Message

func NewSwInterfaceSetL2XconnectReply added in v1.0.8

func NewSwInterfaceSetL2XconnectReply() api.Message

func NewSwInterfaceSetVpath added in v1.0.8

func NewSwInterfaceSetVpath() api.Message

func NewSwInterfaceSetVpathReply added in v1.0.8

func NewSwInterfaceSetVpathReply() api.Message

func NewWantL2MacsEvents

func NewWantL2MacsEvents() api.Message

func NewWantL2MacsEventsReply

func NewWantL2MacsEventsReply() api.Message

Types

type BdIPMacAddDel added in v1.0.8

type BdIPMacAddDel struct {
	BdID       uint32
	IsAdd      uint8
	IsIpv6     uint8
	IPAddress  []byte `struc:"[16]byte"`
	MacAddress []byte `struc:"[6]byte"`
}

BdIPMacAddDel represents the VPP binary API message 'bd_ip_mac_add_del'. Generated from '/usr/share/vpp/api/l2.api.json', line 316:

["bd_ip_mac_add_del",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "bd_id"],
    ["u8", "is_add"],
    ["u8", "is_ipv6"],
    ["u8", "ip_address", 16],
    ["u8", "mac_address", 6],
    {"crc" : "0xad819817"}
],

func (*BdIPMacAddDel) GetCrcString added in v1.0.8

func (*BdIPMacAddDel) GetCrcString() string

func (*BdIPMacAddDel) GetMessageName added in v1.0.8

func (*BdIPMacAddDel) GetMessageName() string

func (*BdIPMacAddDel) GetMessageType added in v1.0.8

func (*BdIPMacAddDel) GetMessageType() api.MessageType

type BdIPMacAddDelReply added in v1.0.8

type BdIPMacAddDelReply struct {
	Retval int32
}

BdIPMacAddDelReply represents the VPP binary API message 'bd_ip_mac_add_del_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 327:

["bd_ip_mac_add_del_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x55bab3b4"}
],

func (*BdIPMacAddDelReply) GetCrcString added in v1.0.8

func (*BdIPMacAddDelReply) GetCrcString() string

func (*BdIPMacAddDelReply) GetMessageName added in v1.0.8

func (*BdIPMacAddDelReply) GetMessageName() string

func (*BdIPMacAddDelReply) GetMessageType added in v1.0.8

func (*BdIPMacAddDelReply) 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 the VPP binary API message 'bridge_domain_add_del'. Generated from '/usr/share/vpp/api/l2.api.json', line 173:

["bridge_domain_add_del",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "bd_id"],
    ["u8", "flood"],
    ["u8", "uu_flood"],
    ["u8", "forward"],
    ["u8", "learn"],
    ["u8", "arp_term"],
    ["u8", "mac_age"],
    ["u8", "bd_tag", 64],
    ["u8", "is_add"],
    {"crc" : "0xe9894b51"}
],

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 the VPP binary API message 'bridge_domain_add_del_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 188:

["bridge_domain_add_del_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xd5e138e4"}
],

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
	NSwIfs       uint32 `struc:"sizeof=SwIfDetails"`
	SwIfDetails  []BridgeDomainSwIf
}

BridgeDomainDetails represents the VPP binary API message 'bridge_domain_details'. Generated from '/usr/share/vpp/api/l2.api.json', line 201:

["bridge_domain_details",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["u32", "bd_id"],
    ["u8", "flood"],
    ["u8", "uu_flood"],
    ["u8", "forward"],
    ["u8", "learn"],
    ["u8", "arp_term"],
    ["u8", "mac_age"],
    ["u8", "bd_tag", 64],
    ["u32", "bvi_sw_if_index"],
    ["u32", "n_sw_ifs"],
    ["vl_api_bridge_domain_sw_if_t", "sw_if_details", 0, "n_sw_ifs"],
    {"crc" : "0xff7d2b54"}
],

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 the VPP binary API message 'bridge_domain_dump'. Generated from '/usr/share/vpp/api/l2.api.json', line 194:

["bridge_domain_dump",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "bd_id"],
    {"crc" : "0x68d5401d"}
],

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 the VPP binary API message 'bridge_domain_set_mac_age'. Generated from '/usr/share/vpp/api/l2.api.json', line 159:

["bridge_domain_set_mac_age",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "bd_id"],
    ["u8", "mac_age"],
    {"crc" : "0xf58c37aa"}
],

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 the VPP binary API message 'bridge_domain_set_mac_age_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 167:

["bridge_domain_set_mac_age_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xc127a682"}
],

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 the VPP binary API data type 'bridge_domain_sw_if'. Generated from '/usr/share/vpp/api/l2.api.json', line 10:

["bridge_domain_sw_if",
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "shg"],
    {"crc" : "0x89a002d4"}
]

func (*BridgeDomainSwIf) GetCrcString

func (*BridgeDomainSwIf) GetCrcString() string

func (*BridgeDomainSwIf) GetTypeName

func (*BridgeDomainSwIf) GetTypeName() string

type BridgeFlags

type BridgeFlags struct {
	BdID          uint32
	IsSet         uint8
	FeatureBitmap uint32
}

BridgeFlags represents the VPP binary API message 'bridge_flags'. Generated from '/usr/share/vpp/api/l2.api.json', line 217:

["bridge_flags",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "bd_id"],
    ["u8", "is_set"],
    ["u32", "feature_bitmap"],
    {"crc" : "0xc1d50251"}
],

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 the VPP binary API message 'bridge_flags_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 226:

["bridge_flags_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "resulting_feature_bitmap"],
    {"crc" : "0xfa6b7397"}
],

func (*BridgeFlagsReply) GetCrcString

func (*BridgeFlagsReply) GetCrcString() string

func (*BridgeFlagsReply) GetMessageName

func (*BridgeFlagsReply) GetMessageName() string

func (*BridgeFlagsReply) GetMessageType

func (*BridgeFlagsReply) GetMessageType() api.MessageType

type L2FibClearTable

type L2FibClearTable struct {
}

L2FibClearTable represents the VPP binary API message 'l2_fib_clear_table'. Generated from '/usr/share/vpp/api/l2.api.json', line 49:

["l2_fib_clear_table",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    {"crc" : "0x40dc61e3"}
],

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 the VPP binary API message 'l2_fib_clear_table_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 55:

["l2_fib_clear_table_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x0425b038"}
],

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 the VPP binary API message 'l2_fib_table_details'. Generated from '/usr/share/vpp/api/l2.api.json', line 31:

["l2_fib_table_details",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["u32", "bd_id"],
    ["u8", "mac", 6],
    ["u32", "sw_if_index"],
    ["u8", "static_mac"],
    ["u8", "filter_mac"],
    ["u8", "bvi_mac"],
    {"crc" : "0x584508c6"}
],

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 the VPP binary API message 'l2_fib_table_dump'. Generated from '/usr/share/vpp/api/l2.api.json', line 42:

["l2_fib_table_dump",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "bd_id"],
    {"crc" : "0xedcbdcf6"}
],

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 the VPP binary API message 'l2_flags'. Generated from '/usr/share/vpp/api/l2.api.json', line 143:

["l2_flags",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "is_set"],
    ["u32", "feature_bitmap"],
    {"crc" : "0x987fb8e1"}
],

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 the VPP binary API message 'l2_flags_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 152:

["l2_flags_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "resulting_feature_bitmap"],
    {"crc" : "0xbd749594"}
],

func (*L2FlagsReply) GetCrcString

func (*L2FlagsReply) GetCrcString() string

func (*L2FlagsReply) GetMessageName

func (*L2FlagsReply) GetMessageName() string

func (*L2FlagsReply) GetMessageType

func (*L2FlagsReply) GetMessageType() api.MessageType

type L2InterfaceEfpFilter added in v1.0.8

type L2InterfaceEfpFilter struct {
	SwIfIndex     uint32
	EnableDisable uint32
}

L2InterfaceEfpFilter represents the VPP binary API message 'l2_interface_efp_filter'. Generated from '/usr/share/vpp/api/l2.api.json', line 333:

["l2_interface_efp_filter",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "enable_disable"],
    {"crc" : "0x07c9d601"}
],

func (*L2InterfaceEfpFilter) GetCrcString added in v1.0.8

func (*L2InterfaceEfpFilter) GetCrcString() string

func (*L2InterfaceEfpFilter) GetMessageName added in v1.0.8

func (*L2InterfaceEfpFilter) GetMessageName() string

func (*L2InterfaceEfpFilter) GetMessageType added in v1.0.8

func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType

type L2InterfaceEfpFilterReply added in v1.0.8

type L2InterfaceEfpFilterReply struct {
	Retval int32
}

L2InterfaceEfpFilterReply represents the VPP binary API message 'l2_interface_efp_filter_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 341:

["l2_interface_efp_filter_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x0f4bb0c0"}
],

func (*L2InterfaceEfpFilterReply) GetCrcString added in v1.0.8

func (*L2InterfaceEfpFilterReply) GetCrcString() string

func (*L2InterfaceEfpFilterReply) GetMessageName added in v1.0.8

func (*L2InterfaceEfpFilterReply) GetMessageName() string

func (*L2InterfaceEfpFilterReply) GetMessageType added in v1.0.8

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 the VPP binary API message 'l2_interface_pbb_tag_rewrite'. Generated from '/usr/share/vpp/api/l2.api.json', line 250:

["l2_interface_pbb_tag_rewrite",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "vtr_op"],
    ["u16", "outer_tag"],
    ["u8", "b_dmac", 6],
    ["u8", "b_smac", 6],
    ["u16", "b_vlanid"],
    ["u32", "i_sid"],
    {"crc" : "0xb7706c15"}
],

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 the VPP binary API message 'l2_interface_pbb_tag_rewrite_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 263:

["l2_interface_pbb_tag_rewrite_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x2d083312"}
],

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 the VPP binary API message 'l2_interface_vlan_tag_rewrite'. Generated from '/usr/share/vpp/api/l2.api.json', line 233:

["l2_interface_vlan_tag_rewrite",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "vtr_op"],
    ["u32", "push_dot1q"],
    ["u32", "tag1"],
    ["u32", "tag2"],
    {"crc" : "0xb9dcbd39"}
],

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 the VPP binary API message 'l2_interface_vlan_tag_rewrite_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 244:

["l2_interface_vlan_tag_rewrite_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x901eddfb"}
],

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 the VPP binary API message 'l2_macs_event'. Generated from '/usr/share/vpp/api/l2.api.json', line 135:

["l2_macs_event",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "pid"],
    ["u32", "n_macs"],
    ["vl_api_mac_entry_t", "mac", 0, "n_macs"],
    {"crc" : "0x2a1cc4f5"}
],

func (*L2MacsEvent) GetCrcString

func (*L2MacsEvent) GetCrcString() string

func (*L2MacsEvent) GetMessageName

func (*L2MacsEvent) GetMessageName() string

func (*L2MacsEvent) GetMessageType

func (*L2MacsEvent) GetMessageType() api.MessageType

type L2PatchAddDel added in v1.0.8

type L2PatchAddDel struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
	IsAdd       uint8
}

L2PatchAddDel represents the VPP binary API message 'l2_patch_add_del'. Generated from '/usr/share/vpp/api/l2.api.json', line 269:

["l2_patch_add_del",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "rx_sw_if_index"],
    ["u32", "tx_sw_if_index"],
    ["u8", "is_add"],
    {"crc" : "0x9b10029a"}
],

func (*L2PatchAddDel) GetCrcString added in v1.0.8

func (*L2PatchAddDel) GetCrcString() string

func (*L2PatchAddDel) GetMessageName added in v1.0.8

func (*L2PatchAddDel) GetMessageName() string

func (*L2PatchAddDel) GetMessageType added in v1.0.8

func (*L2PatchAddDel) GetMessageType() api.MessageType

type L2PatchAddDelReply added in v1.0.8

type L2PatchAddDelReply struct {
	Retval int32
}

L2PatchAddDelReply represents the VPP binary API message 'l2_patch_add_del_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 278:

["l2_patch_add_del_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xa85e37be"}
],

func (*L2PatchAddDelReply) GetCrcString added in v1.0.8

func (*L2PatchAddDelReply) GetCrcString() string

func (*L2PatchAddDelReply) GetMessageName added in v1.0.8

func (*L2PatchAddDelReply) GetMessageName() string

func (*L2PatchAddDelReply) GetMessageType added in v1.0.8

func (*L2PatchAddDelReply) GetMessageType() api.MessageType

type L2XconnectDetails

type L2XconnectDetails struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
}

L2XconnectDetails represents the VPP binary API message 'l2_xconnect_details'. Generated from '/usr/share/vpp/api/l2.api.json', line 18:

["l2_xconnect_details",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["u32", "rx_sw_if_index"],
    ["u32", "tx_sw_if_index"],
    {"crc" : "0x8983dff7"}
],

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 the VPP binary API message 'l2_xconnect_dump'. Generated from '/usr/share/vpp/api/l2.api.json', line 25:

["l2_xconnect_dump",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    {"crc" : "0x794eaafb"}
],

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 the VPP binary API message 'l2fib_add_del'. Generated from '/usr/share/vpp/api/l2.api.json', line 99:

["l2fib_add_del",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "mac", 6],
    ["u32", "bd_id"],
    ["u32", "sw_if_index"],
    ["u8", "is_add"],
    ["u8", "static_mac"],
    ["u8", "filter_mac"],
    ["u8", "bvi_mac"],
    {"crc" : "0x9aa5be9e"}
],

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 the VPP binary API message 'l2fib_add_del_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 112:

["l2fib_add_del_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x1be0875a"}
],

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 the VPP binary API message 'l2fib_flush_all'. Generated from '/usr/share/vpp/api/l2.api.json', line 61:

["l2fib_flush_all",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    {"crc" : "0xabc3e39e"}
],

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 the VPP binary API message 'l2fib_flush_all_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 67:

["l2fib_flush_all_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xef3a3245"}
],

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 the VPP binary API message 'l2fib_flush_bd'. Generated from '/usr/share/vpp/api/l2.api.json', line 73:

["l2fib_flush_bd",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "bd_id"],
    {"crc" : "0x82b7f182"}
],

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 the VPP binary API message 'l2fib_flush_bd_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 80:

["l2fib_flush_bd_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xa68d5609"}
],

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 the VPP binary API message 'l2fib_flush_int'. Generated from '/usr/share/vpp/api/l2.api.json', line 86:

["l2fib_flush_int",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    {"crc" : "0xa1216623"}
],

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 the VPP binary API message 'l2fib_flush_int_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 93:

["l2fib_flush_int_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xaacfc0d0"}
],

func (*L2fibFlushIntReply) GetCrcString

func (*L2fibFlushIntReply) GetCrcString() string

func (*L2fibFlushIntReply) GetMessageName

func (*L2fibFlushIntReply) GetMessageName() string

func (*L2fibFlushIntReply) GetMessageType

func (*L2fibFlushIntReply) GetMessageType() api.MessageType

type MacEntry

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

MacEntry represents the VPP binary API data type 'mac_entry'. Generated from '/usr/share/vpp/api/l2.api.json', line 3:

["mac_entry",
    ["u32", "sw_if_index"],
    ["u8", "mac_addr", 6],
    ["u8", "is_del"],
    ["u8", "spare"],
    {"crc" : "0xa741caef"}
],

func (*MacEntry) GetCrcString

func (*MacEntry) GetCrcString() string

func (*MacEntry) GetTypeName

func (*MacEntry) GetTypeName() string

type SwInterfaceSetL2Bridge added in v1.0.8

type SwInterfaceSetL2Bridge struct {
	RxSwIfIndex uint32
	BdID        uint32
	Shg         uint8
	Bvi         uint8
	Enable      uint8
}

SwInterfaceSetL2Bridge represents the VPP binary API message 'sw_interface_set_l2_bridge'. Generated from '/usr/share/vpp/api/l2.api.json', line 299:

["sw_interface_set_l2_bridge",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "rx_sw_if_index"],
    ["u32", "bd_id"],
    ["u8", "shg"],
    ["u8", "bvi"],
    ["u8", "enable"],
    {"crc" : "0x36c739e8"}
],

func (*SwInterfaceSetL2Bridge) GetCrcString added in v1.0.8

func (*SwInterfaceSetL2Bridge) GetCrcString() string

func (*SwInterfaceSetL2Bridge) GetMessageName added in v1.0.8

func (*SwInterfaceSetL2Bridge) GetMessageName() string

func (*SwInterfaceSetL2Bridge) GetMessageType added in v1.0.8

func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType

type SwInterfaceSetL2BridgeReply added in v1.0.8

type SwInterfaceSetL2BridgeReply struct {
	Retval int32
}

SwInterfaceSetL2BridgeReply represents the VPP binary API message 'sw_interface_set_l2_bridge_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 310:

["sw_interface_set_l2_bridge_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x347e08d9"}
],

func (*SwInterfaceSetL2BridgeReply) GetCrcString added in v1.0.8

func (*SwInterfaceSetL2BridgeReply) GetCrcString() string

func (*SwInterfaceSetL2BridgeReply) GetMessageName added in v1.0.8

func (*SwInterfaceSetL2BridgeReply) GetMessageName() string

func (*SwInterfaceSetL2BridgeReply) GetMessageType added in v1.0.8

func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType

type SwInterfaceSetL2Xconnect added in v1.0.8

type SwInterfaceSetL2Xconnect struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
	Enable      uint8
}

SwInterfaceSetL2Xconnect represents the VPP binary API message 'sw_interface_set_l2_xconnect'. Generated from '/usr/share/vpp/api/l2.api.json', line 284:

["sw_interface_set_l2_xconnect",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "rx_sw_if_index"],
    ["u32", "tx_sw_if_index"],
    ["u8", "enable"],
    {"crc" : "0x48a4c4c8"}
],

func (*SwInterfaceSetL2Xconnect) GetCrcString added in v1.0.8

func (*SwInterfaceSetL2Xconnect) GetCrcString() string

func (*SwInterfaceSetL2Xconnect) GetMessageName added in v1.0.8

func (*SwInterfaceSetL2Xconnect) GetMessageName() string

func (*SwInterfaceSetL2Xconnect) GetMessageType added in v1.0.8

func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType

type SwInterfaceSetL2XconnectReply added in v1.0.8

type SwInterfaceSetL2XconnectReply struct {
	Retval int32
}

SwInterfaceSetL2XconnectReply represents the VPP binary API message 'sw_interface_set_l2_xconnect_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 293:

["sw_interface_set_l2_xconnect_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x6e45eed4"}
],

func (*SwInterfaceSetL2XconnectReply) GetCrcString added in v1.0.8

func (*SwInterfaceSetL2XconnectReply) GetCrcString() string

func (*SwInterfaceSetL2XconnectReply) GetMessageName added in v1.0.8

func (*SwInterfaceSetL2XconnectReply) GetMessageName() string

func (*SwInterfaceSetL2XconnectReply) GetMessageType added in v1.0.8

func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType

type SwInterfaceSetVpath added in v1.0.8

type SwInterfaceSetVpath struct {
	SwIfIndex uint32
	Enable    uint8
}

SwInterfaceSetVpath represents the VPP binary API message 'sw_interface_set_vpath'. Generated from '/usr/share/vpp/api/l2.api.json', line 347:

["sw_interface_set_vpath",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "enable"],
    {"crc" : "0x1bc2fd5e"}
],

func (*SwInterfaceSetVpath) GetCrcString added in v1.0.8

func (*SwInterfaceSetVpath) GetCrcString() string

func (*SwInterfaceSetVpath) GetMessageName added in v1.0.8

func (*SwInterfaceSetVpath) GetMessageName() string

func (*SwInterfaceSetVpath) GetMessageType added in v1.0.8

func (*SwInterfaceSetVpath) GetMessageType() api.MessageType

type SwInterfaceSetVpathReply added in v1.0.8

type SwInterfaceSetVpathReply struct {
	Retval int32
}

SwInterfaceSetVpathReply represents the VPP binary API message 'sw_interface_set_vpath_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 355:

["sw_interface_set_vpath_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x828dbe62"}
]

func (*SwInterfaceSetVpathReply) GetCrcString added in v1.0.8

func (*SwInterfaceSetVpathReply) GetCrcString() string

func (*SwInterfaceSetVpathReply) GetMessageName added in v1.0.8

func (*SwInterfaceSetVpathReply) GetMessageName() string

func (*SwInterfaceSetVpathReply) GetMessageType added in v1.0.8

func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType

type WantL2MacsEvents

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

WantL2MacsEvents represents the VPP binary API message 'want_l2_macs_events'. Generated from '/usr/share/vpp/api/l2.api.json', line 118:

["want_l2_macs_events",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "learn_limit"],
    ["u8", "scan_delay"],
    ["u8", "max_macs_in_event"],
    ["u8", "enable_disable"],
    ["u32", "pid"],
    {"crc" : "0xc043c52c"}
],

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 the VPP binary API message 'want_l2_macs_events_reply'. Generated from '/usr/share/vpp/api/l2.api.json', line 129:

["want_l2_macs_events_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x97d6535f"}
],

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