interfaces

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package interfaces represents the VPP binary API of the 'interfaces' VPP module. DO NOT EDIT. Generated from '/usr/share/vpp/api/interface.api.json'

Index

Constants

View Source
const VlAPIVersion = 0x0e883622

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{
	"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),
	"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),
	"NewWantInterfaceEvents":           reflect.ValueOf(NewWantInterfaceEvents),
	"NewWantInterfaceEventsReply":      reflect.ValueOf(NewWantInterfaceEventsReply),
}
View Source
var Types = map[string]reflect.Type{
	"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(),
	"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(),
	"VnetInterfaceCombinedCounters": reflect.TypeOf((*VnetInterfaceCombinedCounters)(nil)).Elem(),
	"VnetInterfaceSimpleCounters":   reflect.TypeOf((*VnetInterfaceSimpleCounters)(nil)).Elem(),
	"WantInterfaceEvents":           reflect.TypeOf((*WantInterfaceEvents)(nil)).Elem(),
	"WantInterfaceEventsReply":      reflect.TypeOf((*WantInterfaceEventsReply)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

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

func NewWantInterfaceEvents() api.Message

func NewWantInterfaceEventsReply

func NewWantInterfaceEventsReply() api.Message

Types

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

["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 117:

["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 184:

["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 191:

["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 62:

["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 97:

["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 38:

["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 138:

["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 146:

["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 10:

["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 18:

["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 212:

["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 220:

["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 24:

["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 32:

["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 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 123:

["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 132:

["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 169:

["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 178:

["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 197:

["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 206:

["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 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 161:

["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 153:

["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 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 48:

["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 56:

["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