interfaces

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 interfaces represents the VPP binary API of the 'interfaces' VPP module. Generated from '/usr/share/vpp/api/interface.api.json'

Index

Constants

View Source
const VlAPIVersion = 0x2a74f256

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{
	"NewCreateLoopback":                   reflect.ValueOf(NewCreateLoopback),
	"NewCreateLoopbackInstance":           reflect.ValueOf(NewCreateLoopbackInstance),
	"NewCreateLoopbackInstanceReply":      reflect.ValueOf(NewCreateLoopbackInstanceReply),
	"NewCreateLoopbackReply":              reflect.ValueOf(NewCreateLoopbackReply),
	"NewCreateSubif":                      reflect.ValueOf(NewCreateSubif),
	"NewCreateSubifReply":                 reflect.ValueOf(NewCreateSubifReply),
	"NewCreateVlanSubif":                  reflect.ValueOf(NewCreateVlanSubif),
	"NewCreateVlanSubifReply":             reflect.ValueOf(NewCreateVlanSubifReply),
	"NewDeleteLoopback":                   reflect.ValueOf(NewDeleteLoopback),
	"NewDeleteLoopbackReply":              reflect.ValueOf(NewDeleteLoopbackReply),
	"NewDeleteSubif":                      reflect.ValueOf(NewDeleteSubif),
	"NewDeleteSubifReply":                 reflect.ValueOf(NewDeleteSubifReply),
	"NewInterfaceNameRenumber":            reflect.ValueOf(NewInterfaceNameRenumber),
	"NewInterfaceNameRenumberReply":       reflect.ValueOf(NewInterfaceNameRenumberReply),
	"NewSwInterfaceAddDelAddress":         reflect.ValueOf(NewSwInterfaceAddDelAddress),
	"NewSwInterfaceAddDelAddressReply":    reflect.ValueOf(NewSwInterfaceAddDelAddressReply),
	"NewSwInterfaceClearStats":            reflect.ValueOf(NewSwInterfaceClearStats),
	"NewSwInterfaceClearStatsReply":       reflect.ValueOf(NewSwInterfaceClearStatsReply),
	"NewSwInterfaceDetails":               reflect.ValueOf(NewSwInterfaceDetails),
	"NewSwInterfaceDump":                  reflect.ValueOf(NewSwInterfaceDump),
	"NewSwInterfaceEvent":                 reflect.ValueOf(NewSwInterfaceEvent),
	"NewSwInterfaceGetTable":              reflect.ValueOf(NewSwInterfaceGetTable),
	"NewSwInterfaceGetTableReply":         reflect.ValueOf(NewSwInterfaceGetTableReply),
	"NewSwInterfaceSetFlags":              reflect.ValueOf(NewSwInterfaceSetFlags),
	"NewSwInterfaceSetFlagsReply":         reflect.ValueOf(NewSwInterfaceSetFlagsReply),
	"NewSwInterfaceSetMacAddress":         reflect.ValueOf(NewSwInterfaceSetMacAddress),
	"NewSwInterfaceSetMacAddressReply":    reflect.ValueOf(NewSwInterfaceSetMacAddressReply),
	"NewSwInterfaceSetMtu":                reflect.ValueOf(NewSwInterfaceSetMtu),
	"NewSwInterfaceSetMtuReply":           reflect.ValueOf(NewSwInterfaceSetMtuReply),
	"NewSwInterfaceSetRxMode":             reflect.ValueOf(NewSwInterfaceSetRxMode),
	"NewSwInterfaceSetRxModeReply":        reflect.ValueOf(NewSwInterfaceSetRxModeReply),
	"NewSwInterfaceSetTable":              reflect.ValueOf(NewSwInterfaceSetTable),
	"NewSwInterfaceSetTableReply":         reflect.ValueOf(NewSwInterfaceSetTableReply),
	"NewSwInterfaceSetUnnumbered":         reflect.ValueOf(NewSwInterfaceSetUnnumbered),
	"NewSwInterfaceSetUnnumberedReply":    reflect.ValueOf(NewSwInterfaceSetUnnumberedReply),
	"NewSwInterfaceTagAddDel":             reflect.ValueOf(NewSwInterfaceTagAddDel),
	"NewSwInterfaceTagAddDelReply":        reflect.ValueOf(NewSwInterfaceTagAddDelReply),
	"NewVnetInterfaceCombinedCounters":    reflect.ValueOf(NewVnetInterfaceCombinedCounters),
	"NewVnetInterfaceSimpleCounters":      reflect.ValueOf(NewVnetInterfaceSimpleCounters),
	"NewVnetPerInterfaceCombinedCounters": reflect.ValueOf(NewVnetPerInterfaceCombinedCounters),
	"NewVnetPerInterfaceSimpleCounters":   reflect.ValueOf(NewVnetPerInterfaceSimpleCounters),
	"NewWantInterfaceEvents":              reflect.ValueOf(NewWantInterfaceEvents),
	"NewWantInterfaceEventsReply":         reflect.ValueOf(NewWantInterfaceEventsReply),
}
View Source
var Types = map[string]reflect.Type{
	"CreateLoopback":                   reflect.TypeOf((*CreateLoopback)(nil)).Elem(),
	"CreateLoopbackInstance":           reflect.TypeOf((*CreateLoopbackInstance)(nil)).Elem(),
	"CreateLoopbackInstanceReply":      reflect.TypeOf((*CreateLoopbackInstanceReply)(nil)).Elem(),
	"CreateLoopbackReply":              reflect.TypeOf((*CreateLoopbackReply)(nil)).Elem(),
	"CreateSubif":                      reflect.TypeOf((*CreateSubif)(nil)).Elem(),
	"CreateSubifReply":                 reflect.TypeOf((*CreateSubifReply)(nil)).Elem(),
	"CreateVlanSubif":                  reflect.TypeOf((*CreateVlanSubif)(nil)).Elem(),
	"CreateVlanSubifReply":             reflect.TypeOf((*CreateVlanSubifReply)(nil)).Elem(),
	"DeleteLoopback":                   reflect.TypeOf((*DeleteLoopback)(nil)).Elem(),
	"DeleteLoopbackReply":              reflect.TypeOf((*DeleteLoopbackReply)(nil)).Elem(),
	"DeleteSubif":                      reflect.TypeOf((*DeleteSubif)(nil)).Elem(),
	"DeleteSubifReply":                 reflect.TypeOf((*DeleteSubifReply)(nil)).Elem(),
	"InterfaceNameRenumber":            reflect.TypeOf((*InterfaceNameRenumber)(nil)).Elem(),
	"InterfaceNameRenumberReply":       reflect.TypeOf((*InterfaceNameRenumberReply)(nil)).Elem(),
	"SwInterfaceAddDelAddress":         reflect.TypeOf((*SwInterfaceAddDelAddress)(nil)).Elem(),
	"SwInterfaceAddDelAddressReply":    reflect.TypeOf((*SwInterfaceAddDelAddressReply)(nil)).Elem(),
	"SwInterfaceClearStats":            reflect.TypeOf((*SwInterfaceClearStats)(nil)).Elem(),
	"SwInterfaceClearStatsReply":       reflect.TypeOf((*SwInterfaceClearStatsReply)(nil)).Elem(),
	"SwInterfaceDetails":               reflect.TypeOf((*SwInterfaceDetails)(nil)).Elem(),
	"SwInterfaceDump":                  reflect.TypeOf((*SwInterfaceDump)(nil)).Elem(),
	"SwInterfaceEvent":                 reflect.TypeOf((*SwInterfaceEvent)(nil)).Elem(),
	"SwInterfaceGetTable":              reflect.TypeOf((*SwInterfaceGetTable)(nil)).Elem(),
	"SwInterfaceGetTableReply":         reflect.TypeOf((*SwInterfaceGetTableReply)(nil)).Elem(),
	"SwInterfaceSetFlags":              reflect.TypeOf((*SwInterfaceSetFlags)(nil)).Elem(),
	"SwInterfaceSetFlagsReply":         reflect.TypeOf((*SwInterfaceSetFlagsReply)(nil)).Elem(),
	"SwInterfaceSetMacAddress":         reflect.TypeOf((*SwInterfaceSetMacAddress)(nil)).Elem(),
	"SwInterfaceSetMacAddressReply":    reflect.TypeOf((*SwInterfaceSetMacAddressReply)(nil)).Elem(),
	"SwInterfaceSetMtu":                reflect.TypeOf((*SwInterfaceSetMtu)(nil)).Elem(),
	"SwInterfaceSetMtuReply":           reflect.TypeOf((*SwInterfaceSetMtuReply)(nil)).Elem(),
	"SwInterfaceSetRxMode":             reflect.TypeOf((*SwInterfaceSetRxMode)(nil)).Elem(),
	"SwInterfaceSetRxModeReply":        reflect.TypeOf((*SwInterfaceSetRxModeReply)(nil)).Elem(),
	"SwInterfaceSetTable":              reflect.TypeOf((*SwInterfaceSetTable)(nil)).Elem(),
	"SwInterfaceSetTableReply":         reflect.TypeOf((*SwInterfaceSetTableReply)(nil)).Elem(),
	"SwInterfaceSetUnnumbered":         reflect.TypeOf((*SwInterfaceSetUnnumbered)(nil)).Elem(),
	"SwInterfaceSetUnnumberedReply":    reflect.TypeOf((*SwInterfaceSetUnnumberedReply)(nil)).Elem(),
	"SwInterfaceTagAddDel":             reflect.TypeOf((*SwInterfaceTagAddDel)(nil)).Elem(),
	"SwInterfaceTagAddDelReply":        reflect.TypeOf((*SwInterfaceTagAddDelReply)(nil)).Elem(),
	"VlibCounter":                      reflect.TypeOf((*VlibCounter)(nil)).Elem(),
	"VnetCombinedCounter":              reflect.TypeOf((*VnetCombinedCounter)(nil)).Elem(),
	"VnetInterfaceCombinedCounters":    reflect.TypeOf((*VnetInterfaceCombinedCounters)(nil)).Elem(),
	"VnetInterfaceSimpleCounters":      reflect.TypeOf((*VnetInterfaceSimpleCounters)(nil)).Elem(),
	"VnetPerInterfaceCombinedCounters": reflect.TypeOf((*VnetPerInterfaceCombinedCounters)(nil)).Elem(),
	"VnetPerInterfaceSimpleCounters":   reflect.TypeOf((*VnetPerInterfaceSimpleCounters)(nil)).Elem(),
	"VnetSimpleCounter":                reflect.TypeOf((*VnetSimpleCounter)(nil)).Elem(),
	"WantInterfaceEvents":              reflect.TypeOf((*WantInterfaceEvents)(nil)).Elem(),
	"WantInterfaceEventsReply":         reflect.TypeOf((*WantInterfaceEventsReply)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewCreateLoopback added in v1.0.8

func NewCreateLoopback() api.Message

func NewCreateLoopbackInstance added in v1.0.8

func NewCreateLoopbackInstance() api.Message

func NewCreateLoopbackInstanceReply added in v1.0.8

func NewCreateLoopbackInstanceReply() api.Message

func NewCreateLoopbackReply added in v1.0.8

func NewCreateLoopbackReply() api.Message

func NewCreateSubif added in v1.0.8

func NewCreateSubif() api.Message

func NewCreateSubifReply added in v1.0.8

func NewCreateSubifReply() api.Message

func NewCreateVlanSubif added in v1.0.8

func NewCreateVlanSubif() api.Message

func NewCreateVlanSubifReply added in v1.0.8

func NewCreateVlanSubifReply() api.Message

func NewDeleteLoopback added in v1.0.8

func NewDeleteLoopback() api.Message

func NewDeleteLoopbackReply added in v1.0.8

func NewDeleteLoopbackReply() api.Message

func NewDeleteSubif added in v1.0.8

func NewDeleteSubif() api.Message

func NewDeleteSubifReply added in v1.0.8

func NewDeleteSubifReply() api.Message

func NewInterfaceNameRenumber added in v1.0.8

func NewInterfaceNameRenumber() api.Message

func NewInterfaceNameRenumberReply added in v1.0.8

func NewInterfaceNameRenumberReply() api.Message

func NewSwInterfaceAddDelAddress

func NewSwInterfaceAddDelAddress() api.Message

func NewSwInterfaceAddDelAddressReply

func NewSwInterfaceAddDelAddressReply() api.Message

func NewSwInterfaceClearStats

func NewSwInterfaceClearStats() api.Message

func NewSwInterfaceClearStatsReply

func NewSwInterfaceClearStatsReply() api.Message

func NewSwInterfaceDetails

func NewSwInterfaceDetails() api.Message

func NewSwInterfaceDump

func NewSwInterfaceDump() api.Message

func NewSwInterfaceEvent

func NewSwInterfaceEvent() api.Message

func NewSwInterfaceGetTable

func NewSwInterfaceGetTable() api.Message

func NewSwInterfaceGetTableReply

func NewSwInterfaceGetTableReply() api.Message

func NewSwInterfaceSetFlags

func NewSwInterfaceSetFlags() api.Message

func NewSwInterfaceSetFlagsReply

func NewSwInterfaceSetFlagsReply() api.Message

func NewSwInterfaceSetMacAddress

func NewSwInterfaceSetMacAddress() api.Message

func NewSwInterfaceSetMacAddressReply

func NewSwInterfaceSetMacAddressReply() api.Message

func NewSwInterfaceSetMtu

func NewSwInterfaceSetMtu() api.Message

func NewSwInterfaceSetMtuReply

func NewSwInterfaceSetMtuReply() api.Message

func NewSwInterfaceSetRxMode added in v1.0.8

func NewSwInterfaceSetRxMode() api.Message

func NewSwInterfaceSetRxModeReply added in v1.0.8

func NewSwInterfaceSetRxModeReply() api.Message

func NewSwInterfaceSetTable

func NewSwInterfaceSetTable() api.Message

func NewSwInterfaceSetTableReply

func NewSwInterfaceSetTableReply() api.Message

func NewSwInterfaceSetUnnumbered

func NewSwInterfaceSetUnnumbered() api.Message

func NewSwInterfaceSetUnnumberedReply

func NewSwInterfaceSetUnnumberedReply() api.Message

func NewSwInterfaceTagAddDel

func NewSwInterfaceTagAddDel() api.Message

func NewSwInterfaceTagAddDelReply

func NewSwInterfaceTagAddDelReply() api.Message

func NewVnetInterfaceCombinedCounters

func NewVnetInterfaceCombinedCounters() api.Message

func NewVnetInterfaceSimpleCounters

func NewVnetInterfaceSimpleCounters() api.Message

func NewVnetPerInterfaceCombinedCounters added in v1.0.5

func NewVnetPerInterfaceCombinedCounters() api.Message

func NewVnetPerInterfaceSimpleCounters added in v1.0.5

func NewVnetPerInterfaceSimpleCounters() api.Message

func NewWantInterfaceEvents

func NewWantInterfaceEvents() api.Message

func NewWantInterfaceEventsReply

func NewWantInterfaceEventsReply() api.Message

Types

type CreateLoopback added in v1.0.8

type CreateLoopback struct {
	MacAddress []byte `struc:"[6]byte"`
}

CreateLoopback represents the VPP binary API message 'create_loopback'. Generated from '/usr/share/vpp/api/interface.api.json', line 344:

["create_loopback",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "mac_address", 6],
    {"crc" : "0xb2602de5"}
],

func (*CreateLoopback) GetCrcString added in v1.0.8

func (*CreateLoopback) GetCrcString() string

func (*CreateLoopback) GetMessageName added in v1.0.8

func (*CreateLoopback) GetMessageName() string

func (*CreateLoopback) GetMessageType added in v1.0.8

func (*CreateLoopback) GetMessageType() api.MessageType

type CreateLoopbackInstance added in v1.0.8

type CreateLoopbackInstance struct {
	MacAddress   []byte `struc:"[6]byte"`
	IsSpecified  uint8
	UserInstance uint32
}

CreateLoopbackInstance represents the VPP binary API message 'create_loopback_instance'. Generated from '/usr/share/vpp/api/interface.api.json', line 358:

["create_loopback_instance",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "mac_address", 6],
    ["u8", "is_specified"],
    ["u32", "user_instance"],
    {"crc" : "0x967694f1"}
],

func (*CreateLoopbackInstance) GetCrcString added in v1.0.8

func (*CreateLoopbackInstance) GetCrcString() string

func (*CreateLoopbackInstance) GetMessageName added in v1.0.8

func (*CreateLoopbackInstance) GetMessageName() string

func (*CreateLoopbackInstance) GetMessageType added in v1.0.8

func (*CreateLoopbackInstance) GetMessageType() api.MessageType

type CreateLoopbackInstanceReply added in v1.0.8

type CreateLoopbackInstanceReply struct {
	Retval    int32
	SwIfIndex uint32
}

CreateLoopbackInstanceReply represents the VPP binary API message 'create_loopback_instance_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 367:

["create_loopback_instance_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "sw_if_index"],
    {"crc" : "0xd52c63b6"}
],

func (*CreateLoopbackInstanceReply) GetCrcString added in v1.0.8

func (*CreateLoopbackInstanceReply) GetCrcString() string

func (*CreateLoopbackInstanceReply) GetMessageName added in v1.0.8

func (*CreateLoopbackInstanceReply) GetMessageName() string

func (*CreateLoopbackInstanceReply) GetMessageType added in v1.0.8

func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType

type CreateLoopbackReply added in v1.0.8

type CreateLoopbackReply struct {
	Retval    int32
	SwIfIndex uint32
}

CreateLoopbackReply represents the VPP binary API message 'create_loopback_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 351:

["create_loopback_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "sw_if_index"],
    {"crc" : "0x9520f804"}
],

func (*CreateLoopbackReply) GetCrcString added in v1.0.8

func (*CreateLoopbackReply) GetCrcString() string

func (*CreateLoopbackReply) GetMessageName added in v1.0.8

func (*CreateLoopbackReply) GetMessageName() string

func (*CreateLoopbackReply) GetMessageType added in v1.0.8

func (*CreateLoopbackReply) GetMessageType() api.MessageType

type CreateSubif added in v1.0.8

type CreateSubif struct {
	SwIfIndex      uint32
	SubID          uint32
	NoTags         uint8
	OneTag         uint8
	TwoTags        uint8
	Dot1ad         uint8
	ExactMatch     uint8
	DefaultSub     uint8
	OuterVlanIDAny uint8
	InnerVlanIDAny uint8
	OuterVlanID    uint16
	InnerVlanID    uint16
}

CreateSubif represents the VPP binary API message 'create_subif'. Generated from '/usr/share/vpp/api/interface.api.json', line 291:

["create_subif",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "sub_id"],
    ["u8", "no_tags"],
    ["u8", "one_tag"],
    ["u8", "two_tags"],
    ["u8", "dot1ad"],
    ["u8", "exact_match"],
    ["u8", "default_sub"],
    ["u8", "outer_vlan_id_any"],
    ["u8", "inner_vlan_id_any"],
    ["u16", "outer_vlan_id"],
    ["u16", "inner_vlan_id"],
    {"crc" : "0x150e6757"}
],

func (*CreateSubif) GetCrcString added in v1.0.8

func (*CreateSubif) GetCrcString() string

func (*CreateSubif) GetMessageName added in v1.0.8

func (*CreateSubif) GetMessageName() string

func (*CreateSubif) GetMessageType added in v1.0.8

func (*CreateSubif) GetMessageType() api.MessageType

type CreateSubifReply added in v1.0.8

type CreateSubifReply struct {
	Retval    int32
	SwIfIndex uint32
}

CreateSubifReply represents the VPP binary API message 'create_subif_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 309:

["create_subif_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "sw_if_index"],
    {"crc" : "0x92272bcb"}
],

func (*CreateSubifReply) GetCrcString added in v1.0.8

func (*CreateSubifReply) GetCrcString() string

func (*CreateSubifReply) GetMessageName added in v1.0.8

func (*CreateSubifReply) GetMessageName() string

func (*CreateSubifReply) GetMessageType added in v1.0.8

func (*CreateSubifReply) GetMessageType() api.MessageType

type CreateVlanSubif added in v1.0.8

type CreateVlanSubif struct {
	SwIfIndex uint32
	VlanID    uint32
}

CreateVlanSubif represents the VPP binary API message 'create_vlan_subif'. Generated from '/usr/share/vpp/api/interface.api.json', line 316:

["create_vlan_subif",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "vlan_id"],
    {"crc" : "0xaf9ae1e9"}
],

func (*CreateVlanSubif) GetCrcString added in v1.0.8

func (*CreateVlanSubif) GetCrcString() string

func (*CreateVlanSubif) GetMessageName added in v1.0.8

func (*CreateVlanSubif) GetMessageName() string

func (*CreateVlanSubif) GetMessageType added in v1.0.8

func (*CreateVlanSubif) GetMessageType() api.MessageType

type CreateVlanSubifReply added in v1.0.8

type CreateVlanSubifReply struct {
	Retval    int32
	SwIfIndex uint32
}

CreateVlanSubifReply represents the VPP binary API message 'create_vlan_subif_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 324:

["create_vlan_subif_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "sw_if_index"],
    {"crc" : "0x8f36b888"}
],

func (*CreateVlanSubifReply) GetCrcString added in v1.0.8

func (*CreateVlanSubifReply) GetCrcString() string

func (*CreateVlanSubifReply) GetMessageName added in v1.0.8

func (*CreateVlanSubifReply) GetMessageName() string

func (*CreateVlanSubifReply) GetMessageType added in v1.0.8

func (*CreateVlanSubifReply) GetMessageType() api.MessageType

type DeleteLoopback added in v1.0.8

type DeleteLoopback struct {
	SwIfIndex uint32
}

DeleteLoopback represents the VPP binary API message 'delete_loopback'. Generated from '/usr/share/vpp/api/interface.api.json', line 374:

["delete_loopback",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    {"crc" : "0xded428b0"}
],

func (*DeleteLoopback) GetCrcString added in v1.0.8

func (*DeleteLoopback) GetCrcString() string

func (*DeleteLoopback) GetMessageName added in v1.0.8

func (*DeleteLoopback) GetMessageName() string

func (*DeleteLoopback) GetMessageType added in v1.0.8

func (*DeleteLoopback) GetMessageType() api.MessageType

type DeleteLoopbackReply added in v1.0.8

type DeleteLoopbackReply struct {
	Retval int32
}

DeleteLoopbackReply represents the VPP binary API message 'delete_loopback_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 381:

["delete_loopback_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xc91dafa5"}
]

func (*DeleteLoopbackReply) GetCrcString added in v1.0.8

func (*DeleteLoopbackReply) GetCrcString() string

func (*DeleteLoopbackReply) GetMessageName added in v1.0.8

func (*DeleteLoopbackReply) GetMessageName() string

func (*DeleteLoopbackReply) GetMessageType added in v1.0.8

func (*DeleteLoopbackReply) GetMessageType() api.MessageType

type DeleteSubif added in v1.0.8

type DeleteSubif struct {
	SwIfIndex uint32
}

DeleteSubif represents the VPP binary API message 'delete_subif'. Generated from '/usr/share/vpp/api/interface.api.json', line 331:

["delete_subif",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    {"crc" : "0x6038f848"}
],

func (*DeleteSubif) GetCrcString added in v1.0.8

func (*DeleteSubif) GetCrcString() string

func (*DeleteSubif) GetMessageName added in v1.0.8

func (*DeleteSubif) GetMessageName() string

func (*DeleteSubif) GetMessageType added in v1.0.8

func (*DeleteSubif) GetMessageType() api.MessageType

type DeleteSubifReply added in v1.0.8

type DeleteSubifReply struct {
	Retval int32
}

DeleteSubifReply represents the VPP binary API message 'delete_subif_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 338:

["delete_subif_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x9d6015dc"}
],

func (*DeleteSubifReply) GetCrcString added in v1.0.8

func (*DeleteSubifReply) GetCrcString() string

func (*DeleteSubifReply) GetMessageName added in v1.0.8

func (*DeleteSubifReply) GetMessageName() string

func (*DeleteSubifReply) GetMessageType added in v1.0.8

func (*DeleteSubifReply) GetMessageType() api.MessageType

type InterfaceNameRenumber added in v1.0.8

type InterfaceNameRenumber struct {
	SwIfIndex          uint32
	NewShowDevInstance uint32
}

InterfaceNameRenumber represents the VPP binary API message 'interface_name_renumber'. Generated from '/usr/share/vpp/api/interface.api.json', line 277:

["interface_name_renumber",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "new_show_dev_instance"],
    {"crc" : "0x11b7bcec"}
],

func (*InterfaceNameRenumber) GetCrcString added in v1.0.8

func (*InterfaceNameRenumber) GetCrcString() string

func (*InterfaceNameRenumber) GetMessageName added in v1.0.8

func (*InterfaceNameRenumber) GetMessageName() string

func (*InterfaceNameRenumber) GetMessageType added in v1.0.8

func (*InterfaceNameRenumber) GetMessageType() api.MessageType

type InterfaceNameRenumberReply added in v1.0.8

type InterfaceNameRenumberReply struct {
	Retval int32
}

InterfaceNameRenumberReply represents the VPP binary API message 'interface_name_renumber_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 285:

["interface_name_renumber_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x31594963"}
],

func (*InterfaceNameRenumberReply) GetCrcString added in v1.0.8

func (*InterfaceNameRenumberReply) GetCrcString() string

func (*InterfaceNameRenumberReply) GetMessageName added in v1.0.8

func (*InterfaceNameRenumberReply) GetMessageName() string

func (*InterfaceNameRenumberReply) GetMessageType added in v1.0.8

func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType

type SwInterfaceAddDelAddress

type SwInterfaceAddDelAddress struct {
	SwIfIndex     uint32
	IsAdd         uint8
	IsIpv6        uint8
	DelAll        uint8
	AddressLength uint8
	Address       []byte `struc:"[16]byte"`
}

SwInterfaceAddDelAddress represents the VPP binary API message 'sw_interface_add_del_address'. Generated from '/usr/share/vpp/api/interface.api.json', line 126:

["sw_interface_add_del_address",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "is_add"],
    ["u8", "is_ipv6"],
    ["u8", "del_all"],
    ["u8", "address_length"],
    ["u8", "address", 16],
    {"crc" : "0x4e24d2df"}
],

func (*SwInterfaceAddDelAddress) GetCrcString

func (*SwInterfaceAddDelAddress) GetCrcString() string

func (*SwInterfaceAddDelAddress) GetMessageName

func (*SwInterfaceAddDelAddress) GetMessageName() string

func (*SwInterfaceAddDelAddress) GetMessageType

func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType

type SwInterfaceAddDelAddressReply

type SwInterfaceAddDelAddressReply struct {
	Retval int32
}

SwInterfaceAddDelAddressReply represents the VPP binary API message 'sw_interface_add_del_address_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 138:

["sw_interface_add_del_address_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xabe29452"}
],

func (*SwInterfaceAddDelAddressReply) GetCrcString

func (*SwInterfaceAddDelAddressReply) GetCrcString() string

func (*SwInterfaceAddDelAddressReply) GetMessageName

func (*SwInterfaceAddDelAddressReply) GetMessageName() string

func (*SwInterfaceAddDelAddressReply) GetMessageType

func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType

type SwInterfaceClearStats

type SwInterfaceClearStats struct {
	SwIfIndex uint32
}

SwInterfaceClearStats represents the VPP binary API message 'sw_interface_clear_stats'. Generated from '/usr/share/vpp/api/interface.api.json', line 219:

["sw_interface_clear_stats",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    {"crc" : "0x9600fd50"}
],

func (*SwInterfaceClearStats) GetCrcString

func (*SwInterfaceClearStats) GetCrcString() string

func (*SwInterfaceClearStats) GetMessageName

func (*SwInterfaceClearStats) GetMessageName() string

func (*SwInterfaceClearStats) GetMessageType

func (*SwInterfaceClearStats) GetMessageType() api.MessageType

type SwInterfaceClearStatsReply

type SwInterfaceClearStatsReply struct {
	Retval int32
}

SwInterfaceClearStatsReply represents the VPP binary API message 'sw_interface_clear_stats_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 226:

["sw_interface_clear_stats_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x21f50dd9"}
],

func (*SwInterfaceClearStatsReply) GetCrcString

func (*SwInterfaceClearStatsReply) GetCrcString() string

func (*SwInterfaceClearStatsReply) GetMessageName

func (*SwInterfaceClearStatsReply) GetMessageName() string

func (*SwInterfaceClearStatsReply) GetMessageType

func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType

type SwInterfaceDetails

type SwInterfaceDetails struct {
	SwIfIndex         uint32
	SupSwIfIndex      uint32
	L2AddressLength   uint32
	L2Address         []byte `struc:"[8]byte"`
	InterfaceName     []byte `struc:"[64]byte"`
	AdminUpDown       uint8
	LinkUpDown        uint8
	LinkDuplex        uint8
	LinkSpeed         uint8
	LinkMtu           uint16
	SubID             uint32
	SubDot1ad         uint8
	SubDot1ah         uint8
	SubNumberOfTags   uint8
	SubOuterVlanID    uint16
	SubInnerVlanID    uint16
	SubExactMatch     uint8
	SubDefault        uint8
	SubOuterVlanIDAny uint8
	SubInnerVlanIDAny uint8
	VtrOp             uint32
	VtrPushDot1q      uint32
	VtrTag1           uint32
	VtrTag2           uint32
	Tag               []byte `struc:"[64]byte"`
	OuterTag          uint16
	BDmac             []byte `struc:"[6]byte"`
	BSmac             []byte `struc:"[6]byte"`
	BVlanid           uint16
	ISid              uint32
}

SwInterfaceDetails represents the VPP binary API message 'sw_interface_details'. Generated from '/usr/share/vpp/api/interface.api.json', line 83:

["sw_interface_details",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "sup_sw_if_index"],
    ["u32", "l2_address_length"],
    ["u8", "l2_address", 8],
    ["u8", "interface_name", 64],
    ["u8", "admin_up_down"],
    ["u8", "link_up_down"],
    ["u8", "link_duplex"],
    ["u8", "link_speed"],
    ["u16", "link_mtu"],
    ["u32", "sub_id"],
    ["u8", "sub_dot1ad"],
    ["u8", "sub_dot1ah"],
    ["u8", "sub_number_of_tags"],
    ["u16", "sub_outer_vlan_id"],
    ["u16", "sub_inner_vlan_id"],
    ["u8", "sub_exact_match"],
    ["u8", "sub_default"],
    ["u8", "sub_outer_vlan_id_any"],
    ["u8", "sub_inner_vlan_id_any"],
    ["u32", "vtr_op"],
    ["u32", "vtr_push_dot1q"],
    ["u32", "vtr_tag1"],
    ["u32", "vtr_tag2"],
    ["u8", "tag", 64],
    ["u16", "outer_tag"],
    ["u8", "b_dmac", 6],
    ["u8", "b_smac", 6],
    ["u16", "b_vlanid"],
    ["u32", "i_sid"],
    {"crc" : "0xe2d855bb"}
],

func (*SwInterfaceDetails) GetCrcString

func (*SwInterfaceDetails) GetCrcString() string

func (*SwInterfaceDetails) GetMessageName

func (*SwInterfaceDetails) GetMessageName() string

func (*SwInterfaceDetails) GetMessageType

func (*SwInterfaceDetails) GetMessageType() api.MessageType

type SwInterfaceDump

type SwInterfaceDump struct {
	NameFilterValid uint8
	NameFilter      []byte `struc:"[49]byte"`
}

SwInterfaceDump represents the VPP binary API message 'sw_interface_dump'. Generated from '/usr/share/vpp/api/interface.api.json', line 118:

["sw_interface_dump",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "name_filter_valid"],
    ["u8", "name_filter", 49],
    {"crc" : "0x9a2f9d4d"}
],

func (*SwInterfaceDump) GetCrcString

func (*SwInterfaceDump) GetCrcString() string

func (*SwInterfaceDump) GetMessageName

func (*SwInterfaceDump) GetMessageName() string

func (*SwInterfaceDump) GetMessageType

func (*SwInterfaceDump) GetMessageType() api.MessageType

type SwInterfaceEvent

type SwInterfaceEvent struct {
	Pid         uint32
	SwIfIndex   uint32
	AdminUpDown uint8
	LinkUpDown  uint8
	Deleted     uint8
}

SwInterfaceEvent represents the VPP binary API message 'sw_interface_event'. Generated from '/usr/share/vpp/api/interface.api.json', line 59:

["sw_interface_event",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "pid"],
    ["u32", "sw_if_index"],
    ["u8", "admin_up_down"],
    ["u8", "link_up_down"],
    ["u8", "deleted"],
    {"crc" : "0xbf7f46f2"}
],

func (*SwInterfaceEvent) GetCrcString

func (*SwInterfaceEvent) GetCrcString() string

func (*SwInterfaceEvent) GetMessageName

func (*SwInterfaceEvent) GetMessageName() string

func (*SwInterfaceEvent) GetMessageType

func (*SwInterfaceEvent) GetMessageType() api.MessageType

type SwInterfaceGetTable

type SwInterfaceGetTable struct {
	SwIfIndex uint32
	IsIpv6    uint8
}

SwInterfaceGetTable represents the VPP binary API message 'sw_interface_get_table'. Generated from '/usr/share/vpp/api/interface.api.json', line 159:

["sw_interface_get_table",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "is_ipv6"],
    {"crc" : "0xf5a1d557"}
],

func (*SwInterfaceGetTable) GetCrcString

func (*SwInterfaceGetTable) GetCrcString() string

func (*SwInterfaceGetTable) GetMessageName

func (*SwInterfaceGetTable) GetMessageName() string

func (*SwInterfaceGetTable) GetMessageType

func (*SwInterfaceGetTable) GetMessageType() api.MessageType

type SwInterfaceGetTableReply

type SwInterfaceGetTableReply struct {
	Retval int32
	VrfID  uint32
}

SwInterfaceGetTableReply represents the VPP binary API message 'sw_interface_get_table_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 167:

["sw_interface_get_table_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "vrf_id"],
    {"crc" : "0xab44111d"}
],

func (*SwInterfaceGetTableReply) GetCrcString

func (*SwInterfaceGetTableReply) GetCrcString() string

func (*SwInterfaceGetTableReply) GetMessageName

func (*SwInterfaceGetTableReply) GetMessageName() string

func (*SwInterfaceGetTableReply) GetMessageType

func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType

type SwInterfaceSetFlags

type SwInterfaceSetFlags struct {
	SwIfIndex   uint32
	AdminUpDown uint8
}

SwInterfaceSetFlags represents the VPP binary API message 'sw_interface_set_flags'. Generated from '/usr/share/vpp/api/interface.api.json', line 31:

["sw_interface_set_flags",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "admin_up_down"],
    {"crc" : "0xf890584a"}
],

func (*SwInterfaceSetFlags) GetCrcString

func (*SwInterfaceSetFlags) GetCrcString() string

func (*SwInterfaceSetFlags) GetMessageName

func (*SwInterfaceSetFlags) GetMessageName() string

func (*SwInterfaceSetFlags) GetMessageType

func (*SwInterfaceSetFlags) GetMessageType() api.MessageType

type SwInterfaceSetFlagsReply

type SwInterfaceSetFlagsReply struct {
	Retval int32
}

SwInterfaceSetFlagsReply represents the VPP binary API message 'sw_interface_set_flags_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 39:

["sw_interface_set_flags_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xdfbf3afa"}
],

func (*SwInterfaceSetFlagsReply) GetCrcString

func (*SwInterfaceSetFlagsReply) GetCrcString() string

func (*SwInterfaceSetFlagsReply) GetMessageName

func (*SwInterfaceSetFlagsReply) GetMessageName() string

func (*SwInterfaceSetFlagsReply) GetMessageType

func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType

type SwInterfaceSetMacAddress

type SwInterfaceSetMacAddress struct {
	SwIfIndex  uint32
	MacAddress []byte `struc:"[6]byte"`
}

SwInterfaceSetMacAddress represents the VPP binary API message 'sw_interface_set_mac_address'. Generated from '/usr/share/vpp/api/interface.api.json', line 247:

["sw_interface_set_mac_address",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "mac_address", 6],
    {"crc" : "0xe4f22660"}
],

func (*SwInterfaceSetMacAddress) GetCrcString

func (*SwInterfaceSetMacAddress) GetCrcString() string

func (*SwInterfaceSetMacAddress) GetMessageName

func (*SwInterfaceSetMacAddress) GetMessageName() string

func (*SwInterfaceSetMacAddress) GetMessageType

func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType

type SwInterfaceSetMacAddressReply

type SwInterfaceSetMacAddressReply struct {
	Retval int32
}

SwInterfaceSetMacAddressReply represents the VPP binary API message 'sw_interface_set_mac_address_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 255:

["sw_interface_set_mac_address_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x9dc8a452"}
],

func (*SwInterfaceSetMacAddressReply) GetCrcString

func (*SwInterfaceSetMacAddressReply) GetCrcString() string

func (*SwInterfaceSetMacAddressReply) GetMessageName

func (*SwInterfaceSetMacAddressReply) GetMessageName() string

func (*SwInterfaceSetMacAddressReply) GetMessageType

func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType

type SwInterfaceSetMtu

type SwInterfaceSetMtu struct {
	SwIfIndex uint32
	Mtu       uint16
}

SwInterfaceSetMtu represents the VPP binary API message 'sw_interface_set_mtu'. Generated from '/usr/share/vpp/api/interface.api.json', line 45:

["sw_interface_set_mtu",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u16", "mtu"],
    {"crc" : "0x535dab1d"}
],

func (*SwInterfaceSetMtu) GetCrcString

func (*SwInterfaceSetMtu) GetCrcString() string

func (*SwInterfaceSetMtu) GetMessageName

func (*SwInterfaceSetMtu) GetMessageName() string

func (*SwInterfaceSetMtu) GetMessageType

func (*SwInterfaceSetMtu) GetMessageType() api.MessageType

type SwInterfaceSetMtuReply

type SwInterfaceSetMtuReply struct {
	Retval int32
}

SwInterfaceSetMtuReply represents the VPP binary API message 'sw_interface_set_mtu_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 53:

["sw_interface_set_mtu_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x0cc22552"}
],

func (*SwInterfaceSetMtuReply) GetCrcString

func (*SwInterfaceSetMtuReply) GetCrcString() string

func (*SwInterfaceSetMtuReply) GetMessageName

func (*SwInterfaceSetMtuReply) GetMessageName() string

func (*SwInterfaceSetMtuReply) GetMessageType

func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType

type SwInterfaceSetRxMode added in v1.0.8

type SwInterfaceSetRxMode struct {
	SwIfIndex    uint32
	QueueIDValid uint8
	QueueID      uint32
	Mode         uint8
}

SwInterfaceSetRxMode represents the VPP binary API message 'sw_interface_set_rx_mode'. Generated from '/usr/share/vpp/api/interface.api.json', line 261:

["sw_interface_set_rx_mode",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "queue_id_valid"],
    ["u32", "queue_id"],
    ["u8", "mode"],
    {"crc" : "0xc5aa8dda"}
],

func (*SwInterfaceSetRxMode) GetCrcString added in v1.0.8

func (*SwInterfaceSetRxMode) GetCrcString() string

func (*SwInterfaceSetRxMode) GetMessageName added in v1.0.8

func (*SwInterfaceSetRxMode) GetMessageName() string

func (*SwInterfaceSetRxMode) GetMessageType added in v1.0.8

func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType

type SwInterfaceSetRxModeReply added in v1.0.8

type SwInterfaceSetRxModeReply struct {
	Retval int32
}

SwInterfaceSetRxModeReply represents the VPP binary API message 'sw_interface_set_rx_mode_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 271:

["sw_interface_set_rx_mode_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x5fc3e318"}
],

func (*SwInterfaceSetRxModeReply) GetCrcString added in v1.0.8

func (*SwInterfaceSetRxModeReply) GetCrcString() string

func (*SwInterfaceSetRxModeReply) GetMessageName added in v1.0.8

func (*SwInterfaceSetRxModeReply) GetMessageName() string

func (*SwInterfaceSetRxModeReply) GetMessageType added in v1.0.8

func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType

type SwInterfaceSetTable

type SwInterfaceSetTable struct {
	SwIfIndex uint32
	IsIpv6    uint8
	VrfID     uint32
}

SwInterfaceSetTable represents the VPP binary API message 'sw_interface_set_table'. Generated from '/usr/share/vpp/api/interface.api.json', line 144:

["sw_interface_set_table",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "is_ipv6"],
    ["u32", "vrf_id"],
    {"crc" : "0xa94df510"}
],

func (*SwInterfaceSetTable) GetCrcString

func (*SwInterfaceSetTable) GetCrcString() string

func (*SwInterfaceSetTable) GetMessageName

func (*SwInterfaceSetTable) GetMessageName() string

func (*SwInterfaceSetTable) GetMessageType

func (*SwInterfaceSetTable) GetMessageType() api.MessageType

type SwInterfaceSetTableReply

type SwInterfaceSetTableReply struct {
	Retval int32
}

SwInterfaceSetTableReply represents the VPP binary API message 'sw_interface_set_table_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 153:

["sw_interface_set_table_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x99df273c"}
],

func (*SwInterfaceSetTableReply) GetCrcString

func (*SwInterfaceSetTableReply) GetCrcString() string

func (*SwInterfaceSetTableReply) GetMessageName

func (*SwInterfaceSetTableReply) GetMessageName() string

func (*SwInterfaceSetTableReply) GetMessageType

func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType

type SwInterfaceSetUnnumbered

type SwInterfaceSetUnnumbered struct {
	SwIfIndex           uint32
	UnnumberedSwIfIndex uint32
	IsAdd               uint8
}

SwInterfaceSetUnnumbered represents the VPP binary API message 'sw_interface_set_unnumbered'. Generated from '/usr/share/vpp/api/interface.api.json', line 204:

["sw_interface_set_unnumbered",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u32", "unnumbered_sw_if_index"],
    ["u8", "is_add"],
    {"crc" : "0xee0047b0"}
],

func (*SwInterfaceSetUnnumbered) GetCrcString

func (*SwInterfaceSetUnnumbered) GetCrcString() string

func (*SwInterfaceSetUnnumbered) GetMessageName

func (*SwInterfaceSetUnnumbered) GetMessageName() string

func (*SwInterfaceSetUnnumbered) GetMessageType

func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType

type SwInterfaceSetUnnumberedReply

type SwInterfaceSetUnnumberedReply struct {
	Retval int32
}

SwInterfaceSetUnnumberedReply represents the VPP binary API message 'sw_interface_set_unnumbered_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 213:

["sw_interface_set_unnumbered_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x5b2275e1"}
],

func (*SwInterfaceSetUnnumberedReply) GetCrcString

func (*SwInterfaceSetUnnumberedReply) GetCrcString() string

func (*SwInterfaceSetUnnumberedReply) GetMessageName

func (*SwInterfaceSetUnnumberedReply) GetMessageName() string

func (*SwInterfaceSetUnnumberedReply) GetMessageType

func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType

type SwInterfaceTagAddDel

type SwInterfaceTagAddDel struct {
	IsAdd     uint8
	SwIfIndex uint32
	Tag       []byte `struc:"[64]byte"`
}

SwInterfaceTagAddDel represents the VPP binary API message 'sw_interface_tag_add_del'. Generated from '/usr/share/vpp/api/interface.api.json', line 232:

["sw_interface_tag_add_del",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "is_add"],
    ["u32", "sw_if_index"],
    ["u8", "tag", 64],
    {"crc" : "0x50ae8d92"}
],

func (*SwInterfaceTagAddDel) GetCrcString

func (*SwInterfaceTagAddDel) GetCrcString() string

func (*SwInterfaceTagAddDel) GetMessageName

func (*SwInterfaceTagAddDel) GetMessageName() string

func (*SwInterfaceTagAddDel) GetMessageType

func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType

type SwInterfaceTagAddDelReply

type SwInterfaceTagAddDelReply struct {
	Retval int32
}

SwInterfaceTagAddDelReply represents the VPP binary API message 'sw_interface_tag_add_del_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 241:

["sw_interface_tag_add_del_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x761cbcb0"}
],

func (*SwInterfaceTagAddDelReply) GetCrcString

func (*SwInterfaceTagAddDelReply) GetCrcString() string

func (*SwInterfaceTagAddDelReply) GetMessageName

func (*SwInterfaceTagAddDelReply) GetMessageName() string

func (*SwInterfaceTagAddDelReply) GetMessageType

func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType

type VlibCounter

type VlibCounter struct {
	Packets uint64
	Bytes   uint64
}

VlibCounter represents the VPP binary API data type 'vlib_counter'. Generated from '/usr/share/vpp/api/interface.api.json', line 3:

["vlib_counter",
    ["u64", "packets"],
    ["u64", "bytes"],
    {"crc" : "0x62db67f0"}
],

func (*VlibCounter) GetCrcString

func (*VlibCounter) GetCrcString() string

func (*VlibCounter) GetTypeName

func (*VlibCounter) GetTypeName() string

type VnetCombinedCounter added in v1.0.5

type VnetCombinedCounter struct {
	SwIfIndex uint32
	RxPackets uint64
	RxBytes   uint64
	TxPackets uint64
	TxBytes   uint64
}

VnetCombinedCounter represents the VPP binary API data type 'vnet_combined_counter'. Generated from '/usr/share/vpp/api/interface.api.json', line 8:

["vnet_combined_counter",
    ["u32", "sw_if_index"],
    ["u64", "rx_packets"],
    ["u64", "rx_bytes"],
    ["u64", "tx_packets"],
    ["u64", "tx_bytes"],
    {"crc" : "0x0f3c951b"}
],

func (*VnetCombinedCounter) GetCrcString added in v1.0.5

func (*VnetCombinedCounter) GetCrcString() string

func (*VnetCombinedCounter) GetTypeName added in v1.0.5

func (*VnetCombinedCounter) GetTypeName() string

type VnetInterfaceCombinedCounters

type VnetInterfaceCombinedCounters struct {
	VnetCounterType uint8
	FirstSwIfIndex  uint32
	Count           uint32 `struc:"sizeof=Data"`
	Data            []VlibCounter
}

VnetInterfaceCombinedCounters represents the VPP binary API message 'vnet_interface_combined_counters'. Generated from '/usr/share/vpp/api/interface.api.json', line 182:

["vnet_interface_combined_counters",
    ["u16", "_vl_msg_id"],
    ["u8", "vnet_counter_type"],
    ["u32", "first_sw_if_index"],
    ["u32", "count"],
    ["vl_api_vlib_counter_t", "data", 0, "count"],
    {"crc" : "0xd82426e3"}
],

func (*VnetInterfaceCombinedCounters) GetCrcString

func (*VnetInterfaceCombinedCounters) GetCrcString() string

func (*VnetInterfaceCombinedCounters) GetMessageName

func (*VnetInterfaceCombinedCounters) GetMessageName() string

func (*VnetInterfaceCombinedCounters) GetMessageType

func (*VnetInterfaceCombinedCounters) GetMessageType() api.MessageType

type VnetInterfaceSimpleCounters

type VnetInterfaceSimpleCounters struct {
	VnetCounterType uint8
	FirstSwIfIndex  uint32
	Count           uint32 `struc:"sizeof=Data"`
	Data            []uint64
}

VnetInterfaceSimpleCounters represents the VPP binary API message 'vnet_interface_simple_counters'. Generated from '/usr/share/vpp/api/interface.api.json', line 174:

["vnet_interface_simple_counters",
    ["u16", "_vl_msg_id"],
    ["u8", "vnet_counter_type"],
    ["u32", "first_sw_if_index"],
    ["u32", "count"],
    ["u64", "data", 0, "count"],
    {"crc" : "0x302f0983"}
],

func (*VnetInterfaceSimpleCounters) GetCrcString

func (*VnetInterfaceSimpleCounters) GetCrcString() string

func (*VnetInterfaceSimpleCounters) GetMessageName

func (*VnetInterfaceSimpleCounters) GetMessageName() string

func (*VnetInterfaceSimpleCounters) GetMessageType

func (*VnetInterfaceSimpleCounters) GetMessageType() api.MessageType

type VnetPerInterfaceCombinedCounters added in v1.0.5

type VnetPerInterfaceCombinedCounters struct {
	Count     uint32 `struc:"sizeof=Data"`
	Timestamp uint32
	Data      []VnetCombinedCounter
}

VnetPerInterfaceCombinedCounters represents the VPP binary API message 'vnet_per_interface_combined_counters'. Generated from '/usr/share/vpp/api/interface.api.json', line 197:

["vnet_per_interface_combined_counters",
    ["u16", "_vl_msg_id"],
    ["u32", "count"],
    ["u32", "timestamp"],
    ["vl_api_vnet_combined_counter_t", "data", 0, "count"],
    {"crc" : "0xbf35dfbe"}
],

func (*VnetPerInterfaceCombinedCounters) GetCrcString added in v1.0.5

func (*VnetPerInterfaceCombinedCounters) GetCrcString() string

func (*VnetPerInterfaceCombinedCounters) GetMessageName added in v1.0.5

func (*VnetPerInterfaceCombinedCounters) GetMessageName() string

func (*VnetPerInterfaceCombinedCounters) GetMessageType added in v1.0.5

type VnetPerInterfaceSimpleCounters added in v1.0.5

type VnetPerInterfaceSimpleCounters struct {
	Count     uint32 `struc:"sizeof=Data"`
	Timestamp uint32
	Data      []VnetSimpleCounter
}

VnetPerInterfaceSimpleCounters represents the VPP binary API message 'vnet_per_interface_simple_counters'. Generated from '/usr/share/vpp/api/interface.api.json', line 190:

["vnet_per_interface_simple_counters",
    ["u16", "_vl_msg_id"],
    ["u32", "count"],
    ["u32", "timestamp"],
    ["vl_api_vnet_simple_counter_t", "data", 0, "count"],
    {"crc" : "0x7df05633"}
],

func (*VnetPerInterfaceSimpleCounters) GetCrcString added in v1.0.5

func (*VnetPerInterfaceSimpleCounters) GetCrcString() string

func (*VnetPerInterfaceSimpleCounters) GetMessageName added in v1.0.5

func (*VnetPerInterfaceSimpleCounters) GetMessageName() string

func (*VnetPerInterfaceSimpleCounters) GetMessageType added in v1.0.5

type VnetSimpleCounter added in v1.0.5

type VnetSimpleCounter struct {
	SwIfIndex  uint32
	Drop       uint64
	Punt       uint64
	RxIP4      uint64
	RxIP6      uint64
	RxNoBuffer uint64
	RxMiss     uint64
	RxError    uint64
	TxError    uint64
	RxMpls     uint64
}

VnetSimpleCounter represents the VPP binary API data type 'vnet_simple_counter'. Generated from '/usr/share/vpp/api/interface.api.json', line 16:

["vnet_simple_counter",
    ["u32", "sw_if_index"],
    ["u64", "drop"],
    ["u64", "punt"],
    ["u64", "rx_ip4"],
    ["u64", "rx_ip6"],
    ["u64", "rx_no_buffer"],
    ["u64", "rx_miss"],
    ["u64", "rx_error"],
    ["u64", "tx_error"],
    ["u64", "rx_mpls"],
    {"crc" : "0x84763938"}
]

func (*VnetSimpleCounter) GetCrcString added in v1.0.5

func (*VnetSimpleCounter) GetCrcString() string

func (*VnetSimpleCounter) GetTypeName added in v1.0.5

func (*VnetSimpleCounter) GetTypeName() string

type WantInterfaceEvents

type WantInterfaceEvents struct {
	EnableDisable uint32
	Pid           uint32
}

WantInterfaceEvents represents the VPP binary API message 'want_interface_events'. Generated from '/usr/share/vpp/api/interface.api.json', line 69:

["want_interface_events",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "enable_disable"],
    ["u32", "pid"],
    {"crc" : "0xa0cbf57e"}
],

func (*WantInterfaceEvents) GetCrcString

func (*WantInterfaceEvents) GetCrcString() string

func (*WantInterfaceEvents) GetMessageName

func (*WantInterfaceEvents) GetMessageName() string

func (*WantInterfaceEvents) GetMessageType

func (*WantInterfaceEvents) GetMessageType() api.MessageType

type WantInterfaceEventsReply

type WantInterfaceEventsReply struct {
	Retval int32
}

WantInterfaceEventsReply represents the VPP binary API message 'want_interface_events_reply'. Generated from '/usr/share/vpp/api/interface.api.json', line 77:

["want_interface_events_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0x33788c73"}
],

func (*WantInterfaceEventsReply) GetCrcString

func (*WantInterfaceEventsReply) GetCrcString() string

func (*WantInterfaceEventsReply) GetMessageName

func (*WantInterfaceEventsReply) GetMessageName() string

func (*WantInterfaceEventsReply) GetMessageType

func (*WantInterfaceEventsReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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