Documentation
¶
Overview ¶
Package interfaces is a generated from VPP binary API module 'interface'. It contains following objects: 51 messages 3 types 25 services
Index ¶
- type CollectDetailedInterfaceStats
- type CollectDetailedInterfaceStatsReply
- type CreateLoopback
- type CreateLoopbackInstance
- type CreateLoopbackInstanceReply
- type CreateLoopbackReply
- type CreateSubif
- type CreateSubifReply
- type CreateVlanSubif
- type CreateVlanSubifReply
- type DeleteLoopback
- type DeleteLoopbackReply
- type DeleteSubif
- type DeleteSubifReply
- type HwInterfaceSetMtu
- type HwInterfaceSetMtuReply
- type InterfaceNameRenumber
- type InterfaceNameRenumberReply
- type Services
- type SwInterfaceAddDelAddress
- type SwInterfaceAddDelAddressReply
- type SwInterfaceClearStats
- type SwInterfaceClearStatsReply
- type SwInterfaceDetails
- type SwInterfaceDump
- type SwInterfaceEvent
- type SwInterfaceGetMacAddress
- type SwInterfaceGetMacAddressReply
- type SwInterfaceGetTable
- type SwInterfaceGetTableReply
- type SwInterfaceRxPlacementDetails
- type SwInterfaceRxPlacementDump
- type SwInterfaceSetFlags
- type SwInterfaceSetFlagsReply
- type SwInterfaceSetIPDirectedBroadcast
- type SwInterfaceSetIPDirectedBroadcastReply
- type SwInterfaceSetMacAddress
- type SwInterfaceSetMacAddressReply
- type SwInterfaceSetMtu
- type SwInterfaceSetMtuReply
- type SwInterfaceSetRxMode
- type SwInterfaceSetRxModeReply
- type SwInterfaceSetRxPlacement
- type SwInterfaceSetRxPlacementReply
- type SwInterfaceSetTable
- type SwInterfaceSetTableReply
- type SwInterfaceSetUnnumbered
- type SwInterfaceSetUnnumberedReply
- type SwInterfaceTagAddDel
- type SwInterfaceTagAddDelReply
- type VlibCounter
- type VnetCombinedCounter
- type VnetSimpleCounter
- type WantInterfaceEvents
- type WantInterfaceEventsReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectDetailedInterfaceStats ¶
CollectDetailedInterfaceStats represents the VPP binary API message 'collect_detailed_interface_stats'.
"collect_detailed_interface_stats",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"enable_disable"
],
{
"crc": "0x69d24598"
}
func (*CollectDetailedInterfaceStats) GetCrcString ¶
func (*CollectDetailedInterfaceStats) GetCrcString() string
func (*CollectDetailedInterfaceStats) GetMessageName ¶
func (*CollectDetailedInterfaceStats) GetMessageName() string
func (*CollectDetailedInterfaceStats) GetMessageType ¶
func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType
type CollectDetailedInterfaceStatsReply ¶
type CollectDetailedInterfaceStatsReply struct {
Retval int32
}
CollectDetailedInterfaceStatsReply represents the VPP binary API message 'collect_detailed_interface_stats_reply'.
"collect_detailed_interface_stats_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*CollectDetailedInterfaceStatsReply) GetCrcString ¶
func (*CollectDetailedInterfaceStatsReply) GetCrcString() string
func (*CollectDetailedInterfaceStatsReply) GetMessageName ¶
func (*CollectDetailedInterfaceStatsReply) GetMessageName() string
func (*CollectDetailedInterfaceStatsReply) GetMessageType ¶
func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType
type CreateLoopback ¶
type CreateLoopback struct {
MacAddress []byte `struc:"[6]byte"`
}
CreateLoopback represents the VPP binary API message 'create_loopback'.
"create_loopback",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"mac_address",
6
],
{
"crc": "0x3b54129c"
}
func (*CreateLoopback) GetCrcString ¶
func (*CreateLoopback) GetCrcString() string
func (*CreateLoopback) GetMessageName ¶
func (*CreateLoopback) GetMessageName() string
func (*CreateLoopback) GetMessageType ¶
func (*CreateLoopback) GetMessageType() api.MessageType
type CreateLoopbackInstance ¶
type CreateLoopbackInstance struct {
MacAddress []byte `struc:"[6]byte"`
IsSpecified uint8
UserInstance uint32
}
CreateLoopbackInstance represents the VPP binary API message 'create_loopback_instance'.
"create_loopback_instance",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"mac_address",
6
],
[
"u8",
"is_specified"
],
[
"u32",
"user_instance"
],
{
"crc": "0x7bbd53b6"
}
func (*CreateLoopbackInstance) GetCrcString ¶
func (*CreateLoopbackInstance) GetCrcString() string
func (*CreateLoopbackInstance) GetMessageName ¶
func (*CreateLoopbackInstance) GetMessageName() string
func (*CreateLoopbackInstance) GetMessageType ¶
func (*CreateLoopbackInstance) GetMessageType() api.MessageType
type CreateLoopbackInstanceReply ¶
CreateLoopbackInstanceReply represents the VPP binary API message 'create_loopback_instance_reply'.
"create_loopback_instance_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0xfda5941f"
}
func (*CreateLoopbackInstanceReply) GetCrcString ¶
func (*CreateLoopbackInstanceReply) GetCrcString() string
func (*CreateLoopbackInstanceReply) GetMessageName ¶
func (*CreateLoopbackInstanceReply) GetMessageName() string
func (*CreateLoopbackInstanceReply) GetMessageType ¶
func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType
type CreateLoopbackReply ¶
CreateLoopbackReply represents the VPP binary API message 'create_loopback_reply'.
"create_loopback_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0xfda5941f"
}
func (*CreateLoopbackReply) GetCrcString ¶
func (*CreateLoopbackReply) GetCrcString() string
func (*CreateLoopbackReply) GetMessageName ¶
func (*CreateLoopbackReply) GetMessageName() string
func (*CreateLoopbackReply) GetMessageType ¶
func (*CreateLoopbackReply) GetMessageType() api.MessageType
type CreateSubif ¶
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'.
"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": "0x86cfe408"
}
func (*CreateSubif) GetCrcString ¶
func (*CreateSubif) GetCrcString() string
func (*CreateSubif) GetMessageName ¶
func (*CreateSubif) GetMessageName() string
func (*CreateSubif) GetMessageType ¶
func (*CreateSubif) GetMessageType() api.MessageType
type CreateSubifReply ¶
CreateSubifReply represents the VPP binary API message 'create_subif_reply'.
"create_subif_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0xfda5941f"
}
func (*CreateSubifReply) GetCrcString ¶
func (*CreateSubifReply) GetCrcString() string
func (*CreateSubifReply) GetMessageName ¶
func (*CreateSubifReply) GetMessageName() string
func (*CreateSubifReply) GetMessageType ¶
func (*CreateSubifReply) GetMessageType() api.MessageType
type CreateVlanSubif ¶
CreateVlanSubif represents the VPP binary API message 'create_vlan_subif'.
"create_vlan_subif",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"vlan_id"
],
{
"crc": "0x70cadeda"
}
func (*CreateVlanSubif) GetCrcString ¶
func (*CreateVlanSubif) GetCrcString() string
func (*CreateVlanSubif) GetMessageName ¶
func (*CreateVlanSubif) GetMessageName() string
func (*CreateVlanSubif) GetMessageType ¶
func (*CreateVlanSubif) GetMessageType() api.MessageType
type CreateVlanSubifReply ¶
CreateVlanSubifReply represents the VPP binary API message 'create_vlan_subif_reply'.
"create_vlan_subif_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0xfda5941f"
}
func (*CreateVlanSubifReply) GetCrcString ¶
func (*CreateVlanSubifReply) GetCrcString() string
func (*CreateVlanSubifReply) GetMessageName ¶
func (*CreateVlanSubifReply) GetMessageName() string
func (*CreateVlanSubifReply) GetMessageType ¶
func (*CreateVlanSubifReply) GetMessageType() api.MessageType
type DeleteLoopback ¶
type DeleteLoopback struct {
SwIfIndex uint32
}
DeleteLoopback represents the VPP binary API message 'delete_loopback'.
"delete_loopback",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0x529cb13f"
}
func (*DeleteLoopback) GetCrcString ¶
func (*DeleteLoopback) GetCrcString() string
func (*DeleteLoopback) GetMessageName ¶
func (*DeleteLoopback) GetMessageName() string
func (*DeleteLoopback) GetMessageType ¶
func (*DeleteLoopback) GetMessageType() api.MessageType
type DeleteLoopbackReply ¶
type DeleteLoopbackReply struct {
Retval int32
}
DeleteLoopbackReply represents the VPP binary API message 'delete_loopback_reply'.
"delete_loopback_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*DeleteLoopbackReply) GetCrcString ¶
func (*DeleteLoopbackReply) GetCrcString() string
func (*DeleteLoopbackReply) GetMessageName ¶
func (*DeleteLoopbackReply) GetMessageName() string
func (*DeleteLoopbackReply) GetMessageType ¶
func (*DeleteLoopbackReply) GetMessageType() api.MessageType
type DeleteSubif ¶
type DeleteSubif struct {
SwIfIndex uint32
}
DeleteSubif represents the VPP binary API message 'delete_subif'.
"delete_subif",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0x529cb13f"
}
func (*DeleteSubif) GetCrcString ¶
func (*DeleteSubif) GetCrcString() string
func (*DeleteSubif) GetMessageName ¶
func (*DeleteSubif) GetMessageName() string
func (*DeleteSubif) GetMessageType ¶
func (*DeleteSubif) GetMessageType() api.MessageType
type DeleteSubifReply ¶
type DeleteSubifReply struct {
Retval int32
}
DeleteSubifReply represents the VPP binary API message 'delete_subif_reply'.
"delete_subif_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*DeleteSubifReply) GetCrcString ¶
func (*DeleteSubifReply) GetCrcString() string
func (*DeleteSubifReply) GetMessageName ¶
func (*DeleteSubifReply) GetMessageName() string
func (*DeleteSubifReply) GetMessageType ¶
func (*DeleteSubifReply) GetMessageType() api.MessageType
type HwInterfaceSetMtu ¶
HwInterfaceSetMtu represents the VPP binary API message 'hw_interface_set_mtu'.
"hw_interface_set_mtu",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u16",
"mtu"
],
{
"crc": "0x132da1e7"
}
func (*HwInterfaceSetMtu) GetCrcString ¶
func (*HwInterfaceSetMtu) GetCrcString() string
func (*HwInterfaceSetMtu) GetMessageName ¶
func (*HwInterfaceSetMtu) GetMessageName() string
func (*HwInterfaceSetMtu) GetMessageType ¶
func (*HwInterfaceSetMtu) GetMessageType() api.MessageType
type HwInterfaceSetMtuReply ¶
type HwInterfaceSetMtuReply struct {
Retval int32
}
HwInterfaceSetMtuReply represents the VPP binary API message 'hw_interface_set_mtu_reply'.
"hw_interface_set_mtu_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*HwInterfaceSetMtuReply) GetCrcString ¶
func (*HwInterfaceSetMtuReply) GetCrcString() string
func (*HwInterfaceSetMtuReply) GetMessageName ¶
func (*HwInterfaceSetMtuReply) GetMessageName() string
func (*HwInterfaceSetMtuReply) GetMessageType ¶
func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType
type InterfaceNameRenumber ¶
InterfaceNameRenumber represents the VPP binary API message 'interface_name_renumber'.
"interface_name_renumber",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"new_show_dev_instance"
],
{
"crc": "0x39194269"
}
func (*InterfaceNameRenumber) GetCrcString ¶
func (*InterfaceNameRenumber) GetCrcString() string
func (*InterfaceNameRenumber) GetMessageName ¶
func (*InterfaceNameRenumber) GetMessageName() string
func (*InterfaceNameRenumber) GetMessageType ¶
func (*InterfaceNameRenumber) GetMessageType() api.MessageType
type InterfaceNameRenumberReply ¶
type InterfaceNameRenumberReply struct {
Retval int32
}
InterfaceNameRenumberReply represents the VPP binary API message 'interface_name_renumber_reply'.
"interface_name_renumber_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*InterfaceNameRenumberReply) GetCrcString ¶
func (*InterfaceNameRenumberReply) GetCrcString() string
func (*InterfaceNameRenumberReply) GetMessageName ¶
func (*InterfaceNameRenumberReply) GetMessageName() string
func (*InterfaceNameRenumberReply) GetMessageType ¶
func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType
type Services ¶
type Services interface {
DumpSwInterface(*SwInterfaceDump) (*SwInterfaceDetails, error)
DumpSwInterfaceRxPlacement(*SwInterfaceRxPlacementDump) (*SwInterfaceRxPlacementDetails, error)
CollectDetailedInterfaceStats(*CollectDetailedInterfaceStats) (*CollectDetailedInterfaceStatsReply, error)
CreateLoopback(*CreateLoopback) (*CreateLoopbackReply, error)
CreateLoopbackInstance(*CreateLoopbackInstance) (*CreateLoopbackInstanceReply, error)
CreateSubif(*CreateSubif) (*CreateSubifReply, error)
CreateVlanSubif(*CreateVlanSubif) (*CreateVlanSubifReply, error)
DeleteLoopback(*DeleteLoopback) (*DeleteLoopbackReply, error)
DeleteSubif(*DeleteSubif) (*DeleteSubifReply, error)
HwInterfaceSetMtu(*HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error)
InterfaceNameRenumber(*InterfaceNameRenumber) (*InterfaceNameRenumberReply, error)
SwInterfaceAddDelAddress(*SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error)
SwInterfaceClearStats(*SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error)
SwInterfaceGetMacAddress(*SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error)
SwInterfaceGetTable(*SwInterfaceGetTable) (*SwInterfaceGetTableReply, error)
SwInterfaceSetFlags(*SwInterfaceSetFlags) (*SwInterfaceSetFlagsReply, error)
SwInterfaceSetIPDirectedBroadcast(*SwInterfaceSetIPDirectedBroadcast) (*SwInterfaceSetIPDirectedBroadcastReply, error)
SwInterfaceSetMacAddress(*SwInterfaceSetMacAddress) (*SwInterfaceSetMacAddressReply, error)
SwInterfaceSetMtu(*SwInterfaceSetMtu) (*SwInterfaceSetMtuReply, error)
SwInterfaceSetRxMode(*SwInterfaceSetRxMode) (*SwInterfaceSetRxModeReply, error)
SwInterfaceSetRxPlacement(*SwInterfaceSetRxPlacement) (*SwInterfaceSetRxPlacementReply, error)
SwInterfaceSetTable(*SwInterfaceSetTable) (*SwInterfaceSetTableReply, error)
SwInterfaceSetUnnumbered(*SwInterfaceSetUnnumbered) (*SwInterfaceSetUnnumberedReply, error)
SwInterfaceTagAddDel(*SwInterfaceTagAddDel) (*SwInterfaceTagAddDelReply, error)
WantInterfaceEvents(*WantInterfaceEvents) (*WantInterfaceEventsReply, error)
}
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'.
"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": "0x7b583179"
}
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'.
"sw_interface_add_del_address_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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'.
"sw_interface_clear_stats",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0x529cb13f"
}
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'.
"sw_interface_clear_stats_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
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 uint32
LinkMtu uint16
Mtu []uint32 `struc:"[4]uint32"`
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'.
"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"
],
[
"u32",
"link_speed"
],
[
"u16",
"link_mtu"
],
[
"u32",
"mtu",
4
],
[
"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": "0xe4ee7eb6"
}
func (*SwInterfaceDetails) GetCrcString ¶
func (*SwInterfaceDetails) GetCrcString() string
func (*SwInterfaceDetails) GetMessageName ¶
func (*SwInterfaceDetails) GetMessageName() string
func (*SwInterfaceDetails) GetMessageType ¶
func (*SwInterfaceDetails) GetMessageType() api.MessageType
type SwInterfaceDump ¶
SwInterfaceDump represents the VPP binary API message 'sw_interface_dump'.
"sw_interface_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"name_filter_valid"
],
[
"u8",
"name_filter",
49
],
{
"crc": "0x63f5e3b7"
}
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'.
"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": "0xbf9938e4"
}
func (*SwInterfaceEvent) GetCrcString ¶
func (*SwInterfaceEvent) GetCrcString() string
func (*SwInterfaceEvent) GetMessageName ¶
func (*SwInterfaceEvent) GetMessageName() string
func (*SwInterfaceEvent) GetMessageType ¶
func (*SwInterfaceEvent) GetMessageType() api.MessageType
type SwInterfaceGetMacAddress ¶
type SwInterfaceGetMacAddress struct {
SwIfIndex uint32
}
SwInterfaceGetMacAddress represents the VPP binary API message 'sw_interface_get_mac_address'.
"sw_interface_get_mac_address",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0x529cb13f"
}
func (*SwInterfaceGetMacAddress) GetCrcString ¶
func (*SwInterfaceGetMacAddress) GetCrcString() string
func (*SwInterfaceGetMacAddress) GetMessageName ¶
func (*SwInterfaceGetMacAddress) GetMessageName() string
func (*SwInterfaceGetMacAddress) GetMessageType ¶
func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType
type SwInterfaceGetMacAddressReply ¶
SwInterfaceGetMacAddressReply represents the VPP binary API message 'sw_interface_get_mac_address_reply'.
"sw_interface_get_mac_address_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
[
"u8",
"mac_address",
6
],
{
"crc": "0x8ea538d3"
}
func (*SwInterfaceGetMacAddressReply) GetCrcString ¶
func (*SwInterfaceGetMacAddressReply) GetCrcString() string
func (*SwInterfaceGetMacAddressReply) GetMessageName ¶
func (*SwInterfaceGetMacAddressReply) GetMessageName() string
func (*SwInterfaceGetMacAddressReply) GetMessageType ¶
func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType
type SwInterfaceGetTable ¶
SwInterfaceGetTable represents the VPP binary API message 'sw_interface_get_table'.
"sw_interface_get_table",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"is_ipv6"
],
{
"crc": "0x6b7bcd0a"
}
func (*SwInterfaceGetTable) GetCrcString ¶
func (*SwInterfaceGetTable) GetCrcString() string
func (*SwInterfaceGetTable) GetMessageName ¶
func (*SwInterfaceGetTable) GetMessageName() string
func (*SwInterfaceGetTable) GetMessageType ¶
func (*SwInterfaceGetTable) GetMessageType() api.MessageType
type SwInterfaceGetTableReply ¶
SwInterfaceGetTableReply represents the VPP binary API message 'sw_interface_get_table_reply'.
"sw_interface_get_table_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
[
"u32",
"vrf_id"
],
{
"crc": "0xa6eb0109"
}
func (*SwInterfaceGetTableReply) GetCrcString ¶
func (*SwInterfaceGetTableReply) GetCrcString() string
func (*SwInterfaceGetTableReply) GetMessageName ¶
func (*SwInterfaceGetTableReply) GetMessageName() string
func (*SwInterfaceGetTableReply) GetMessageType ¶
func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType
type SwInterfaceRxPlacementDetails ¶
type SwInterfaceRxPlacementDetails struct {
SwIfIndex uint32
QueueID uint32
WorkerID uint32
Mode uint8
}
SwInterfaceRxPlacementDetails represents the VPP binary API message 'sw_interface_rx_placement_details'.
"sw_interface_rx_placement_details",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"queue_id"
],
[
"u32",
"worker_id"
],
[
"u8",
"mode"
],
{
"crc": "0x0e9e33f4"
}
func (*SwInterfaceRxPlacementDetails) GetCrcString ¶
func (*SwInterfaceRxPlacementDetails) GetCrcString() string
func (*SwInterfaceRxPlacementDetails) GetMessageName ¶
func (*SwInterfaceRxPlacementDetails) GetMessageName() string
func (*SwInterfaceRxPlacementDetails) GetMessageType ¶
func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType
type SwInterfaceRxPlacementDump ¶
type SwInterfaceRxPlacementDump struct {
SwIfIndex uint32
}
SwInterfaceRxPlacementDump represents the VPP binary API message 'sw_interface_rx_placement_dump'.
"sw_interface_rx_placement_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
{
"crc": "0x529cb13f"
}
func (*SwInterfaceRxPlacementDump) GetCrcString ¶
func (*SwInterfaceRxPlacementDump) GetCrcString() string
func (*SwInterfaceRxPlacementDump) GetMessageName ¶
func (*SwInterfaceRxPlacementDump) GetMessageName() string
func (*SwInterfaceRxPlacementDump) GetMessageType ¶
func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType
type SwInterfaceSetFlags ¶
SwInterfaceSetFlags represents the VPP binary API message 'sw_interface_set_flags'.
"sw_interface_set_flags",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"admin_up_down"
],
{
"crc": "0x555485f5"
}
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'.
"sw_interface_set_flags_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetFlagsReply) GetCrcString ¶
func (*SwInterfaceSetFlagsReply) GetCrcString() string
func (*SwInterfaceSetFlagsReply) GetMessageName ¶
func (*SwInterfaceSetFlagsReply) GetMessageName() string
func (*SwInterfaceSetFlagsReply) GetMessageType ¶
func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType
type SwInterfaceSetIPDirectedBroadcast ¶
SwInterfaceSetIPDirectedBroadcast represents the VPP binary API message 'sw_interface_set_ip_directed_broadcast'.
"sw_interface_set_ip_directed_broadcast",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"enable"
],
{
"crc": "0xa36fadc0"
}
func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString ¶
func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string
func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName ¶
func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string
func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType ¶
func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType() api.MessageType
type SwInterfaceSetIPDirectedBroadcastReply ¶
type SwInterfaceSetIPDirectedBroadcastReply struct {
Retval int32
}
SwInterfaceSetIPDirectedBroadcastReply represents the VPP binary API message 'sw_interface_set_ip_directed_broadcast_reply'.
"sw_interface_set_ip_directed_broadcast_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString ¶
func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName ¶
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType ¶
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType
type SwInterfaceSetMacAddress ¶
SwInterfaceSetMacAddress represents the VPP binary API message 'sw_interface_set_mac_address'.
"sw_interface_set_mac_address",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"mac_address",
6
],
{
"crc": "0xeed5dfca"
}
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'.
"sw_interface_set_mac_address_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetMacAddressReply) GetCrcString ¶
func (*SwInterfaceSetMacAddressReply) GetCrcString() string
func (*SwInterfaceSetMacAddressReply) GetMessageName ¶
func (*SwInterfaceSetMacAddressReply) GetMessageName() string
func (*SwInterfaceSetMacAddressReply) GetMessageType ¶
func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType
type SwInterfaceSetMtu ¶
SwInterfaceSetMtu represents the VPP binary API message 'sw_interface_set_mtu'.
"sw_interface_set_mtu",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"mtu",
4
],
{
"crc": "0xd0008db8"
}
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'.
"sw_interface_set_mtu_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetMtuReply) GetCrcString ¶
func (*SwInterfaceSetMtuReply) GetCrcString() string
func (*SwInterfaceSetMtuReply) GetMessageName ¶
func (*SwInterfaceSetMtuReply) GetMessageName() string
func (*SwInterfaceSetMtuReply) GetMessageType ¶
func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType
type SwInterfaceSetRxMode ¶
SwInterfaceSetRxMode represents the VPP binary API message 'sw_interface_set_rx_mode'.
"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": "0x2a1cc58c"
}
func (*SwInterfaceSetRxMode) GetCrcString ¶
func (*SwInterfaceSetRxMode) GetCrcString() string
func (*SwInterfaceSetRxMode) GetMessageName ¶
func (*SwInterfaceSetRxMode) GetMessageName() string
func (*SwInterfaceSetRxMode) GetMessageType ¶
func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType
type SwInterfaceSetRxModeReply ¶
type SwInterfaceSetRxModeReply struct {
Retval int32
}
SwInterfaceSetRxModeReply represents the VPP binary API message 'sw_interface_set_rx_mode_reply'.
"sw_interface_set_rx_mode_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetRxModeReply) GetCrcString ¶
func (*SwInterfaceSetRxModeReply) GetCrcString() string
func (*SwInterfaceSetRxModeReply) GetMessageName ¶
func (*SwInterfaceSetRxModeReply) GetMessageName() string
func (*SwInterfaceSetRxModeReply) GetMessageType ¶
func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType
type SwInterfaceSetRxPlacement ¶
type SwInterfaceSetRxPlacement struct {
SwIfIndex uint32
QueueID uint32
WorkerID uint32
IsMain uint8
}
SwInterfaceSetRxPlacement represents the VPP binary API message 'sw_interface_set_rx_placement'.
"sw_interface_set_rx_placement",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"queue_id"
],
[
"u32",
"worker_id"
],
[
"u8",
"is_main"
],
{
"crc": "0x4ef4377d"
}
func (*SwInterfaceSetRxPlacement) GetCrcString ¶
func (*SwInterfaceSetRxPlacement) GetCrcString() string
func (*SwInterfaceSetRxPlacement) GetMessageName ¶
func (*SwInterfaceSetRxPlacement) GetMessageName() string
func (*SwInterfaceSetRxPlacement) GetMessageType ¶
func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType
type SwInterfaceSetRxPlacementReply ¶
type SwInterfaceSetRxPlacementReply struct {
Retval int32
}
SwInterfaceSetRxPlacementReply represents the VPP binary API message 'sw_interface_set_rx_placement_reply'.
"sw_interface_set_rx_placement_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetRxPlacementReply) GetCrcString ¶
func (*SwInterfaceSetRxPlacementReply) GetCrcString() string
func (*SwInterfaceSetRxPlacementReply) GetMessageName ¶
func (*SwInterfaceSetRxPlacementReply) GetMessageName() string
func (*SwInterfaceSetRxPlacementReply) GetMessageType ¶
func (*SwInterfaceSetRxPlacementReply) GetMessageType() api.MessageType
type SwInterfaceSetTable ¶
SwInterfaceSetTable represents the VPP binary API message 'sw_interface_set_table'.
"sw_interface_set_table",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"is_ipv6"
],
[
"u32",
"vrf_id"
],
{
"crc": "0xacb25d89"
}
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'.
"sw_interface_set_table_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetTableReply) GetCrcString ¶
func (*SwInterfaceSetTableReply) GetCrcString() string
func (*SwInterfaceSetTableReply) GetMessageName ¶
func (*SwInterfaceSetTableReply) GetMessageName() string
func (*SwInterfaceSetTableReply) GetMessageType ¶
func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType
type SwInterfaceSetUnnumbered ¶
SwInterfaceSetUnnumbered represents the VPP binary API message 'sw_interface_set_unnumbered'.
"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": "0xa2c1bbda"
}
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'.
"sw_interface_set_unnumbered_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceSetUnnumberedReply) GetCrcString ¶
func (*SwInterfaceSetUnnumberedReply) GetCrcString() string
func (*SwInterfaceSetUnnumberedReply) GetMessageName ¶
func (*SwInterfaceSetUnnumberedReply) GetMessageName() string
func (*SwInterfaceSetUnnumberedReply) GetMessageType ¶
func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType
type SwInterfaceTagAddDel ¶
SwInterfaceTagAddDel represents the VPP binary API message 'sw_interface_tag_add_del'.
"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": "0x14cc636c"
}
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'.
"sw_interface_tag_add_del_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SwInterfaceTagAddDelReply) GetCrcString ¶
func (*SwInterfaceTagAddDelReply) GetCrcString() string
func (*SwInterfaceTagAddDelReply) GetMessageName ¶
func (*SwInterfaceTagAddDelReply) GetMessageName() string
func (*SwInterfaceTagAddDelReply) GetMessageType ¶
func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType
type VlibCounter ¶
VlibCounter represents the VPP binary API type 'vlib_counter'.
"vlib_counter",
[
"u64",
"packets"
],
[
"u64",
"bytes"
],
{
"crc": "0xce2325a2"
}
func (*VlibCounter) GetCrcString ¶
func (*VlibCounter) GetCrcString() string
func (*VlibCounter) GetTypeName ¶
func (*VlibCounter) GetTypeName() string
type VnetCombinedCounter ¶
type VnetCombinedCounter struct {
SwIfIndex uint32
RxPackets uint64
RxBytes uint64
RxUnicastPackets uint64
RxUnicastBytes uint64
RxMulticastPackets uint64
RxMulticastBytes uint64
RxBroadcastPackets uint64
RxBroadcastBytes uint64
TxPackets uint64
TxBytes uint64
TxUnicastPackets uint64
TxUnicastBytes uint64
TxMulticastPackets uint64
TxMulticastBytes uint64
TxBroadcastPackets uint64
TxBroadcastBytes uint64
}
VnetCombinedCounter represents the VPP binary API type 'vnet_combined_counter'.
"vnet_combined_counter",
[
"u32",
"sw_if_index"
],
[
"u64",
"rx_packets"
],
[
"u64",
"rx_bytes"
],
[
"u64",
"rx_unicast_packets"
],
[
"u64",
"rx_unicast_bytes"
],
[
"u64",
"rx_multicast_packets"
],
[
"u64",
"rx_multicast_bytes"
],
[
"u64",
"rx_broadcast_packets"
],
[
"u64",
"rx_broadcast_bytes"
],
[
"u64",
"tx_packets"
],
[
"u64",
"tx_bytes"
],
[
"u64",
"tx_unicast_packets"
],
[
"u64",
"tx_unicast_bytes"
],
[
"u64",
"tx_multicast_packets"
],
[
"u64",
"tx_multicast_bytes"
],
[
"u64",
"tx_broadcast_packets"
],
[
"u64",
"tx_broadcast_bytes"
],
{
"crc": "0x20905ca4"
}
func (*VnetCombinedCounter) GetCrcString ¶
func (*VnetCombinedCounter) GetCrcString() string
func (*VnetCombinedCounter) GetTypeName ¶
func (*VnetCombinedCounter) GetTypeName() string
type VnetSimpleCounter ¶
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 type 'vnet_simple_counter'.
"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": "0x8bd65e2d"
}
func (*VnetSimpleCounter) GetCrcString ¶
func (*VnetSimpleCounter) GetCrcString() string
func (*VnetSimpleCounter) GetTypeName ¶
func (*VnetSimpleCounter) GetTypeName() string
type WantInterfaceEvents ¶
WantInterfaceEvents represents the VPP binary API message 'want_interface_events'.
"want_interface_events",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u32",
"enable_disable"
],
[
"u32",
"pid"
],
{
"crc": "0x476f5a08"
}
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'.
"want_interface_events_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*WantInterfaceEventsReply) GetCrcString ¶
func (*WantInterfaceEventsReply) GetCrcString() string
func (*WantInterfaceEventsReply) GetMessageName ¶
func (*WantInterfaceEventsReply) GetMessageName() string
func (*WantInterfaceEventsReply) GetMessageType ¶
func (*WantInterfaceEventsReply) GetMessageType() api.MessageType
Source Files
¶
- interfaces.ba.go