1 // Code generated by GoVPP binapi-generator. DO NOT EDIT.
2 // source: interface.api.json
5 Package interfaces is a generated from VPP binary API module 'interface'.
7 It contains following objects:
15 import "git.fd.io/govpp.git/api"
16 import "github.com/lunixbochs/struc"
19 // Reference imports to suppress errors if they are not otherwise used.
20 var _ = api.RegisterMessage
22 var _ = bytes.NewBuffer
24 // Services represents VPP binary API services:
28 // "reply": "create_subif_reply"
30 // "sw_interface_set_ip_directed_broadcast": {
31 // "reply": "sw_interface_set_ip_directed_broadcast_reply"
34 // "reply": "delete_subif_reply"
36 // "sw_interface_get_mac_address": {
37 // "reply": "sw_interface_get_mac_address_reply"
39 // "sw_interface_tag_add_del": {
40 // "reply": "sw_interface_tag_add_del_reply"
42 // "collect_detailed_interface_stats": {
43 // "reply": "collect_detailed_interface_stats_reply"
45 // "sw_interface_dump": {
46 // "reply": "sw_interface_details",
49 // "sw_interface_set_rx_placement": {
50 // "reply": "sw_interface_set_rx_placement_reply"
52 // "sw_interface_add_del_address": {
53 // "reply": "sw_interface_add_del_address_reply"
55 // "sw_interface_get_table": {
56 // "reply": "sw_interface_get_table_reply"
58 // "interface_name_renumber": {
59 // "reply": "interface_name_renumber_reply"
61 // "create_loopback_instance": {
62 // "reply": "create_loopback_instance_reply"
64 // "sw_interface_set_mtu": {
65 // "reply": "sw_interface_set_mtu_reply"
67 // "want_interface_events": {
68 // "reply": "want_interface_events_reply",
70 // "sw_interface_event"
73 // "create_loopback": {
74 // "reply": "create_loopback_reply"
76 // "sw_interface_clear_stats": {
77 // "reply": "sw_interface_clear_stats_reply"
79 // "hw_interface_set_mtu": {
80 // "reply": "hw_interface_set_mtu_reply"
82 // "sw_interface_set_mac_address": {
83 // "reply": "sw_interface_set_mac_address_reply"
85 // "sw_interface_set_unnumbered": {
86 // "reply": "sw_interface_set_unnumbered_reply"
88 // "sw_interface_rx_placement_dump": {
89 // "reply": "sw_interface_rx_placement_details",
92 // "sw_interface_set_flags": {
93 // "reply": "sw_interface_set_flags_reply"
95 // "delete_loopback": {
96 // "reply": "delete_loopback_reply"
98 // "sw_interface_set_rx_mode": {
99 // "reply": "sw_interface_set_rx_mode_reply"
101 // "create_vlan_subif": {
102 // "reply": "create_vlan_subif_reply"
104 // "sw_interface_set_table": {
105 // "reply": "sw_interface_set_table_reply"
109 type Services interface {
110 DumpSwInterface(*SwInterfaceDump) ([]*SwInterfaceDetails, error)
111 DumpSwInterfaceRxPlacement(*SwInterfaceRxPlacementDump) ([]*SwInterfaceRxPlacementDetails, error)
112 CollectDetailedInterfaceStats(*CollectDetailedInterfaceStats) (*CollectDetailedInterfaceStatsReply, error)
113 CreateLoopback(*CreateLoopback) (*CreateLoopbackReply, error)
114 CreateLoopbackInstance(*CreateLoopbackInstance) (*CreateLoopbackInstanceReply, error)
115 CreateSubif(*CreateSubif) (*CreateSubifReply, error)
116 CreateVlanSubif(*CreateVlanSubif) (*CreateVlanSubifReply, error)
117 DeleteLoopback(*DeleteLoopback) (*DeleteLoopbackReply, error)
118 DeleteSubif(*DeleteSubif) (*DeleteSubifReply, error)
119 HwInterfaceSetMtu(*HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error)
120 InterfaceNameRenumber(*InterfaceNameRenumber) (*InterfaceNameRenumberReply, error)
121 SwInterfaceAddDelAddress(*SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error)
122 SwInterfaceClearStats(*SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error)
123 SwInterfaceGetMacAddress(*SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error)
124 SwInterfaceGetTable(*SwInterfaceGetTable) (*SwInterfaceGetTableReply, error)
125 SwInterfaceSetFlags(*SwInterfaceSetFlags) (*SwInterfaceSetFlagsReply, error)
126 SwInterfaceSetIPDirectedBroadcast(*SwInterfaceSetIPDirectedBroadcast) (*SwInterfaceSetIPDirectedBroadcastReply, error)
127 SwInterfaceSetMacAddress(*SwInterfaceSetMacAddress) (*SwInterfaceSetMacAddressReply, error)
128 SwInterfaceSetMtu(*SwInterfaceSetMtu) (*SwInterfaceSetMtuReply, error)
129 SwInterfaceSetRxMode(*SwInterfaceSetRxMode) (*SwInterfaceSetRxModeReply, error)
130 SwInterfaceSetRxPlacement(*SwInterfaceSetRxPlacement) (*SwInterfaceSetRxPlacementReply, error)
131 SwInterfaceSetTable(*SwInterfaceSetTable) (*SwInterfaceSetTableReply, error)
132 SwInterfaceSetUnnumbered(*SwInterfaceSetUnnumbered) (*SwInterfaceSetUnnumberedReply, error)
133 SwInterfaceTagAddDel(*SwInterfaceTagAddDel) (*SwInterfaceTagAddDelReply, error)
134 WantInterfaceEvents(*WantInterfaceEvents) (*WantInterfaceEventsReply, error)
139 // InterfaceIndex represents VPP binary API alias 'interface_index':
141 // "interface_index": {
145 type InterfaceIndex uint32
149 // SwInterfaceSetFlags represents VPP binary API message 'sw_interface_set_flags':
151 // "sw_interface_set_flags",
173 // "crc": "0x555485f5"
176 type SwInterfaceSetFlags struct {
181 func (*SwInterfaceSetFlags) GetMessageName() string {
182 return "sw_interface_set_flags"
184 func (*SwInterfaceSetFlags) GetCrcString() string {
187 func (*SwInterfaceSetFlags) GetMessageType() api.MessageType {
188 return api.RequestMessage
191 // SwInterfaceSetFlagsReply represents VPP binary API message 'sw_interface_set_flags_reply':
193 // "sw_interface_set_flags_reply",
207 // "crc": "0xe8d4e804"
210 type SwInterfaceSetFlagsReply struct {
214 func (*SwInterfaceSetFlagsReply) GetMessageName() string {
215 return "sw_interface_set_flags_reply"
217 func (*SwInterfaceSetFlagsReply) GetCrcString() string {
220 func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType {
221 return api.ReplyMessage
224 // HwInterfaceSetMtu represents VPP binary API message 'hw_interface_set_mtu':
226 // "hw_interface_set_mtu",
248 // "crc": "0x132da1e7"
251 type HwInterfaceSetMtu struct {
256 func (*HwInterfaceSetMtu) GetMessageName() string {
257 return "hw_interface_set_mtu"
259 func (*HwInterfaceSetMtu) GetCrcString() string {
262 func (*HwInterfaceSetMtu) GetMessageType() api.MessageType {
263 return api.RequestMessage
266 // HwInterfaceSetMtuReply represents VPP binary API message 'hw_interface_set_mtu_reply':
268 // "hw_interface_set_mtu_reply",
282 // "crc": "0xe8d4e804"
285 type HwInterfaceSetMtuReply struct {
289 func (*HwInterfaceSetMtuReply) GetMessageName() string {
290 return "hw_interface_set_mtu_reply"
292 func (*HwInterfaceSetMtuReply) GetCrcString() string {
295 func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType {
296 return api.ReplyMessage
299 // SwInterfaceSetMtu represents VPP binary API message 'sw_interface_set_mtu':
301 // "sw_interface_set_mtu",
324 // "crc": "0xd0008db8"
327 type SwInterfaceSetMtu struct {
329 Mtu []uint32 `struc:"[4]uint32"`
332 func (*SwInterfaceSetMtu) GetMessageName() string {
333 return "sw_interface_set_mtu"
335 func (*SwInterfaceSetMtu) GetCrcString() string {
338 func (*SwInterfaceSetMtu) GetMessageType() api.MessageType {
339 return api.RequestMessage
342 // SwInterfaceSetMtuReply represents VPP binary API message 'sw_interface_set_mtu_reply':
344 // "sw_interface_set_mtu_reply",
358 // "crc": "0xe8d4e804"
361 type SwInterfaceSetMtuReply struct {
365 func (*SwInterfaceSetMtuReply) GetMessageName() string {
366 return "sw_interface_set_mtu_reply"
368 func (*SwInterfaceSetMtuReply) GetCrcString() string {
371 func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType {
372 return api.ReplyMessage
375 // SwInterfaceSetIPDirectedBroadcast represents VPP binary API message 'sw_interface_set_ip_directed_broadcast':
377 // "sw_interface_set_ip_directed_broadcast",
399 // "crc": "0xa36fadc0"
402 type SwInterfaceSetIPDirectedBroadcast struct {
407 func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string {
408 return "sw_interface_set_ip_directed_broadcast"
410 func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string {
413 func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType() api.MessageType {
414 return api.RequestMessage
417 // SwInterfaceSetIPDirectedBroadcastReply represents VPP binary API message 'sw_interface_set_ip_directed_broadcast_reply':
419 // "sw_interface_set_ip_directed_broadcast_reply",
433 // "crc": "0xe8d4e804"
436 type SwInterfaceSetIPDirectedBroadcastReply struct {
440 func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string {
441 return "sw_interface_set_ip_directed_broadcast_reply"
443 func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string {
446 func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType {
447 return api.ReplyMessage
450 // SwInterfaceEvent represents VPP binary API message 'sw_interface_event':
452 // "sw_interface_event",
482 // "crc": "0xbf9938e4"
485 type SwInterfaceEvent struct {
493 func (*SwInterfaceEvent) GetMessageName() string {
494 return "sw_interface_event"
496 func (*SwInterfaceEvent) GetCrcString() string {
499 func (*SwInterfaceEvent) GetMessageType() api.MessageType {
500 return api.EventMessage
503 // WantInterfaceEvents represents VPP binary API message 'want_interface_events':
505 // "want_interface_events",
527 // "crc": "0x476f5a08"
530 type WantInterfaceEvents struct {
535 func (*WantInterfaceEvents) GetMessageName() string {
536 return "want_interface_events"
538 func (*WantInterfaceEvents) GetCrcString() string {
541 func (*WantInterfaceEvents) GetMessageType() api.MessageType {
542 return api.RequestMessage
545 // WantInterfaceEventsReply represents VPP binary API message 'want_interface_events_reply':
547 // "want_interface_events_reply",
561 // "crc": "0xe8d4e804"
564 type WantInterfaceEventsReply struct {
568 func (*WantInterfaceEventsReply) GetMessageName() string {
569 return "want_interface_events_reply"
571 func (*WantInterfaceEventsReply) GetCrcString() string {
574 func (*WantInterfaceEventsReply) GetMessageType() api.MessageType {
575 return api.ReplyMessage
578 // SwInterfaceDetails represents VPP binary API message 'sw_interface_details':
580 // "sw_interface_details",
599 // "l2_address_length"
650 // "sub_number_of_tags"
654 // "sub_outer_vlan_id"
658 // "sub_inner_vlan_id"
670 // "sub_outer_vlan_id_any"
674 // "sub_inner_vlan_id_any"
720 // "crc": "0xe4ee7eb6"
723 type SwInterfaceDetails struct {
726 L2AddressLength uint32
727 L2Address []byte `struc:"[8]byte"`
728 InterfaceName []byte `struc:"[64]byte"`
734 Mtu []uint32 `struc:"[4]uint32"`
738 SubNumberOfTags uint8
739 SubOuterVlanID uint16
740 SubInnerVlanID uint16
743 SubOuterVlanIDAny uint8
744 SubInnerVlanIDAny uint8
749 Tag []byte `struc:"[64]byte"`
751 BDmac []byte `struc:"[6]byte"`
752 BSmac []byte `struc:"[6]byte"`
757 func (*SwInterfaceDetails) GetMessageName() string {
758 return "sw_interface_details"
760 func (*SwInterfaceDetails) GetCrcString() string {
763 func (*SwInterfaceDetails) GetMessageType() api.MessageType {
764 return api.ReplyMessage
767 // SwInterfaceDump represents VPP binary API message 'sw_interface_dump':
769 // "sw_interface_dump",
784 // "name_filter_valid"
792 // "crc": "0x63f5e3b7"
795 type SwInterfaceDump struct {
796 NameFilterValid uint8
797 NameFilter []byte `struc:"[49]byte"`
800 func (*SwInterfaceDump) GetMessageName() string {
801 return "sw_interface_dump"
803 func (*SwInterfaceDump) GetCrcString() string {
806 func (*SwInterfaceDump) GetMessageType() api.MessageType {
807 return api.RequestMessage
810 // SwInterfaceAddDelAddress represents VPP binary API message 'sw_interface_add_del_address':
812 // "sw_interface_add_del_address",
851 // "crc": "0x7b583179"
854 type SwInterfaceAddDelAddress struct {
860 Address []byte `struc:"[16]byte"`
863 func (*SwInterfaceAddDelAddress) GetMessageName() string {
864 return "sw_interface_add_del_address"
866 func (*SwInterfaceAddDelAddress) GetCrcString() string {
869 func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType {
870 return api.RequestMessage
873 // SwInterfaceAddDelAddressReply represents VPP binary API message 'sw_interface_add_del_address_reply':
875 // "sw_interface_add_del_address_reply",
889 // "crc": "0xe8d4e804"
892 type SwInterfaceAddDelAddressReply struct {
896 func (*SwInterfaceAddDelAddressReply) GetMessageName() string {
897 return "sw_interface_add_del_address_reply"
899 func (*SwInterfaceAddDelAddressReply) GetCrcString() string {
902 func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType {
903 return api.ReplyMessage
906 // SwInterfaceSetTable represents VPP binary API message 'sw_interface_set_table':
908 // "sw_interface_set_table",
934 // "crc": "0xacb25d89"
937 type SwInterfaceSetTable struct {
943 func (*SwInterfaceSetTable) GetMessageName() string {
944 return "sw_interface_set_table"
946 func (*SwInterfaceSetTable) GetCrcString() string {
949 func (*SwInterfaceSetTable) GetMessageType() api.MessageType {
950 return api.RequestMessage
953 // SwInterfaceSetTableReply represents VPP binary API message 'sw_interface_set_table_reply':
955 // "sw_interface_set_table_reply",
969 // "crc": "0xe8d4e804"
972 type SwInterfaceSetTableReply struct {
976 func (*SwInterfaceSetTableReply) GetMessageName() string {
977 return "sw_interface_set_table_reply"
979 func (*SwInterfaceSetTableReply) GetCrcString() string {
982 func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType {
983 return api.ReplyMessage
986 // SwInterfaceGetTable represents VPP binary API message 'sw_interface_get_table':
988 // "sw_interface_get_table",
1010 // "crc": "0x6b7bcd0a"
1013 type SwInterfaceGetTable struct {
1018 func (*SwInterfaceGetTable) GetMessageName() string {
1019 return "sw_interface_get_table"
1021 func (*SwInterfaceGetTable) GetCrcString() string {
1024 func (*SwInterfaceGetTable) GetMessageType() api.MessageType {
1025 return api.RequestMessage
1028 // SwInterfaceGetTableReply represents VPP binary API message 'sw_interface_get_table_reply':
1030 // "sw_interface_get_table_reply",
1048 // "crc": "0xa6eb0109"
1051 type SwInterfaceGetTableReply struct {
1056 func (*SwInterfaceGetTableReply) GetMessageName() string {
1057 return "sw_interface_get_table_reply"
1059 func (*SwInterfaceGetTableReply) GetCrcString() string {
1062 func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType {
1063 return api.ReplyMessage
1066 // SwInterfaceSetUnnumbered represents VPP binary API message 'sw_interface_set_unnumbered':
1068 // "sw_interface_set_unnumbered",
1087 // "unnumbered_sw_if_index"
1094 // "crc": "0xa2c1bbda"
1097 type SwInterfaceSetUnnumbered struct {
1099 UnnumberedSwIfIndex uint32
1103 func (*SwInterfaceSetUnnumbered) GetMessageName() string {
1104 return "sw_interface_set_unnumbered"
1106 func (*SwInterfaceSetUnnumbered) GetCrcString() string {
1109 func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType {
1110 return api.RequestMessage
1113 // SwInterfaceSetUnnumberedReply represents VPP binary API message 'sw_interface_set_unnumbered_reply':
1115 // "sw_interface_set_unnumbered_reply",
1129 // "crc": "0xe8d4e804"
1132 type SwInterfaceSetUnnumberedReply struct {
1136 func (*SwInterfaceSetUnnumberedReply) GetMessageName() string {
1137 return "sw_interface_set_unnumbered_reply"
1139 func (*SwInterfaceSetUnnumberedReply) GetCrcString() string {
1142 func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType {
1143 return api.ReplyMessage
1146 // SwInterfaceClearStats represents VPP binary API message 'sw_interface_clear_stats':
1148 // "sw_interface_clear_stats",
1166 // "crc": "0x529cb13f"
1169 type SwInterfaceClearStats struct {
1173 func (*SwInterfaceClearStats) GetMessageName() string {
1174 return "sw_interface_clear_stats"
1176 func (*SwInterfaceClearStats) GetCrcString() string {
1179 func (*SwInterfaceClearStats) GetMessageType() api.MessageType {
1180 return api.RequestMessage
1183 // SwInterfaceClearStatsReply represents VPP binary API message 'sw_interface_clear_stats_reply':
1185 // "sw_interface_clear_stats_reply",
1199 // "crc": "0xe8d4e804"
1202 type SwInterfaceClearStatsReply struct {
1206 func (*SwInterfaceClearStatsReply) GetMessageName() string {
1207 return "sw_interface_clear_stats_reply"
1209 func (*SwInterfaceClearStatsReply) GetCrcString() string {
1212 func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType {
1213 return api.ReplyMessage
1216 // SwInterfaceTagAddDel represents VPP binary API message 'sw_interface_tag_add_del':
1218 // "sw_interface_tag_add_del",
1245 // "crc": "0x14cc636c"
1248 type SwInterfaceTagAddDel struct {
1251 Tag []byte `struc:"[64]byte"`
1254 func (*SwInterfaceTagAddDel) GetMessageName() string {
1255 return "sw_interface_tag_add_del"
1257 func (*SwInterfaceTagAddDel) GetCrcString() string {
1260 func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType {
1261 return api.RequestMessage
1264 // SwInterfaceTagAddDelReply represents VPP binary API message 'sw_interface_tag_add_del_reply':
1266 // "sw_interface_tag_add_del_reply",
1280 // "crc": "0xe8d4e804"
1283 type SwInterfaceTagAddDelReply struct {
1287 func (*SwInterfaceTagAddDelReply) GetMessageName() string {
1288 return "sw_interface_tag_add_del_reply"
1290 func (*SwInterfaceTagAddDelReply) GetCrcString() string {
1293 func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType {
1294 return api.ReplyMessage
1297 // SwInterfaceSetMacAddress represents VPP binary API message 'sw_interface_set_mac_address':
1299 // "sw_interface_set_mac_address",
1322 // "crc": "0xeed5dfca"
1325 type SwInterfaceSetMacAddress struct {
1327 MacAddress []byte `struc:"[6]byte"`
1330 func (*SwInterfaceSetMacAddress) GetMessageName() string {
1331 return "sw_interface_set_mac_address"
1333 func (*SwInterfaceSetMacAddress) GetCrcString() string {
1336 func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType {
1337 return api.RequestMessage
1340 // SwInterfaceSetMacAddressReply represents VPP binary API message 'sw_interface_set_mac_address_reply':
1342 // "sw_interface_set_mac_address_reply",
1356 // "crc": "0xe8d4e804"
1359 type SwInterfaceSetMacAddressReply struct {
1363 func (*SwInterfaceSetMacAddressReply) GetMessageName() string {
1364 return "sw_interface_set_mac_address_reply"
1366 func (*SwInterfaceSetMacAddressReply) GetCrcString() string {
1369 func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType {
1370 return api.ReplyMessage
1373 // SwInterfaceGetMacAddress represents VPP binary API message 'sw_interface_get_mac_address':
1375 // "sw_interface_get_mac_address",
1393 // "crc": "0x529cb13f"
1396 type SwInterfaceGetMacAddress struct {
1400 func (*SwInterfaceGetMacAddress) GetMessageName() string {
1401 return "sw_interface_get_mac_address"
1403 func (*SwInterfaceGetMacAddress) GetCrcString() string {
1406 func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType {
1407 return api.RequestMessage
1410 // SwInterfaceGetMacAddressReply represents VPP binary API message 'sw_interface_get_mac_address_reply':
1412 // "sw_interface_get_mac_address_reply",
1431 // "crc": "0x8ea538d3"
1434 type SwInterfaceGetMacAddressReply struct {
1436 MacAddress []byte `struc:"[6]byte"`
1439 func (*SwInterfaceGetMacAddressReply) GetMessageName() string {
1440 return "sw_interface_get_mac_address_reply"
1442 func (*SwInterfaceGetMacAddressReply) GetCrcString() string {
1445 func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType {
1446 return api.ReplyMessage
1449 // SwInterfaceSetRxMode represents VPP binary API message 'sw_interface_set_rx_mode':
1451 // "sw_interface_set_rx_mode",
1481 // "crc": "0x2a1cc58c"
1484 type SwInterfaceSetRxMode struct {
1491 func (*SwInterfaceSetRxMode) GetMessageName() string {
1492 return "sw_interface_set_rx_mode"
1494 func (*SwInterfaceSetRxMode) GetCrcString() string {
1497 func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType {
1498 return api.RequestMessage
1501 // SwInterfaceSetRxModeReply represents VPP binary API message 'sw_interface_set_rx_mode_reply':
1503 // "sw_interface_set_rx_mode_reply",
1517 // "crc": "0xe8d4e804"
1520 type SwInterfaceSetRxModeReply struct {
1524 func (*SwInterfaceSetRxModeReply) GetMessageName() string {
1525 return "sw_interface_set_rx_mode_reply"
1527 func (*SwInterfaceSetRxModeReply) GetCrcString() string {
1530 func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType {
1531 return api.ReplyMessage
1534 // SwInterfaceSetRxPlacement represents VPP binary API message 'sw_interface_set_rx_placement':
1536 // "sw_interface_set_rx_placement",
1566 // "crc": "0x4ef4377d"
1569 type SwInterfaceSetRxPlacement struct {
1576 func (*SwInterfaceSetRxPlacement) GetMessageName() string {
1577 return "sw_interface_set_rx_placement"
1579 func (*SwInterfaceSetRxPlacement) GetCrcString() string {
1582 func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType {
1583 return api.RequestMessage
1586 // SwInterfaceSetRxPlacementReply represents VPP binary API message 'sw_interface_set_rx_placement_reply':
1588 // "sw_interface_set_rx_placement_reply",
1602 // "crc": "0xe8d4e804"
1605 type SwInterfaceSetRxPlacementReply struct {
1609 func (*SwInterfaceSetRxPlacementReply) GetMessageName() string {
1610 return "sw_interface_set_rx_placement_reply"
1612 func (*SwInterfaceSetRxPlacementReply) GetCrcString() string {
1615 func (*SwInterfaceSetRxPlacementReply) GetMessageType() api.MessageType {
1616 return api.ReplyMessage
1619 // SwInterfaceRxPlacementDump represents VPP binary API message 'sw_interface_rx_placement_dump':
1621 // "sw_interface_rx_placement_dump",
1639 // "crc": "0x529cb13f"
1642 type SwInterfaceRxPlacementDump struct {
1646 func (*SwInterfaceRxPlacementDump) GetMessageName() string {
1647 return "sw_interface_rx_placement_dump"
1649 func (*SwInterfaceRxPlacementDump) GetCrcString() string {
1652 func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType {
1653 return api.RequestMessage
1656 // SwInterfaceRxPlacementDetails represents VPP binary API message 'sw_interface_rx_placement_details':
1658 // "sw_interface_rx_placement_details",
1688 // "crc": "0x0e9e33f4"
1691 type SwInterfaceRxPlacementDetails struct {
1698 func (*SwInterfaceRxPlacementDetails) GetMessageName() string {
1699 return "sw_interface_rx_placement_details"
1701 func (*SwInterfaceRxPlacementDetails) GetCrcString() string {
1704 func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType {
1705 return api.RequestMessage
1708 // InterfaceNameRenumber represents VPP binary API message 'interface_name_renumber':
1710 // "interface_name_renumber",
1729 // "new_show_dev_instance"
1732 // "crc": "0x39194269"
1735 type InterfaceNameRenumber struct {
1737 NewShowDevInstance uint32
1740 func (*InterfaceNameRenumber) GetMessageName() string {
1741 return "interface_name_renumber"
1743 func (*InterfaceNameRenumber) GetCrcString() string {
1746 func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
1747 return api.RequestMessage
1750 // InterfaceNameRenumberReply represents VPP binary API message 'interface_name_renumber_reply':
1752 // "interface_name_renumber_reply",
1766 // "crc": "0xe8d4e804"
1769 type InterfaceNameRenumberReply struct {
1773 func (*InterfaceNameRenumberReply) GetMessageName() string {
1774 return "interface_name_renumber_reply"
1776 func (*InterfaceNameRenumberReply) GetCrcString() string {
1779 func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
1780 return api.ReplyMessage
1783 // CreateSubif represents VPP binary API message 'create_subif':
1832 // "outer_vlan_id_any"
1836 // "inner_vlan_id_any"
1847 // "crc": "0x86cfe408"
1850 type CreateSubif struct {
1859 OuterVlanIDAny uint8
1860 InnerVlanIDAny uint8
1865 func (*CreateSubif) GetMessageName() string {
1866 return "create_subif"
1868 func (*CreateSubif) GetCrcString() string {
1871 func (*CreateSubif) GetMessageType() api.MessageType {
1872 return api.RequestMessage
1875 // CreateSubifReply represents VPP binary API message 'create_subif_reply':
1877 // "create_subif_reply",
1895 // "crc": "0xfda5941f"
1898 type CreateSubifReply struct {
1903 func (*CreateSubifReply) GetMessageName() string {
1904 return "create_subif_reply"
1906 func (*CreateSubifReply) GetCrcString() string {
1909 func (*CreateSubifReply) GetMessageType() api.MessageType {
1910 return api.ReplyMessage
1913 // CreateVlanSubif represents VPP binary API message 'create_vlan_subif':
1915 // "create_vlan_subif",
1937 // "crc": "0x70cadeda"
1940 type CreateVlanSubif struct {
1945 func (*CreateVlanSubif) GetMessageName() string {
1946 return "create_vlan_subif"
1948 func (*CreateVlanSubif) GetCrcString() string {
1951 func (*CreateVlanSubif) GetMessageType() api.MessageType {
1952 return api.RequestMessage
1955 // CreateVlanSubifReply represents VPP binary API message 'create_vlan_subif_reply':
1957 // "create_vlan_subif_reply",
1975 // "crc": "0xfda5941f"
1978 type CreateVlanSubifReply struct {
1983 func (*CreateVlanSubifReply) GetMessageName() string {
1984 return "create_vlan_subif_reply"
1986 func (*CreateVlanSubifReply) GetCrcString() string {
1989 func (*CreateVlanSubifReply) GetMessageType() api.MessageType {
1990 return api.ReplyMessage
1993 // DeleteSubif represents VPP binary API message 'delete_subif':
2013 // "crc": "0x529cb13f"
2016 type DeleteSubif struct {
2020 func (*DeleteSubif) GetMessageName() string {
2021 return "delete_subif"
2023 func (*DeleteSubif) GetCrcString() string {
2026 func (*DeleteSubif) GetMessageType() api.MessageType {
2027 return api.RequestMessage
2030 // DeleteSubifReply represents VPP binary API message 'delete_subif_reply':
2032 // "delete_subif_reply",
2046 // "crc": "0xe8d4e804"
2049 type DeleteSubifReply struct {
2053 func (*DeleteSubifReply) GetMessageName() string {
2054 return "delete_subif_reply"
2056 func (*DeleteSubifReply) GetCrcString() string {
2059 func (*DeleteSubifReply) GetMessageType() api.MessageType {
2060 return api.ReplyMessage
2063 // CreateLoopback represents VPP binary API message 'create_loopback':
2065 // "create_loopback",
2084 // "crc": "0x3b54129c"
2087 type CreateLoopback struct {
2088 MacAddress []byte `struc:"[6]byte"`
2091 func (*CreateLoopback) GetMessageName() string {
2092 return "create_loopback"
2094 func (*CreateLoopback) GetCrcString() string {
2097 func (*CreateLoopback) GetMessageType() api.MessageType {
2098 return api.RequestMessage
2101 // CreateLoopbackReply represents VPP binary API message 'create_loopback_reply':
2103 // "create_loopback_reply",
2121 // "crc": "0xfda5941f"
2124 type CreateLoopbackReply struct {
2129 func (*CreateLoopbackReply) GetMessageName() string {
2130 return "create_loopback_reply"
2132 func (*CreateLoopbackReply) GetCrcString() string {
2135 func (*CreateLoopbackReply) GetMessageType() api.MessageType {
2136 return api.ReplyMessage
2139 // CreateLoopbackInstance represents VPP binary API message 'create_loopback_instance':
2141 // "create_loopback_instance",
2168 // "crc": "0x7bbd53b6"
2171 type CreateLoopbackInstance struct {
2172 MacAddress []byte `struc:"[6]byte"`
2177 func (*CreateLoopbackInstance) GetMessageName() string {
2178 return "create_loopback_instance"
2180 func (*CreateLoopbackInstance) GetCrcString() string {
2183 func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
2184 return api.RequestMessage
2187 // CreateLoopbackInstanceReply represents VPP binary API message 'create_loopback_instance_reply':
2189 // "create_loopback_instance_reply",
2207 // "crc": "0xfda5941f"
2210 type CreateLoopbackInstanceReply struct {
2215 func (*CreateLoopbackInstanceReply) GetMessageName() string {
2216 return "create_loopback_instance_reply"
2218 func (*CreateLoopbackInstanceReply) GetCrcString() string {
2221 func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
2222 return api.ReplyMessage
2225 // DeleteLoopback represents VPP binary API message 'delete_loopback':
2227 // "delete_loopback",
2245 // "crc": "0x529cb13f"
2248 type DeleteLoopback struct {
2252 func (*DeleteLoopback) GetMessageName() string {
2253 return "delete_loopback"
2255 func (*DeleteLoopback) GetCrcString() string {
2258 func (*DeleteLoopback) GetMessageType() api.MessageType {
2259 return api.RequestMessage
2262 // DeleteLoopbackReply represents VPP binary API message 'delete_loopback_reply':
2264 // "delete_loopback_reply",
2278 // "crc": "0xe8d4e804"
2281 type DeleteLoopbackReply struct {
2285 func (*DeleteLoopbackReply) GetMessageName() string {
2286 return "delete_loopback_reply"
2288 func (*DeleteLoopbackReply) GetCrcString() string {
2291 func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
2292 return api.ReplyMessage
2295 // CollectDetailedInterfaceStats represents VPP binary API message 'collect_detailed_interface_stats':
2297 // "collect_detailed_interface_stats",
2319 // "crc": "0x69d24598"
2322 type CollectDetailedInterfaceStats struct {
2327 func (*CollectDetailedInterfaceStats) GetMessageName() string {
2328 return "collect_detailed_interface_stats"
2330 func (*CollectDetailedInterfaceStats) GetCrcString() string {
2333 func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType {
2334 return api.RequestMessage
2337 // CollectDetailedInterfaceStatsReply represents VPP binary API message 'collect_detailed_interface_stats_reply':
2339 // "collect_detailed_interface_stats_reply",
2353 // "crc": "0xe8d4e804"
2356 type CollectDetailedInterfaceStatsReply struct {
2360 func (*CollectDetailedInterfaceStatsReply) GetMessageName() string {
2361 return "collect_detailed_interface_stats_reply"
2363 func (*CollectDetailedInterfaceStatsReply) GetCrcString() string {
2366 func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType {
2367 return api.ReplyMessage
2371 api.RegisterMessage((*SwInterfaceSetFlags)(nil), "interface.SwInterfaceSetFlags")
2372 api.RegisterMessage((*SwInterfaceSetFlagsReply)(nil), "interface.SwInterfaceSetFlagsReply")
2373 api.RegisterMessage((*HwInterfaceSetMtu)(nil), "interface.HwInterfaceSetMtu")
2374 api.RegisterMessage((*HwInterfaceSetMtuReply)(nil), "interface.HwInterfaceSetMtuReply")
2375 api.RegisterMessage((*SwInterfaceSetMtu)(nil), "interface.SwInterfaceSetMtu")
2376 api.RegisterMessage((*SwInterfaceSetMtuReply)(nil), "interface.SwInterfaceSetMtuReply")
2377 api.RegisterMessage((*SwInterfaceSetIPDirectedBroadcast)(nil), "interface.SwInterfaceSetIPDirectedBroadcast")
2378 api.RegisterMessage((*SwInterfaceSetIPDirectedBroadcastReply)(nil), "interface.SwInterfaceSetIPDirectedBroadcastReply")
2379 api.RegisterMessage((*SwInterfaceEvent)(nil), "interface.SwInterfaceEvent")
2380 api.RegisterMessage((*WantInterfaceEvents)(nil), "interface.WantInterfaceEvents")
2381 api.RegisterMessage((*WantInterfaceEventsReply)(nil), "interface.WantInterfaceEventsReply")
2382 api.RegisterMessage((*SwInterfaceDetails)(nil), "interface.SwInterfaceDetails")
2383 api.RegisterMessage((*SwInterfaceDump)(nil), "interface.SwInterfaceDump")
2384 api.RegisterMessage((*SwInterfaceAddDelAddress)(nil), "interface.SwInterfaceAddDelAddress")
2385 api.RegisterMessage((*SwInterfaceAddDelAddressReply)(nil), "interface.SwInterfaceAddDelAddressReply")
2386 api.RegisterMessage((*SwInterfaceSetTable)(nil), "interface.SwInterfaceSetTable")
2387 api.RegisterMessage((*SwInterfaceSetTableReply)(nil), "interface.SwInterfaceSetTableReply")
2388 api.RegisterMessage((*SwInterfaceGetTable)(nil), "interface.SwInterfaceGetTable")
2389 api.RegisterMessage((*SwInterfaceGetTableReply)(nil), "interface.SwInterfaceGetTableReply")
2390 api.RegisterMessage((*SwInterfaceSetUnnumbered)(nil), "interface.SwInterfaceSetUnnumbered")
2391 api.RegisterMessage((*SwInterfaceSetUnnumberedReply)(nil), "interface.SwInterfaceSetUnnumberedReply")
2392 api.RegisterMessage((*SwInterfaceClearStats)(nil), "interface.SwInterfaceClearStats")
2393 api.RegisterMessage((*SwInterfaceClearStatsReply)(nil), "interface.SwInterfaceClearStatsReply")
2394 api.RegisterMessage((*SwInterfaceTagAddDel)(nil), "interface.SwInterfaceTagAddDel")
2395 api.RegisterMessage((*SwInterfaceTagAddDelReply)(nil), "interface.SwInterfaceTagAddDelReply")
2396 api.RegisterMessage((*SwInterfaceSetMacAddress)(nil), "interface.SwInterfaceSetMacAddress")
2397 api.RegisterMessage((*SwInterfaceSetMacAddressReply)(nil), "interface.SwInterfaceSetMacAddressReply")
2398 api.RegisterMessage((*SwInterfaceGetMacAddress)(nil), "interface.SwInterfaceGetMacAddress")
2399 api.RegisterMessage((*SwInterfaceGetMacAddressReply)(nil), "interface.SwInterfaceGetMacAddressReply")
2400 api.RegisterMessage((*SwInterfaceSetRxMode)(nil), "interface.SwInterfaceSetRxMode")
2401 api.RegisterMessage((*SwInterfaceSetRxModeReply)(nil), "interface.SwInterfaceSetRxModeReply")
2402 api.RegisterMessage((*SwInterfaceSetRxPlacement)(nil), "interface.SwInterfaceSetRxPlacement")
2403 api.RegisterMessage((*SwInterfaceSetRxPlacementReply)(nil), "interface.SwInterfaceSetRxPlacementReply")
2404 api.RegisterMessage((*SwInterfaceRxPlacementDump)(nil), "interface.SwInterfaceRxPlacementDump")
2405 api.RegisterMessage((*SwInterfaceRxPlacementDetails)(nil), "interface.SwInterfaceRxPlacementDetails")
2406 api.RegisterMessage((*InterfaceNameRenumber)(nil), "interface.InterfaceNameRenumber")
2407 api.RegisterMessage((*InterfaceNameRenumberReply)(nil), "interface.InterfaceNameRenumberReply")
2408 api.RegisterMessage((*CreateSubif)(nil), "interface.CreateSubif")
2409 api.RegisterMessage((*CreateSubifReply)(nil), "interface.CreateSubifReply")
2410 api.RegisterMessage((*CreateVlanSubif)(nil), "interface.CreateVlanSubif")
2411 api.RegisterMessage((*CreateVlanSubifReply)(nil), "interface.CreateVlanSubifReply")
2412 api.RegisterMessage((*DeleteSubif)(nil), "interface.DeleteSubif")
2413 api.RegisterMessage((*DeleteSubifReply)(nil), "interface.DeleteSubifReply")
2414 api.RegisterMessage((*CreateLoopback)(nil), "interface.CreateLoopback")
2415 api.RegisterMessage((*CreateLoopbackReply)(nil), "interface.CreateLoopbackReply")
2416 api.RegisterMessage((*CreateLoopbackInstance)(nil), "interface.CreateLoopbackInstance")
2417 api.RegisterMessage((*CreateLoopbackInstanceReply)(nil), "interface.CreateLoopbackInstanceReply")
2418 api.RegisterMessage((*DeleteLoopback)(nil), "interface.DeleteLoopback")
2419 api.RegisterMessage((*DeleteLoopbackReply)(nil), "interface.DeleteLoopbackReply")
2420 api.RegisterMessage((*CollectDetailedInterfaceStats)(nil), "interface.CollectDetailedInterfaceStats")
2421 api.RegisterMessage((*CollectDetailedInterfaceStatsReply)(nil), "interface.CollectDetailedInterfaceStatsReply")