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 ¶
- Variables
- func NewCollectDetailedInterfaceStats() api.Message
- func NewCollectDetailedInterfaceStatsReply() api.Message
- func NewCreateLoopback() api.Message
- func NewCreateLoopbackInstance() api.Message
- func NewCreateLoopbackInstanceReply() api.Message
- func NewCreateLoopbackReply() api.Message
- func NewCreateSubif() api.Message
- func NewCreateSubifReply() api.Message
- func NewCreateVlanSubif() api.Message
- func NewCreateVlanSubifReply() api.Message
- func NewDeleteLoopback() api.Message
- func NewDeleteLoopbackReply() api.Message
- func NewDeleteSubif() api.Message
- func NewDeleteSubifReply() api.Message
- func NewHwInterfaceSetMtu() api.Message
- func NewHwInterfaceSetMtuReply() api.Message
- func NewInterfaceNameRenumber() api.Message
- func NewInterfaceNameRenumberReply() api.Message
- func NewSwInterfaceAddDelAddress() api.Message
- func NewSwInterfaceAddDelAddressReply() api.Message
- func NewSwInterfaceClearStats() api.Message
- func NewSwInterfaceClearStatsReply() api.Message
- func NewSwInterfaceDetails() api.Message
- func NewSwInterfaceDump() api.Message
- func NewSwInterfaceEvent() api.Message
- func NewSwInterfaceGetMacAddress() api.Message
- func NewSwInterfaceGetMacAddressReply() api.Message
- func NewSwInterfaceGetTable() api.Message
- func NewSwInterfaceGetTableReply() api.Message
- func NewSwInterfaceSetFlags() api.Message
- func NewSwInterfaceSetFlagsReply() api.Message
- func NewSwInterfaceSetMacAddress() api.Message
- func NewSwInterfaceSetMacAddressReply() api.Message
- func NewSwInterfaceSetMtu() api.Message
- func NewSwInterfaceSetMtuReply() api.Message
- func NewSwInterfaceSetRxMode() api.Message
- func NewSwInterfaceSetRxModeReply() api.Message
- func NewSwInterfaceSetTable() api.Message
- func NewSwInterfaceSetTableReply() api.Message
- func NewSwInterfaceSetUnnumbered() api.Message
- func NewSwInterfaceSetUnnumberedReply() api.Message
- func NewSwInterfaceTagAddDel() api.Message
- func NewSwInterfaceTagAddDelReply() api.Message
- func NewWantInterfaceEvents() api.Message
- func NewWantInterfaceEventsReply() api.Message
- 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 SwInterfaceAddDelAddress
- type SwInterfaceAddDelAddressReply
- type SwInterfaceClearStats
- type SwInterfaceClearStatsReply
- type SwInterfaceDetails
- type SwInterfaceDump
- type SwInterfaceEvent
- type SwInterfaceGetMacAddress
- type SwInterfaceGetMacAddressReply
- type SwInterfaceGetTable
- type SwInterfaceGetTableReply
- type SwInterfaceSetFlags
- type SwInterfaceSetFlagsReply
- type SwInterfaceSetMacAddress
- type SwInterfaceSetMacAddressReply
- type SwInterfaceSetMtu
- type SwInterfaceSetMtuReply
- type SwInterfaceSetRxMode
- type SwInterfaceSetRxModeReply
- 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 ¶
var Functions = map[string]reflect.Value{ "NewCollectDetailedInterfaceStats": reflect.ValueOf(NewCollectDetailedInterfaceStats), "NewCollectDetailedInterfaceStatsReply": reflect.ValueOf(NewCollectDetailedInterfaceStatsReply), "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), "NewHwInterfaceSetMtu": reflect.ValueOf(NewHwInterfaceSetMtu), "NewHwInterfaceSetMtuReply": reflect.ValueOf(NewHwInterfaceSetMtuReply), "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), "NewSwInterfaceGetMacAddress": reflect.ValueOf(NewSwInterfaceGetMacAddress), "NewSwInterfaceGetMacAddressReply": reflect.ValueOf(NewSwInterfaceGetMacAddressReply), "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), "NewWantInterfaceEvents": reflect.ValueOf(NewWantInterfaceEvents), "NewWantInterfaceEventsReply": reflect.ValueOf(NewWantInterfaceEventsReply), }
var Types = map[string]reflect.Type{ "CollectDetailedInterfaceStats": reflect.TypeOf((*CollectDetailedInterfaceStats)(nil)).Elem(), "CollectDetailedInterfaceStatsReply": reflect.TypeOf((*CollectDetailedInterfaceStatsReply)(nil)).Elem(), "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(), "HwInterfaceSetMtu": reflect.TypeOf((*HwInterfaceSetMtu)(nil)).Elem(), "HwInterfaceSetMtuReply": reflect.TypeOf((*HwInterfaceSetMtuReply)(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(), "SwInterfaceGetMacAddress": reflect.TypeOf((*SwInterfaceGetMacAddress)(nil)).Elem(), "SwInterfaceGetMacAddressReply": reflect.TypeOf((*SwInterfaceGetMacAddressReply)(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(), "VnetSimpleCounter": reflect.TypeOf((*VnetSimpleCounter)(nil)).Elem(), "WantInterfaceEvents": reflect.TypeOf((*WantInterfaceEvents)(nil)).Elem(), "WantInterfaceEventsReply": reflect.TypeOf((*WantInterfaceEventsReply)(nil)).Elem(), }
Functions ¶
func NewCollectDetailedInterfaceStatsReply ¶
Types ¶
type CollectDetailedInterfaceStats ¶
CollectDetailedInterfaceStats represents the VPP binary API message 'collect_detailed_interface_stats'. Generated from '/usr/share/vpp/api/interface.api.json', line 1180:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1206:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1042:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1087:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1118:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1065:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 866:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 932:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 954:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 980:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1140:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1162:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1002:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 1024:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 48:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 74:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 822:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 848:
"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 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 386:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 429:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 591:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 613:
"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 uint8
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'. Generated from '/usr/share/vpp/api/interface.api.json', line 215:
"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",
"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": "0x09b4b510"
}
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'. Generated from '/usr/share/vpp/api/interface.api.json', line 359:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 137:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 725:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 747:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 495:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 521:
"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 SwInterfaceSetFlags ¶
SwInterfaceSetFlags represents the VPP binary API message 'sw_interface_set_flags'. Generated from '/usr/share/vpp/api/interface.api.json', line 4:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 30:
"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 SwInterfaceSetMacAddress ¶
SwInterfaceSetMacAddress represents the VPP binary API message 'sw_interface_set_mac_address'. Generated from '/usr/share/vpp/api/interface.api.json', line 680:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 707:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 92:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 119:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 770:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 804:
"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 SwInterfaceSetTable ¶
SwInterfaceSetTable represents the VPP binary API message 'sw_interface_set_table'. Generated from '/usr/share/vpp/api/interface.api.json', line 447:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 477:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 543:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 573:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 631:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 662:
"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 data type 'vlib_counter'. Generated from '/usr/share/vpp/api/interface.api.json', line 1301:
"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 data type 'vnet_combined_counter'. Generated from '/usr/share/vpp/api/interface.api.json', line 1315:
"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 data type 'vnet_simple_counter'. Generated from '/usr/share/vpp/api/interface.api.json', line 1389:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 171:
"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'. Generated from '/usr/share/vpp/api/interface.api.json', line 197:
"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.go
- pkgreflect.go