// Code generated by GoVPP binapi-generator. DO NOT EDIT.
-// source: interface.api.json
+// source: interface.api.json
/*
-Package interfaces is a generated VPP binary API of the 'interface' VPP module.
+ Package interfaces is a generated from VPP binary API module 'interface'.
-It is generated from this file:
- interface.api.json
+ It contains following objects:
+ 45 messages
+ 3 types
+ 22 services
-It contains these VPP binary API objects:
- 45 messages
- 3 types
- 22 services
*/
package interfaces
/* Types */
// VlibCounter represents the VPP binary API type 'vlib_counter'.
-// Generated from 'interface.api.json', line 1301:
//
// "vlib_counter",
// [
}
// VnetCombinedCounter represents the VPP binary API type 'vnet_combined_counter'.
-// Generated from 'interface.api.json', line 1315:
//
// "vnet_combined_counter",
// [
}
// VnetSimpleCounter represents the VPP binary API type 'vnet_simple_counter'.
-// Generated from 'interface.api.json', line 1389:
//
// "vnet_simple_counter",
// [
/* Messages */
// SwInterfaceSetFlags represents the VPP binary API message 'sw_interface_set_flags'.
-// Generated from 'interface.api.json', line 4:
//
// "sw_interface_set_flags",
// [
func (*SwInterfaceSetFlags) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceSetFlags() api.Message {
- return &SwInterfaceSetFlags{}
-}
// SwInterfaceSetFlagsReply represents the VPP binary API message 'sw_interface_set_flags_reply'.
-// Generated from 'interface.api.json', line 30:
//
// "sw_interface_set_flags_reply",
// [
func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceSetFlagsReply() api.Message {
- return &SwInterfaceSetFlagsReply{}
-}
// HwInterfaceSetMtu represents the VPP binary API message 'hw_interface_set_mtu'.
-// Generated from 'interface.api.json', line 48:
//
// "hw_interface_set_mtu",
// [
func (*HwInterfaceSetMtu) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewHwInterfaceSetMtu() api.Message {
- return &HwInterfaceSetMtu{}
-}
// HwInterfaceSetMtuReply represents the VPP binary API message 'hw_interface_set_mtu_reply'.
-// Generated from 'interface.api.json', line 74:
//
// "hw_interface_set_mtu_reply",
// [
func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewHwInterfaceSetMtuReply() api.Message {
- return &HwInterfaceSetMtuReply{}
-}
// SwInterfaceSetMtu represents the VPP binary API message 'sw_interface_set_mtu'.
-// Generated from 'interface.api.json', line 92:
//
// "sw_interface_set_mtu",
// [
func (*SwInterfaceSetMtu) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceSetMtu() api.Message {
- return &SwInterfaceSetMtu{}
-}
// SwInterfaceSetMtuReply represents the VPP binary API message 'sw_interface_set_mtu_reply'.
-// Generated from 'interface.api.json', line 119:
//
// "sw_interface_set_mtu_reply",
// [
func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceSetMtuReply() api.Message {
- return &SwInterfaceSetMtuReply{}
-}
// SwInterfaceEvent represents the VPP binary API message 'sw_interface_event'.
-// Generated from 'interface.api.json', line 137:
//
// "sw_interface_event",
// [
func (*SwInterfaceEvent) GetMessageType() api.MessageType {
return api.EventMessage
}
-func NewSwInterfaceEvent() api.Message {
- return &SwInterfaceEvent{}
-}
// WantInterfaceEvents represents the VPP binary API message 'want_interface_events'.
-// Generated from 'interface.api.json', line 171:
//
// "want_interface_events",
// [
func (*WantInterfaceEvents) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewWantInterfaceEvents() api.Message {
- return &WantInterfaceEvents{}
-}
// WantInterfaceEventsReply represents the VPP binary API message 'want_interface_events_reply'.
-// Generated from 'interface.api.json', line 197:
//
// "want_interface_events_reply",
// [
func (*WantInterfaceEventsReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewWantInterfaceEventsReply() api.Message {
- return &WantInterfaceEventsReply{}
-}
// SwInterfaceDetails represents the VPP binary API message 'sw_interface_details'.
-// Generated from 'interface.api.json', line 215:
//
// "sw_interface_details",
// [
func (*SwInterfaceDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceDetails() api.Message {
- return &SwInterfaceDetails{}
-}
// SwInterfaceDump represents the VPP binary API message 'sw_interface_dump'.
-// Generated from 'interface.api.json', line 359:
//
// "sw_interface_dump",
// [
func (*SwInterfaceDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceDump() api.Message {
- return &SwInterfaceDump{}
-}
// SwInterfaceAddDelAddress represents the VPP binary API message 'sw_interface_add_del_address'.
-// Generated from 'interface.api.json', line 386:
//
// "sw_interface_add_del_address",
// [
func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceAddDelAddress() api.Message {
- return &SwInterfaceAddDelAddress{}
-}
// SwInterfaceAddDelAddressReply represents the VPP binary API message 'sw_interface_add_del_address_reply'.
-// Generated from 'interface.api.json', line 429:
//
// "sw_interface_add_del_address_reply",
// [
func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceAddDelAddressReply() api.Message {
- return &SwInterfaceAddDelAddressReply{}
-}
// SwInterfaceSetTable represents the VPP binary API message 'sw_interface_set_table'.
-// Generated from 'interface.api.json', line 447:
//
// "sw_interface_set_table",
// [
func (*SwInterfaceSetTable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceSetTable() api.Message {
- return &SwInterfaceSetTable{}
-}
// SwInterfaceSetTableReply represents the VPP binary API message 'sw_interface_set_table_reply'.
-// Generated from 'interface.api.json', line 477:
//
// "sw_interface_set_table_reply",
// [
func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceSetTableReply() api.Message {
- return &SwInterfaceSetTableReply{}
-}
// SwInterfaceGetTable represents the VPP binary API message 'sw_interface_get_table'.
-// Generated from 'interface.api.json', line 495:
//
// "sw_interface_get_table",
// [
func (*SwInterfaceGetTable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceGetTable() api.Message {
- return &SwInterfaceGetTable{}
-}
// SwInterfaceGetTableReply represents the VPP binary API message 'sw_interface_get_table_reply'.
-// Generated from 'interface.api.json', line 521:
//
// "sw_interface_get_table_reply",
// [
func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceGetTableReply() api.Message {
- return &SwInterfaceGetTableReply{}
-}
// SwInterfaceSetUnnumbered represents the VPP binary API message 'sw_interface_set_unnumbered'.
-// Generated from 'interface.api.json', line 543:
//
// "sw_interface_set_unnumbered",
// [
func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceSetUnnumbered() api.Message {
- return &SwInterfaceSetUnnumbered{}
-}
// SwInterfaceSetUnnumberedReply represents the VPP binary API message 'sw_interface_set_unnumbered_reply'.
-// Generated from 'interface.api.json', line 573:
//
// "sw_interface_set_unnumbered_reply",
// [
func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceSetUnnumberedReply() api.Message {
- return &SwInterfaceSetUnnumberedReply{}
-}
// SwInterfaceClearStats represents the VPP binary API message 'sw_interface_clear_stats'.
-// Generated from 'interface.api.json', line 591:
//
// "sw_interface_clear_stats",
// [
func (*SwInterfaceClearStats) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceClearStats() api.Message {
- return &SwInterfaceClearStats{}
-}
// SwInterfaceClearStatsReply represents the VPP binary API message 'sw_interface_clear_stats_reply'.
-// Generated from 'interface.api.json', line 613:
//
// "sw_interface_clear_stats_reply",
// [
func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceClearStatsReply() api.Message {
- return &SwInterfaceClearStatsReply{}
-}
// SwInterfaceTagAddDel represents the VPP binary API message 'sw_interface_tag_add_del'.
-// Generated from 'interface.api.json', line 631:
//
// "sw_interface_tag_add_del",
// [
func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceTagAddDel() api.Message {
- return &SwInterfaceTagAddDel{}
-}
// SwInterfaceTagAddDelReply represents the VPP binary API message 'sw_interface_tag_add_del_reply'.
-// Generated from 'interface.api.json', line 662:
//
// "sw_interface_tag_add_del_reply",
// [
func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceTagAddDelReply() api.Message {
- return &SwInterfaceTagAddDelReply{}
-}
// SwInterfaceSetMacAddress represents the VPP binary API message 'sw_interface_set_mac_address'.
-// Generated from 'interface.api.json', line 680:
//
// "sw_interface_set_mac_address",
// [
func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceSetMacAddress() api.Message {
- return &SwInterfaceSetMacAddress{}
-}
// SwInterfaceSetMacAddressReply represents the VPP binary API message 'sw_interface_set_mac_address_reply'.
-// Generated from 'interface.api.json', line 707:
//
// "sw_interface_set_mac_address_reply",
// [
func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceSetMacAddressReply() api.Message {
- return &SwInterfaceSetMacAddressReply{}
-}
// SwInterfaceGetMacAddress represents the VPP binary API message 'sw_interface_get_mac_address'.
-// Generated from 'interface.api.json', line 725:
//
// "sw_interface_get_mac_address",
// [
func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceGetMacAddress() api.Message {
- return &SwInterfaceGetMacAddress{}
-}
// SwInterfaceGetMacAddressReply represents the VPP binary API message 'sw_interface_get_mac_address_reply'.
-// Generated from 'interface.api.json', line 747:
//
// "sw_interface_get_mac_address_reply",
// [
func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceGetMacAddressReply() api.Message {
- return &SwInterfaceGetMacAddressReply{}
-}
// SwInterfaceSetRxMode represents the VPP binary API message 'sw_interface_set_rx_mode'.
-// Generated from 'interface.api.json', line 770:
//
// "sw_interface_set_rx_mode",
// [
func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceSetRxMode() api.Message {
- return &SwInterfaceSetRxMode{}
-}
// SwInterfaceSetRxModeReply represents the VPP binary API message 'sw_interface_set_rx_mode_reply'.
-// Generated from 'interface.api.json', line 804:
//
// "sw_interface_set_rx_mode_reply",
// [
func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceSetRxModeReply() api.Message {
- return &SwInterfaceSetRxModeReply{}
-}
// InterfaceNameRenumber represents the VPP binary API message 'interface_name_renumber'.
-// Generated from 'interface.api.json', line 822:
//
// "interface_name_renumber",
// [
func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewInterfaceNameRenumber() api.Message {
- return &InterfaceNameRenumber{}
-}
// InterfaceNameRenumberReply represents the VPP binary API message 'interface_name_renumber_reply'.
-// Generated from 'interface.api.json', line 848:
//
// "interface_name_renumber_reply",
// [
func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewInterfaceNameRenumberReply() api.Message {
- return &InterfaceNameRenumberReply{}
-}
// CreateSubif represents the VPP binary API message 'create_subif'.
-// Generated from 'interface.api.json', line 866:
//
// "create_subif",
// [
func (*CreateSubif) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewCreateSubif() api.Message {
- return &CreateSubif{}
-}
// CreateSubifReply represents the VPP binary API message 'create_subif_reply'.
-// Generated from 'interface.api.json', line 932:
//
// "create_subif_reply",
// [
func (*CreateSubifReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewCreateSubifReply() api.Message {
- return &CreateSubifReply{}
-}
// CreateVlanSubif represents the VPP binary API message 'create_vlan_subif'.
-// Generated from 'interface.api.json', line 954:
//
// "create_vlan_subif",
// [
func (*CreateVlanSubif) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewCreateVlanSubif() api.Message {
- return &CreateVlanSubif{}
-}
// CreateVlanSubifReply represents the VPP binary API message 'create_vlan_subif_reply'.
-// Generated from 'interface.api.json', line 980:
//
// "create_vlan_subif_reply",
// [
func (*CreateVlanSubifReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewCreateVlanSubifReply() api.Message {
- return &CreateVlanSubifReply{}
-}
// DeleteSubif represents the VPP binary API message 'delete_subif'.
-// Generated from 'interface.api.json', line 1002:
//
// "delete_subif",
// [
func (*DeleteSubif) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewDeleteSubif() api.Message {
- return &DeleteSubif{}
-}
// DeleteSubifReply represents the VPP binary API message 'delete_subif_reply'.
-// Generated from 'interface.api.json', line 1024:
//
// "delete_subif_reply",
// [
func (*DeleteSubifReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewDeleteSubifReply() api.Message {
- return &DeleteSubifReply{}
-}
// CreateLoopback represents the VPP binary API message 'create_loopback'.
-// Generated from 'interface.api.json', line 1042:
//
// "create_loopback",
// [
func (*CreateLoopback) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewCreateLoopback() api.Message {
- return &CreateLoopback{}
-}
// CreateLoopbackReply represents the VPP binary API message 'create_loopback_reply'.
-// Generated from 'interface.api.json', line 1065:
//
// "create_loopback_reply",
// [
func (*CreateLoopbackReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewCreateLoopbackReply() api.Message {
- return &CreateLoopbackReply{}
-}
// CreateLoopbackInstance represents the VPP binary API message 'create_loopback_instance'.
-// Generated from 'interface.api.json', line 1087:
//
// "create_loopback_instance",
// [
func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewCreateLoopbackInstance() api.Message {
- return &CreateLoopbackInstance{}
-}
// CreateLoopbackInstanceReply represents the VPP binary API message 'create_loopback_instance_reply'.
-// Generated from 'interface.api.json', line 1118:
//
// "create_loopback_instance_reply",
// [
func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewCreateLoopbackInstanceReply() api.Message {
- return &CreateLoopbackInstanceReply{}
-}
// DeleteLoopback represents the VPP binary API message 'delete_loopback'.
-// Generated from 'interface.api.json', line 1140:
//
// "delete_loopback",
// [
func (*DeleteLoopback) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewDeleteLoopback() api.Message {
- return &DeleteLoopback{}
-}
// DeleteLoopbackReply represents the VPP binary API message 'delete_loopback_reply'.
-// Generated from 'interface.api.json', line 1162:
//
// "delete_loopback_reply",
// [
func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewDeleteLoopbackReply() api.Message {
- return &DeleteLoopbackReply{}
-}
// CollectDetailedInterfaceStats represents the VPP binary API message 'collect_detailed_interface_stats'.
-// Generated from 'interface.api.json', line 1180:
//
// "collect_detailed_interface_stats",
// [
func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewCollectDetailedInterfaceStats() api.Message {
- return &CollectDetailedInterfaceStats{}
-}
// CollectDetailedInterfaceStatsReply represents the VPP binary API message 'collect_detailed_interface_stats_reply'.
-// Generated from 'interface.api.json', line 1206:
//
// "collect_detailed_interface_stats_reply",
// [
func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewCollectDetailedInterfaceStatsReply() api.Message {
- return &CollectDetailedInterfaceStatsReply{}
-}
/* Services */