68a8b445810c54607be26247480bd6c8cfb53a5b
[govpp.git] / examples / bin_api / interfaces / interfaces.ba.go
1 // Code generated by GoVPP binapi-generator. DO NOT EDIT.
2 //  source: interface.api.json
3
4 /*
5  Package interfaces is a generated from VPP binary API module 'interface'.
6
7  It contains following objects:
8          51 messages
9           3 types
10           1 alias
11          25 services
12
13 */
14 package interfaces
15
16 import "git.fd.io/govpp.git/api"
17 import "github.com/lunixbochs/struc"
18 import "bytes"
19
20 // Reference imports to suppress errors if they are not otherwise used.
21 var _ = api.RegisterMessage
22 var _ = struc.Pack
23 var _ = bytes.NewBuffer
24
25 // Services represents VPP binary API services:
26 //
27 //      "services": {
28 //          "create_subif": {
29 //              "reply": "create_subif_reply"
30 //          },
31 //          "sw_interface_set_ip_directed_broadcast": {
32 //              "reply": "sw_interface_set_ip_directed_broadcast_reply"
33 //          },
34 //          "delete_subif": {
35 //              "reply": "delete_subif_reply"
36 //          },
37 //          "sw_interface_get_mac_address": {
38 //              "reply": "sw_interface_get_mac_address_reply"
39 //          },
40 //          "sw_interface_tag_add_del": {
41 //              "reply": "sw_interface_tag_add_del_reply"
42 //          },
43 //          "collect_detailed_interface_stats": {
44 //              "reply": "collect_detailed_interface_stats_reply"
45 //          },
46 //          "sw_interface_dump": {
47 //              "reply": "sw_interface_details",
48 //              "stream": true
49 //          },
50 //          "sw_interface_set_rx_placement": {
51 //              "reply": "sw_interface_set_rx_placement_reply"
52 //          },
53 //          "sw_interface_add_del_address": {
54 //              "reply": "sw_interface_add_del_address_reply"
55 //          },
56 //          "sw_interface_get_table": {
57 //              "reply": "sw_interface_get_table_reply"
58 //          },
59 //          "interface_name_renumber": {
60 //              "reply": "interface_name_renumber_reply"
61 //          },
62 //          "create_loopback_instance": {
63 //              "reply": "create_loopback_instance_reply"
64 //          },
65 //          "sw_interface_set_mtu": {
66 //              "reply": "sw_interface_set_mtu_reply"
67 //          },
68 //          "want_interface_events": {
69 //              "reply": "want_interface_events_reply",
70 //              "events": [
71 //                  "sw_interface_event"
72 //              ]
73 //          },
74 //          "create_loopback": {
75 //              "reply": "create_loopback_reply"
76 //          },
77 //          "sw_interface_clear_stats": {
78 //              "reply": "sw_interface_clear_stats_reply"
79 //          },
80 //          "hw_interface_set_mtu": {
81 //              "reply": "hw_interface_set_mtu_reply"
82 //          },
83 //          "sw_interface_set_mac_address": {
84 //              "reply": "sw_interface_set_mac_address_reply"
85 //          },
86 //          "sw_interface_set_unnumbered": {
87 //              "reply": "sw_interface_set_unnumbered_reply"
88 //          },
89 //          "sw_interface_rx_placement_dump": {
90 //              "reply": "sw_interface_rx_placement_details",
91 //              "stream": true
92 //          },
93 //          "sw_interface_set_flags": {
94 //              "reply": "sw_interface_set_flags_reply"
95 //          },
96 //          "delete_loopback": {
97 //              "reply": "delete_loopback_reply"
98 //          },
99 //          "sw_interface_set_rx_mode": {
100 //              "reply": "sw_interface_set_rx_mode_reply"
101 //          },
102 //          "create_vlan_subif": {
103 //              "reply": "create_vlan_subif_reply"
104 //          },
105 //          "sw_interface_set_table": {
106 //              "reply": "sw_interface_set_table_reply"
107 //          }
108 //      },
109 //
110 type Services interface {
111         DumpSwInterface(*SwInterfaceDump) ([]*SwInterfaceDetails, error)
112         DumpSwInterfaceRxPlacement(*SwInterfaceRxPlacementDump) ([]*SwInterfaceRxPlacementDetails, error)
113         CollectDetailedInterfaceStats(*CollectDetailedInterfaceStats) (*CollectDetailedInterfaceStatsReply, error)
114         CreateLoopback(*CreateLoopback) (*CreateLoopbackReply, error)
115         CreateLoopbackInstance(*CreateLoopbackInstance) (*CreateLoopbackInstanceReply, error)
116         CreateSubif(*CreateSubif) (*CreateSubifReply, error)
117         CreateVlanSubif(*CreateVlanSubif) (*CreateVlanSubifReply, error)
118         DeleteLoopback(*DeleteLoopback) (*DeleteLoopbackReply, error)
119         DeleteSubif(*DeleteSubif) (*DeleteSubifReply, error)
120         HwInterfaceSetMtu(*HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error)
121         InterfaceNameRenumber(*InterfaceNameRenumber) (*InterfaceNameRenumberReply, error)
122         SwInterfaceAddDelAddress(*SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error)
123         SwInterfaceClearStats(*SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error)
124         SwInterfaceGetMacAddress(*SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error)
125         SwInterfaceGetTable(*SwInterfaceGetTable) (*SwInterfaceGetTableReply, error)
126         SwInterfaceSetFlags(*SwInterfaceSetFlags) (*SwInterfaceSetFlagsReply, error)
127         SwInterfaceSetIPDirectedBroadcast(*SwInterfaceSetIPDirectedBroadcast) (*SwInterfaceSetIPDirectedBroadcastReply, error)
128         SwInterfaceSetMacAddress(*SwInterfaceSetMacAddress) (*SwInterfaceSetMacAddressReply, error)
129         SwInterfaceSetMtu(*SwInterfaceSetMtu) (*SwInterfaceSetMtuReply, error)
130         SwInterfaceSetRxMode(*SwInterfaceSetRxMode) (*SwInterfaceSetRxModeReply, error)
131         SwInterfaceSetRxPlacement(*SwInterfaceSetRxPlacement) (*SwInterfaceSetRxPlacementReply, error)
132         SwInterfaceSetTable(*SwInterfaceSetTable) (*SwInterfaceSetTableReply, error)
133         SwInterfaceSetUnnumbered(*SwInterfaceSetUnnumbered) (*SwInterfaceSetUnnumberedReply, error)
134         SwInterfaceTagAddDel(*SwInterfaceTagAddDel) (*SwInterfaceTagAddDelReply, error)
135         WantInterfaceEvents(*WantInterfaceEvents) (*WantInterfaceEventsReply, error)
136 }
137
138 /* Aliases */
139
140 // InterfaceIndex represents VPP binary API alias 'interface_index':
141 //
142 //      "interface_index": {
143 //          "type": "u32"
144 //      }
145 //
146 type InterfaceIndex uint32
147
148 /* Types */
149
150 // VlibCounter represents VPP binary API type 'vlib_counter':
151 //
152 //      "vlib_counter",
153 //      [
154 //          "u64",
155 //          "packets"
156 //      ],
157 //      [
158 //          "u64",
159 //          "bytes"
160 //      ],
161 //      {
162 //          "crc": "0xce2325a2"
163 //      }
164 //
165 type VlibCounter struct {
166         Packets uint64
167         Bytes   uint64
168 }
169
170 func (*VlibCounter) GetTypeName() string {
171         return "vlib_counter"
172 }
173 func (*VlibCounter) GetCrcString() string {
174         return "ce2325a2"
175 }
176
177 // VnetCombinedCounter represents VPP binary API type 'vnet_combined_counter':
178 //
179 //      "vnet_combined_counter",
180 //      [
181 //          "u32",
182 //          "sw_if_index"
183 //      ],
184 //      [
185 //          "u64",
186 //          "rx_packets"
187 //      ],
188 //      [
189 //          "u64",
190 //          "rx_bytes"
191 //      ],
192 //      [
193 //          "u64",
194 //          "rx_unicast_packets"
195 //      ],
196 //      [
197 //          "u64",
198 //          "rx_unicast_bytes"
199 //      ],
200 //      [
201 //          "u64",
202 //          "rx_multicast_packets"
203 //      ],
204 //      [
205 //          "u64",
206 //          "rx_multicast_bytes"
207 //      ],
208 //      [
209 //          "u64",
210 //          "rx_broadcast_packets"
211 //      ],
212 //      [
213 //          "u64",
214 //          "rx_broadcast_bytes"
215 //      ],
216 //      [
217 //          "u64",
218 //          "tx_packets"
219 //      ],
220 //      [
221 //          "u64",
222 //          "tx_bytes"
223 //      ],
224 //      [
225 //          "u64",
226 //          "tx_unicast_packets"
227 //      ],
228 //      [
229 //          "u64",
230 //          "tx_unicast_bytes"
231 //      ],
232 //      [
233 //          "u64",
234 //          "tx_multicast_packets"
235 //      ],
236 //      [
237 //          "u64",
238 //          "tx_multicast_bytes"
239 //      ],
240 //      [
241 //          "u64",
242 //          "tx_broadcast_packets"
243 //      ],
244 //      [
245 //          "u64",
246 //          "tx_broadcast_bytes"
247 //      ],
248 //      {
249 //          "crc": "0x20905ca4"
250 //      }
251 //
252 type VnetCombinedCounter struct {
253         SwIfIndex          uint32
254         RxPackets          uint64
255         RxBytes            uint64
256         RxUnicastPackets   uint64
257         RxUnicastBytes     uint64
258         RxMulticastPackets uint64
259         RxMulticastBytes   uint64
260         RxBroadcastPackets uint64
261         RxBroadcastBytes   uint64
262         TxPackets          uint64
263         TxBytes            uint64
264         TxUnicastPackets   uint64
265         TxUnicastBytes     uint64
266         TxMulticastPackets uint64
267         TxMulticastBytes   uint64
268         TxBroadcastPackets uint64
269         TxBroadcastBytes   uint64
270 }
271
272 func (*VnetCombinedCounter) GetTypeName() string {
273         return "vnet_combined_counter"
274 }
275 func (*VnetCombinedCounter) GetCrcString() string {
276         return "20905ca4"
277 }
278
279 // VnetSimpleCounter represents VPP binary API type 'vnet_simple_counter':
280 //
281 //      "vnet_simple_counter",
282 //      [
283 //          "u32",
284 //          "sw_if_index"
285 //      ],
286 //      [
287 //          "u64",
288 //          "drop"
289 //      ],
290 //      [
291 //          "u64",
292 //          "punt"
293 //      ],
294 //      [
295 //          "u64",
296 //          "rx_ip4"
297 //      ],
298 //      [
299 //          "u64",
300 //          "rx_ip6"
301 //      ],
302 //      [
303 //          "u64",
304 //          "rx_no_buffer"
305 //      ],
306 //      [
307 //          "u64",
308 //          "rx_miss"
309 //      ],
310 //      [
311 //          "u64",
312 //          "rx_error"
313 //      ],
314 //      [
315 //          "u64",
316 //          "tx_error"
317 //      ],
318 //      [
319 //          "u64",
320 //          "rx_mpls"
321 //      ],
322 //      {
323 //          "crc": "0x8bd65e2d"
324 //      }
325 //
326 type VnetSimpleCounter struct {
327         SwIfIndex  uint32
328         Drop       uint64
329         Punt       uint64
330         RxIP4      uint64
331         RxIP6      uint64
332         RxNoBuffer uint64
333         RxMiss     uint64
334         RxError    uint64
335         TxError    uint64
336         RxMpls     uint64
337 }
338
339 func (*VnetSimpleCounter) GetTypeName() string {
340         return "vnet_simple_counter"
341 }
342 func (*VnetSimpleCounter) GetCrcString() string {
343         return "8bd65e2d"
344 }
345
346 /* Messages */
347
348 // SwInterfaceSetFlags represents VPP binary API message 'sw_interface_set_flags':
349 //
350 //      "sw_interface_set_flags",
351 //      [
352 //          "u16",
353 //          "_vl_msg_id"
354 //      ],
355 //      [
356 //          "u32",
357 //          "client_index"
358 //      ],
359 //      [
360 //          "u32",
361 //          "context"
362 //      ],
363 //      [
364 //          "u32",
365 //          "sw_if_index"
366 //      ],
367 //      [
368 //          "u8",
369 //          "admin_up_down"
370 //      ],
371 //      {
372 //          "crc": "0x555485f5"
373 //      }
374 //
375 type SwInterfaceSetFlags struct {
376         SwIfIndex   uint32
377         AdminUpDown uint8
378 }
379
380 func (*SwInterfaceSetFlags) GetMessageName() string {
381         return "sw_interface_set_flags"
382 }
383 func (*SwInterfaceSetFlags) GetCrcString() string {
384         return "555485f5"
385 }
386 func (*SwInterfaceSetFlags) GetMessageType() api.MessageType {
387         return api.RequestMessage
388 }
389
390 // SwInterfaceSetFlagsReply represents VPP binary API message 'sw_interface_set_flags_reply':
391 //
392 //      "sw_interface_set_flags_reply",
393 //      [
394 //          "u16",
395 //          "_vl_msg_id"
396 //      ],
397 //      [
398 //          "u32",
399 //          "context"
400 //      ],
401 //      [
402 //          "i32",
403 //          "retval"
404 //      ],
405 //      {
406 //          "crc": "0xe8d4e804"
407 //      }
408 //
409 type SwInterfaceSetFlagsReply struct {
410         Retval int32
411 }
412
413 func (*SwInterfaceSetFlagsReply) GetMessageName() string {
414         return "sw_interface_set_flags_reply"
415 }
416 func (*SwInterfaceSetFlagsReply) GetCrcString() string {
417         return "e8d4e804"
418 }
419 func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType {
420         return api.ReplyMessage
421 }
422
423 // HwInterfaceSetMtu represents VPP binary API message 'hw_interface_set_mtu':
424 //
425 //      "hw_interface_set_mtu",
426 //      [
427 //          "u16",
428 //          "_vl_msg_id"
429 //      ],
430 //      [
431 //          "u32",
432 //          "client_index"
433 //      ],
434 //      [
435 //          "u32",
436 //          "context"
437 //      ],
438 //      [
439 //          "u32",
440 //          "sw_if_index"
441 //      ],
442 //      [
443 //          "u16",
444 //          "mtu"
445 //      ],
446 //      {
447 //          "crc": "0x132da1e7"
448 //      }
449 //
450 type HwInterfaceSetMtu struct {
451         SwIfIndex uint32
452         Mtu       uint16
453 }
454
455 func (*HwInterfaceSetMtu) GetMessageName() string {
456         return "hw_interface_set_mtu"
457 }
458 func (*HwInterfaceSetMtu) GetCrcString() string {
459         return "132da1e7"
460 }
461 func (*HwInterfaceSetMtu) GetMessageType() api.MessageType {
462         return api.RequestMessage
463 }
464
465 // HwInterfaceSetMtuReply represents VPP binary API message 'hw_interface_set_mtu_reply':
466 //
467 //      "hw_interface_set_mtu_reply",
468 //      [
469 //          "u16",
470 //          "_vl_msg_id"
471 //      ],
472 //      [
473 //          "u32",
474 //          "context"
475 //      ],
476 //      [
477 //          "i32",
478 //          "retval"
479 //      ],
480 //      {
481 //          "crc": "0xe8d4e804"
482 //      }
483 //
484 type HwInterfaceSetMtuReply struct {
485         Retval int32
486 }
487
488 func (*HwInterfaceSetMtuReply) GetMessageName() string {
489         return "hw_interface_set_mtu_reply"
490 }
491 func (*HwInterfaceSetMtuReply) GetCrcString() string {
492         return "e8d4e804"
493 }
494 func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType {
495         return api.ReplyMessage
496 }
497
498 // SwInterfaceSetMtu represents VPP binary API message 'sw_interface_set_mtu':
499 //
500 //      "sw_interface_set_mtu",
501 //      [
502 //          "u16",
503 //          "_vl_msg_id"
504 //      ],
505 //      [
506 //          "u32",
507 //          "client_index"
508 //      ],
509 //      [
510 //          "u32",
511 //          "context"
512 //      ],
513 //      [
514 //          "u32",
515 //          "sw_if_index"
516 //      ],
517 //      [
518 //          "u32",
519 //          "mtu",
520 //          4
521 //      ],
522 //      {
523 //          "crc": "0xd0008db8"
524 //      }
525 //
526 type SwInterfaceSetMtu struct {
527         SwIfIndex uint32
528         Mtu       []uint32 `struc:"[4]uint32"`
529 }
530
531 func (*SwInterfaceSetMtu) GetMessageName() string {
532         return "sw_interface_set_mtu"
533 }
534 func (*SwInterfaceSetMtu) GetCrcString() string {
535         return "d0008db8"
536 }
537 func (*SwInterfaceSetMtu) GetMessageType() api.MessageType {
538         return api.RequestMessage
539 }
540
541 // SwInterfaceSetMtuReply represents VPP binary API message 'sw_interface_set_mtu_reply':
542 //
543 //      "sw_interface_set_mtu_reply",
544 //      [
545 //          "u16",
546 //          "_vl_msg_id"
547 //      ],
548 //      [
549 //          "u32",
550 //          "context"
551 //      ],
552 //      [
553 //          "i32",
554 //          "retval"
555 //      ],
556 //      {
557 //          "crc": "0xe8d4e804"
558 //      }
559 //
560 type SwInterfaceSetMtuReply struct {
561         Retval int32
562 }
563
564 func (*SwInterfaceSetMtuReply) GetMessageName() string {
565         return "sw_interface_set_mtu_reply"
566 }
567 func (*SwInterfaceSetMtuReply) GetCrcString() string {
568         return "e8d4e804"
569 }
570 func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType {
571         return api.ReplyMessage
572 }
573
574 // SwInterfaceSetIPDirectedBroadcast represents VPP binary API message 'sw_interface_set_ip_directed_broadcast':
575 //
576 //      "sw_interface_set_ip_directed_broadcast",
577 //      [
578 //          "u16",
579 //          "_vl_msg_id"
580 //      ],
581 //      [
582 //          "u32",
583 //          "client_index"
584 //      ],
585 //      [
586 //          "u32",
587 //          "context"
588 //      ],
589 //      [
590 //          "u32",
591 //          "sw_if_index"
592 //      ],
593 //      [
594 //          "u8",
595 //          "enable"
596 //      ],
597 //      {
598 //          "crc": "0xa36fadc0"
599 //      }
600 //
601 type SwInterfaceSetIPDirectedBroadcast struct {
602         SwIfIndex uint32
603         Enable    uint8
604 }
605
606 func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string {
607         return "sw_interface_set_ip_directed_broadcast"
608 }
609 func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string {
610         return "a36fadc0"
611 }
612 func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType() api.MessageType {
613         return api.RequestMessage
614 }
615
616 // SwInterfaceSetIPDirectedBroadcastReply represents VPP binary API message 'sw_interface_set_ip_directed_broadcast_reply':
617 //
618 //      "sw_interface_set_ip_directed_broadcast_reply",
619 //      [
620 //          "u16",
621 //          "_vl_msg_id"
622 //      ],
623 //      [
624 //          "u32",
625 //          "context"
626 //      ],
627 //      [
628 //          "i32",
629 //          "retval"
630 //      ],
631 //      {
632 //          "crc": "0xe8d4e804"
633 //      }
634 //
635 type SwInterfaceSetIPDirectedBroadcastReply struct {
636         Retval int32
637 }
638
639 func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string {
640         return "sw_interface_set_ip_directed_broadcast_reply"
641 }
642 func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string {
643         return "e8d4e804"
644 }
645 func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType {
646         return api.ReplyMessage
647 }
648
649 // SwInterfaceEvent represents VPP binary API message 'sw_interface_event':
650 //
651 //      "sw_interface_event",
652 //      [
653 //          "u16",
654 //          "_vl_msg_id"
655 //      ],
656 //      [
657 //          "u32",
658 //          "client_index"
659 //      ],
660 //      [
661 //          "u32",
662 //          "pid"
663 //      ],
664 //      [
665 //          "u32",
666 //          "sw_if_index"
667 //      ],
668 //      [
669 //          "u8",
670 //          "admin_up_down"
671 //      ],
672 //      [
673 //          "u8",
674 //          "link_up_down"
675 //      ],
676 //      [
677 //          "u8",
678 //          "deleted"
679 //      ],
680 //      {
681 //          "crc": "0xbf9938e4"
682 //      }
683 //
684 type SwInterfaceEvent struct {
685         PID         uint32
686         SwIfIndex   uint32
687         AdminUpDown uint8
688         LinkUpDown  uint8
689         Deleted     uint8
690 }
691
692 func (*SwInterfaceEvent) GetMessageName() string {
693         return "sw_interface_event"
694 }
695 func (*SwInterfaceEvent) GetCrcString() string {
696         return "bf9938e4"
697 }
698 func (*SwInterfaceEvent) GetMessageType() api.MessageType {
699         return api.EventMessage
700 }
701
702 // WantInterfaceEvents represents VPP binary API message 'want_interface_events':
703 //
704 //      "want_interface_events",
705 //      [
706 //          "u16",
707 //          "_vl_msg_id"
708 //      ],
709 //      [
710 //          "u32",
711 //          "client_index"
712 //      ],
713 //      [
714 //          "u32",
715 //          "context"
716 //      ],
717 //      [
718 //          "u32",
719 //          "enable_disable"
720 //      ],
721 //      [
722 //          "u32",
723 //          "pid"
724 //      ],
725 //      {
726 //          "crc": "0x476f5a08"
727 //      }
728 //
729 type WantInterfaceEvents struct {
730         EnableDisable uint32
731         PID           uint32
732 }
733
734 func (*WantInterfaceEvents) GetMessageName() string {
735         return "want_interface_events"
736 }
737 func (*WantInterfaceEvents) GetCrcString() string {
738         return "476f5a08"
739 }
740 func (*WantInterfaceEvents) GetMessageType() api.MessageType {
741         return api.RequestMessage
742 }
743
744 // WantInterfaceEventsReply represents VPP binary API message 'want_interface_events_reply':
745 //
746 //      "want_interface_events_reply",
747 //      [
748 //          "u16",
749 //          "_vl_msg_id"
750 //      ],
751 //      [
752 //          "u32",
753 //          "context"
754 //      ],
755 //      [
756 //          "i32",
757 //          "retval"
758 //      ],
759 //      {
760 //          "crc": "0xe8d4e804"
761 //      }
762 //
763 type WantInterfaceEventsReply struct {
764         Retval int32
765 }
766
767 func (*WantInterfaceEventsReply) GetMessageName() string {
768         return "want_interface_events_reply"
769 }
770 func (*WantInterfaceEventsReply) GetCrcString() string {
771         return "e8d4e804"
772 }
773 func (*WantInterfaceEventsReply) GetMessageType() api.MessageType {
774         return api.ReplyMessage
775 }
776
777 // SwInterfaceDetails represents VPP binary API message 'sw_interface_details':
778 //
779 //      "sw_interface_details",
780 //      [
781 //          "u16",
782 //          "_vl_msg_id"
783 //      ],
784 //      [
785 //          "u32",
786 //          "context"
787 //      ],
788 //      [
789 //          "u32",
790 //          "sw_if_index"
791 //      ],
792 //      [
793 //          "u32",
794 //          "sup_sw_if_index"
795 //      ],
796 //      [
797 //          "u32",
798 //          "l2_address_length"
799 //      ],
800 //      [
801 //          "u8",
802 //          "l2_address",
803 //          8
804 //      ],
805 //      [
806 //          "u8",
807 //          "interface_name",
808 //          64
809 //      ],
810 //      [
811 //          "u8",
812 //          "admin_up_down"
813 //      ],
814 //      [
815 //          "u8",
816 //          "link_up_down"
817 //      ],
818 //      [
819 //          "u8",
820 //          "link_duplex"
821 //      ],
822 //      [
823 //          "u32",
824 //          "link_speed"
825 //      ],
826 //      [
827 //          "u16",
828 //          "link_mtu"
829 //      ],
830 //      [
831 //          "u32",
832 //          "mtu",
833 //          4
834 //      ],
835 //      [
836 //          "u32",
837 //          "sub_id"
838 //      ],
839 //      [
840 //          "u8",
841 //          "sub_dot1ad"
842 //      ],
843 //      [
844 //          "u8",
845 //          "sub_dot1ah"
846 //      ],
847 //      [
848 //          "u8",
849 //          "sub_number_of_tags"
850 //      ],
851 //      [
852 //          "u16",
853 //          "sub_outer_vlan_id"
854 //      ],
855 //      [
856 //          "u16",
857 //          "sub_inner_vlan_id"
858 //      ],
859 //      [
860 //          "u8",
861 //          "sub_exact_match"
862 //      ],
863 //      [
864 //          "u8",
865 //          "sub_default"
866 //      ],
867 //      [
868 //          "u8",
869 //          "sub_outer_vlan_id_any"
870 //      ],
871 //      [
872 //          "u8",
873 //          "sub_inner_vlan_id_any"
874 //      ],
875 //      [
876 //          "u32",
877 //          "vtr_op"
878 //      ],
879 //      [
880 //          "u32",
881 //          "vtr_push_dot1q"
882 //      ],
883 //      [
884 //          "u32",
885 //          "vtr_tag1"
886 //      ],
887 //      [
888 //          "u32",
889 //          "vtr_tag2"
890 //      ],
891 //      [
892 //          "u8",
893 //          "tag",
894 //          64
895 //      ],
896 //      [
897 //          "u16",
898 //          "outer_tag"
899 //      ],
900 //      [
901 //          "u8",
902 //          "b_dmac",
903 //          6
904 //      ],
905 //      [
906 //          "u8",
907 //          "b_smac",
908 //          6
909 //      ],
910 //      [
911 //          "u16",
912 //          "b_vlanid"
913 //      ],
914 //      [
915 //          "u32",
916 //          "i_sid"
917 //      ],
918 //      {
919 //          "crc": "0xe4ee7eb6"
920 //      }
921 //
922 type SwInterfaceDetails struct {
923         SwIfIndex         uint32
924         SupSwIfIndex      uint32
925         L2AddressLength   uint32
926         L2Address         []byte `struc:"[8]byte"`
927         InterfaceName     []byte `struc:"[64]byte"`
928         AdminUpDown       uint8
929         LinkUpDown        uint8
930         LinkDuplex        uint8
931         LinkSpeed         uint32
932         LinkMtu           uint16
933         Mtu               []uint32 `struc:"[4]uint32"`
934         SubID             uint32
935         SubDot1ad         uint8
936         SubDot1ah         uint8
937         SubNumberOfTags   uint8
938         SubOuterVlanID    uint16
939         SubInnerVlanID    uint16
940         SubExactMatch     uint8
941         SubDefault        uint8
942         SubOuterVlanIDAny uint8
943         SubInnerVlanIDAny uint8
944         VtrOp             uint32
945         VtrPushDot1q      uint32
946         VtrTag1           uint32
947         VtrTag2           uint32
948         Tag               []byte `struc:"[64]byte"`
949         OuterTag          uint16
950         BDmac             []byte `struc:"[6]byte"`
951         BSmac             []byte `struc:"[6]byte"`
952         BVlanid           uint16
953         ISid              uint32
954 }
955
956 func (*SwInterfaceDetails) GetMessageName() string {
957         return "sw_interface_details"
958 }
959 func (*SwInterfaceDetails) GetCrcString() string {
960         return "e4ee7eb6"
961 }
962 func (*SwInterfaceDetails) GetMessageType() api.MessageType {
963         return api.ReplyMessage
964 }
965
966 // SwInterfaceDump represents VPP binary API message 'sw_interface_dump':
967 //
968 //      "sw_interface_dump",
969 //      [
970 //          "u16",
971 //          "_vl_msg_id"
972 //      ],
973 //      [
974 //          "u32",
975 //          "client_index"
976 //      ],
977 //      [
978 //          "u32",
979 //          "context"
980 //      ],
981 //      [
982 //          "u8",
983 //          "name_filter_valid"
984 //      ],
985 //      [
986 //          "u8",
987 //          "name_filter",
988 //          49
989 //      ],
990 //      {
991 //          "crc": "0x63f5e3b7"
992 //      }
993 //
994 type SwInterfaceDump struct {
995         NameFilterValid uint8
996         NameFilter      []byte `struc:"[49]byte"`
997 }
998
999 func (*SwInterfaceDump) GetMessageName() string {
1000         return "sw_interface_dump"
1001 }
1002 func (*SwInterfaceDump) GetCrcString() string {
1003         return "63f5e3b7"
1004 }
1005 func (*SwInterfaceDump) GetMessageType() api.MessageType {
1006         return api.RequestMessage
1007 }
1008
1009 // SwInterfaceAddDelAddress represents VPP binary API message 'sw_interface_add_del_address':
1010 //
1011 //      "sw_interface_add_del_address",
1012 //      [
1013 //          "u16",
1014 //          "_vl_msg_id"
1015 //      ],
1016 //      [
1017 //          "u32",
1018 //          "client_index"
1019 //      ],
1020 //      [
1021 //          "u32",
1022 //          "context"
1023 //      ],
1024 //      [
1025 //          "u32",
1026 //          "sw_if_index"
1027 //      ],
1028 //      [
1029 //          "u8",
1030 //          "is_add"
1031 //      ],
1032 //      [
1033 //          "u8",
1034 //          "is_ipv6"
1035 //      ],
1036 //      [
1037 //          "u8",
1038 //          "del_all"
1039 //      ],
1040 //      [
1041 //          "u8",
1042 //          "address_length"
1043 //      ],
1044 //      [
1045 //          "u8",
1046 //          "address",
1047 //          16
1048 //      ],
1049 //      {
1050 //          "crc": "0x7b583179"
1051 //      }
1052 //
1053 type SwInterfaceAddDelAddress struct {
1054         SwIfIndex     uint32
1055         IsAdd         uint8
1056         IsIPv6        uint8
1057         DelAll        uint8
1058         AddressLength uint8
1059         Address       []byte `struc:"[16]byte"`
1060 }
1061
1062 func (*SwInterfaceAddDelAddress) GetMessageName() string {
1063         return "sw_interface_add_del_address"
1064 }
1065 func (*SwInterfaceAddDelAddress) GetCrcString() string {
1066         return "7b583179"
1067 }
1068 func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType {
1069         return api.RequestMessage
1070 }
1071
1072 // SwInterfaceAddDelAddressReply represents VPP binary API message 'sw_interface_add_del_address_reply':
1073 //
1074 //      "sw_interface_add_del_address_reply",
1075 //      [
1076 //          "u16",
1077 //          "_vl_msg_id"
1078 //      ],
1079 //      [
1080 //          "u32",
1081 //          "context"
1082 //      ],
1083 //      [
1084 //          "i32",
1085 //          "retval"
1086 //      ],
1087 //      {
1088 //          "crc": "0xe8d4e804"
1089 //      }
1090 //
1091 type SwInterfaceAddDelAddressReply struct {
1092         Retval int32
1093 }
1094
1095 func (*SwInterfaceAddDelAddressReply) GetMessageName() string {
1096         return "sw_interface_add_del_address_reply"
1097 }
1098 func (*SwInterfaceAddDelAddressReply) GetCrcString() string {
1099         return "e8d4e804"
1100 }
1101 func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType {
1102         return api.ReplyMessage
1103 }
1104
1105 // SwInterfaceSetTable represents VPP binary API message 'sw_interface_set_table':
1106 //
1107 //      "sw_interface_set_table",
1108 //      [
1109 //          "u16",
1110 //          "_vl_msg_id"
1111 //      ],
1112 //      [
1113 //          "u32",
1114 //          "client_index"
1115 //      ],
1116 //      [
1117 //          "u32",
1118 //          "context"
1119 //      ],
1120 //      [
1121 //          "u32",
1122 //          "sw_if_index"
1123 //      ],
1124 //      [
1125 //          "u8",
1126 //          "is_ipv6"
1127 //      ],
1128 //      [
1129 //          "u32",
1130 //          "vrf_id"
1131 //      ],
1132 //      {
1133 //          "crc": "0xacb25d89"
1134 //      }
1135 //
1136 type SwInterfaceSetTable struct {
1137         SwIfIndex uint32
1138         IsIPv6    uint8
1139         VrfID     uint32
1140 }
1141
1142 func (*SwInterfaceSetTable) GetMessageName() string {
1143         return "sw_interface_set_table"
1144 }
1145 func (*SwInterfaceSetTable) GetCrcString() string {
1146         return "acb25d89"
1147 }
1148 func (*SwInterfaceSetTable) GetMessageType() api.MessageType {
1149         return api.RequestMessage
1150 }
1151
1152 // SwInterfaceSetTableReply represents VPP binary API message 'sw_interface_set_table_reply':
1153 //
1154 //      "sw_interface_set_table_reply",
1155 //      [
1156 //          "u16",
1157 //          "_vl_msg_id"
1158 //      ],
1159 //      [
1160 //          "u32",
1161 //          "context"
1162 //      ],
1163 //      [
1164 //          "i32",
1165 //          "retval"
1166 //      ],
1167 //      {
1168 //          "crc": "0xe8d4e804"
1169 //      }
1170 //
1171 type SwInterfaceSetTableReply struct {
1172         Retval int32
1173 }
1174
1175 func (*SwInterfaceSetTableReply) GetMessageName() string {
1176         return "sw_interface_set_table_reply"
1177 }
1178 func (*SwInterfaceSetTableReply) GetCrcString() string {
1179         return "e8d4e804"
1180 }
1181 func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType {
1182         return api.ReplyMessage
1183 }
1184
1185 // SwInterfaceGetTable represents VPP binary API message 'sw_interface_get_table':
1186 //
1187 //      "sw_interface_get_table",
1188 //      [
1189 //          "u16",
1190 //          "_vl_msg_id"
1191 //      ],
1192 //      [
1193 //          "u32",
1194 //          "client_index"
1195 //      ],
1196 //      [
1197 //          "u32",
1198 //          "context"
1199 //      ],
1200 //      [
1201 //          "u32",
1202 //          "sw_if_index"
1203 //      ],
1204 //      [
1205 //          "u8",
1206 //          "is_ipv6"
1207 //      ],
1208 //      {
1209 //          "crc": "0x6b7bcd0a"
1210 //      }
1211 //
1212 type SwInterfaceGetTable struct {
1213         SwIfIndex uint32
1214         IsIPv6    uint8
1215 }
1216
1217 func (*SwInterfaceGetTable) GetMessageName() string {
1218         return "sw_interface_get_table"
1219 }
1220 func (*SwInterfaceGetTable) GetCrcString() string {
1221         return "6b7bcd0a"
1222 }
1223 func (*SwInterfaceGetTable) GetMessageType() api.MessageType {
1224         return api.RequestMessage
1225 }
1226
1227 // SwInterfaceGetTableReply represents VPP binary API message 'sw_interface_get_table_reply':
1228 //
1229 //      "sw_interface_get_table_reply",
1230 //      [
1231 //          "u16",
1232 //          "_vl_msg_id"
1233 //      ],
1234 //      [
1235 //          "u32",
1236 //          "context"
1237 //      ],
1238 //      [
1239 //          "i32",
1240 //          "retval"
1241 //      ],
1242 //      [
1243 //          "u32",
1244 //          "vrf_id"
1245 //      ],
1246 //      {
1247 //          "crc": "0xa6eb0109"
1248 //      }
1249 //
1250 type SwInterfaceGetTableReply struct {
1251         Retval int32
1252         VrfID  uint32
1253 }
1254
1255 func (*SwInterfaceGetTableReply) GetMessageName() string {
1256         return "sw_interface_get_table_reply"
1257 }
1258 func (*SwInterfaceGetTableReply) GetCrcString() string {
1259         return "a6eb0109"
1260 }
1261 func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType {
1262         return api.ReplyMessage
1263 }
1264
1265 // SwInterfaceSetUnnumbered represents VPP binary API message 'sw_interface_set_unnumbered':
1266 //
1267 //      "sw_interface_set_unnumbered",
1268 //      [
1269 //          "u16",
1270 //          "_vl_msg_id"
1271 //      ],
1272 //      [
1273 //          "u32",
1274 //          "client_index"
1275 //      ],
1276 //      [
1277 //          "u32",
1278 //          "context"
1279 //      ],
1280 //      [
1281 //          "u32",
1282 //          "sw_if_index"
1283 //      ],
1284 //      [
1285 //          "u32",
1286 //          "unnumbered_sw_if_index"
1287 //      ],
1288 //      [
1289 //          "u8",
1290 //          "is_add"
1291 //      ],
1292 //      {
1293 //          "crc": "0xa2c1bbda"
1294 //      }
1295 //
1296 type SwInterfaceSetUnnumbered struct {
1297         SwIfIndex           uint32
1298         UnnumberedSwIfIndex uint32
1299         IsAdd               uint8
1300 }
1301
1302 func (*SwInterfaceSetUnnumbered) GetMessageName() string {
1303         return "sw_interface_set_unnumbered"
1304 }
1305 func (*SwInterfaceSetUnnumbered) GetCrcString() string {
1306         return "a2c1bbda"
1307 }
1308 func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType {
1309         return api.RequestMessage
1310 }
1311
1312 // SwInterfaceSetUnnumberedReply represents VPP binary API message 'sw_interface_set_unnumbered_reply':
1313 //
1314 //      "sw_interface_set_unnumbered_reply",
1315 //      [
1316 //          "u16",
1317 //          "_vl_msg_id"
1318 //      ],
1319 //      [
1320 //          "u32",
1321 //          "context"
1322 //      ],
1323 //      [
1324 //          "i32",
1325 //          "retval"
1326 //      ],
1327 //      {
1328 //          "crc": "0xe8d4e804"
1329 //      }
1330 //
1331 type SwInterfaceSetUnnumberedReply struct {
1332         Retval int32
1333 }
1334
1335 func (*SwInterfaceSetUnnumberedReply) GetMessageName() string {
1336         return "sw_interface_set_unnumbered_reply"
1337 }
1338 func (*SwInterfaceSetUnnumberedReply) GetCrcString() string {
1339         return "e8d4e804"
1340 }
1341 func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType {
1342         return api.ReplyMessage
1343 }
1344
1345 // SwInterfaceClearStats represents VPP binary API message 'sw_interface_clear_stats':
1346 //
1347 //      "sw_interface_clear_stats",
1348 //      [
1349 //          "u16",
1350 //          "_vl_msg_id"
1351 //      ],
1352 //      [
1353 //          "u32",
1354 //          "client_index"
1355 //      ],
1356 //      [
1357 //          "u32",
1358 //          "context"
1359 //      ],
1360 //      [
1361 //          "u32",
1362 //          "sw_if_index"
1363 //      ],
1364 //      {
1365 //          "crc": "0x529cb13f"
1366 //      }
1367 //
1368 type SwInterfaceClearStats struct {
1369         SwIfIndex uint32
1370 }
1371
1372 func (*SwInterfaceClearStats) GetMessageName() string {
1373         return "sw_interface_clear_stats"
1374 }
1375 func (*SwInterfaceClearStats) GetCrcString() string {
1376         return "529cb13f"
1377 }
1378 func (*SwInterfaceClearStats) GetMessageType() api.MessageType {
1379         return api.RequestMessage
1380 }
1381
1382 // SwInterfaceClearStatsReply represents VPP binary API message 'sw_interface_clear_stats_reply':
1383 //
1384 //      "sw_interface_clear_stats_reply",
1385 //      [
1386 //          "u16",
1387 //          "_vl_msg_id"
1388 //      ],
1389 //      [
1390 //          "u32",
1391 //          "context"
1392 //      ],
1393 //      [
1394 //          "i32",
1395 //          "retval"
1396 //      ],
1397 //      {
1398 //          "crc": "0xe8d4e804"
1399 //      }
1400 //
1401 type SwInterfaceClearStatsReply struct {
1402         Retval int32
1403 }
1404
1405 func (*SwInterfaceClearStatsReply) GetMessageName() string {
1406         return "sw_interface_clear_stats_reply"
1407 }
1408 func (*SwInterfaceClearStatsReply) GetCrcString() string {
1409         return "e8d4e804"
1410 }
1411 func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType {
1412         return api.ReplyMessage
1413 }
1414
1415 // SwInterfaceTagAddDel represents VPP binary API message 'sw_interface_tag_add_del':
1416 //
1417 //      "sw_interface_tag_add_del",
1418 //      [
1419 //          "u16",
1420 //          "_vl_msg_id"
1421 //      ],
1422 //      [
1423 //          "u32",
1424 //          "client_index"
1425 //      ],
1426 //      [
1427 //          "u32",
1428 //          "context"
1429 //      ],
1430 //      [
1431 //          "u8",
1432 //          "is_add"
1433 //      ],
1434 //      [
1435 //          "u32",
1436 //          "sw_if_index"
1437 //      ],
1438 //      [
1439 //          "u8",
1440 //          "tag",
1441 //          64
1442 //      ],
1443 //      {
1444 //          "crc": "0x14cc636c"
1445 //      }
1446 //
1447 type SwInterfaceTagAddDel struct {
1448         IsAdd     uint8
1449         SwIfIndex uint32
1450         Tag       []byte `struc:"[64]byte"`
1451 }
1452
1453 func (*SwInterfaceTagAddDel) GetMessageName() string {
1454         return "sw_interface_tag_add_del"
1455 }
1456 func (*SwInterfaceTagAddDel) GetCrcString() string {
1457         return "14cc636c"
1458 }
1459 func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType {
1460         return api.RequestMessage
1461 }
1462
1463 // SwInterfaceTagAddDelReply represents VPP binary API message 'sw_interface_tag_add_del_reply':
1464 //
1465 //      "sw_interface_tag_add_del_reply",
1466 //      [
1467 //          "u16",
1468 //          "_vl_msg_id"
1469 //      ],
1470 //      [
1471 //          "u32",
1472 //          "context"
1473 //      ],
1474 //      [
1475 //          "i32",
1476 //          "retval"
1477 //      ],
1478 //      {
1479 //          "crc": "0xe8d4e804"
1480 //      }
1481 //
1482 type SwInterfaceTagAddDelReply struct {
1483         Retval int32
1484 }
1485
1486 func (*SwInterfaceTagAddDelReply) GetMessageName() string {
1487         return "sw_interface_tag_add_del_reply"
1488 }
1489 func (*SwInterfaceTagAddDelReply) GetCrcString() string {
1490         return "e8d4e804"
1491 }
1492 func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType {
1493         return api.ReplyMessage
1494 }
1495
1496 // SwInterfaceSetMacAddress represents VPP binary API message 'sw_interface_set_mac_address':
1497 //
1498 //      "sw_interface_set_mac_address",
1499 //      [
1500 //          "u16",
1501 //          "_vl_msg_id"
1502 //      ],
1503 //      [
1504 //          "u32",
1505 //          "client_index"
1506 //      ],
1507 //      [
1508 //          "u32",
1509 //          "context"
1510 //      ],
1511 //      [
1512 //          "u32",
1513 //          "sw_if_index"
1514 //      ],
1515 //      [
1516 //          "u8",
1517 //          "mac_address",
1518 //          6
1519 //      ],
1520 //      {
1521 //          "crc": "0xeed5dfca"
1522 //      }
1523 //
1524 type SwInterfaceSetMacAddress struct {
1525         SwIfIndex  uint32
1526         MacAddress []byte `struc:"[6]byte"`
1527 }
1528
1529 func (*SwInterfaceSetMacAddress) GetMessageName() string {
1530         return "sw_interface_set_mac_address"
1531 }
1532 func (*SwInterfaceSetMacAddress) GetCrcString() string {
1533         return "eed5dfca"
1534 }
1535 func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType {
1536         return api.RequestMessage
1537 }
1538
1539 // SwInterfaceSetMacAddressReply represents VPP binary API message 'sw_interface_set_mac_address_reply':
1540 //
1541 //      "sw_interface_set_mac_address_reply",
1542 //      [
1543 //          "u16",
1544 //          "_vl_msg_id"
1545 //      ],
1546 //      [
1547 //          "u32",
1548 //          "context"
1549 //      ],
1550 //      [
1551 //          "i32",
1552 //          "retval"
1553 //      ],
1554 //      {
1555 //          "crc": "0xe8d4e804"
1556 //      }
1557 //
1558 type SwInterfaceSetMacAddressReply struct {
1559         Retval int32
1560 }
1561
1562 func (*SwInterfaceSetMacAddressReply) GetMessageName() string {
1563         return "sw_interface_set_mac_address_reply"
1564 }
1565 func (*SwInterfaceSetMacAddressReply) GetCrcString() string {
1566         return "e8d4e804"
1567 }
1568 func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType {
1569         return api.ReplyMessage
1570 }
1571
1572 // SwInterfaceGetMacAddress represents VPP binary API message 'sw_interface_get_mac_address':
1573 //
1574 //      "sw_interface_get_mac_address",
1575 //      [
1576 //          "u16",
1577 //          "_vl_msg_id"
1578 //      ],
1579 //      [
1580 //          "u32",
1581 //          "client_index"
1582 //      ],
1583 //      [
1584 //          "u32",
1585 //          "context"
1586 //      ],
1587 //      [
1588 //          "u32",
1589 //          "sw_if_index"
1590 //      ],
1591 //      {
1592 //          "crc": "0x529cb13f"
1593 //      }
1594 //
1595 type SwInterfaceGetMacAddress struct {
1596         SwIfIndex uint32
1597 }
1598
1599 func (*SwInterfaceGetMacAddress) GetMessageName() string {
1600         return "sw_interface_get_mac_address"
1601 }
1602 func (*SwInterfaceGetMacAddress) GetCrcString() string {
1603         return "529cb13f"
1604 }
1605 func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType {
1606         return api.RequestMessage
1607 }
1608
1609 // SwInterfaceGetMacAddressReply represents VPP binary API message 'sw_interface_get_mac_address_reply':
1610 //
1611 //      "sw_interface_get_mac_address_reply",
1612 //      [
1613 //          "u16",
1614 //          "_vl_msg_id"
1615 //      ],
1616 //      [
1617 //          "u32",
1618 //          "context"
1619 //      ],
1620 //      [
1621 //          "i32",
1622 //          "retval"
1623 //      ],
1624 //      [
1625 //          "u8",
1626 //          "mac_address",
1627 //          6
1628 //      ],
1629 //      {
1630 //          "crc": "0x8ea538d3"
1631 //      }
1632 //
1633 type SwInterfaceGetMacAddressReply struct {
1634         Retval     int32
1635         MacAddress []byte `struc:"[6]byte"`
1636 }
1637
1638 func (*SwInterfaceGetMacAddressReply) GetMessageName() string {
1639         return "sw_interface_get_mac_address_reply"
1640 }
1641 func (*SwInterfaceGetMacAddressReply) GetCrcString() string {
1642         return "8ea538d3"
1643 }
1644 func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType {
1645         return api.ReplyMessage
1646 }
1647
1648 // SwInterfaceSetRxMode represents VPP binary API message 'sw_interface_set_rx_mode':
1649 //
1650 //      "sw_interface_set_rx_mode",
1651 //      [
1652 //          "u16",
1653 //          "_vl_msg_id"
1654 //      ],
1655 //      [
1656 //          "u32",
1657 //          "client_index"
1658 //      ],
1659 //      [
1660 //          "u32",
1661 //          "context"
1662 //      ],
1663 //      [
1664 //          "u32",
1665 //          "sw_if_index"
1666 //      ],
1667 //      [
1668 //          "u8",
1669 //          "queue_id_valid"
1670 //      ],
1671 //      [
1672 //          "u32",
1673 //          "queue_id"
1674 //      ],
1675 //      [
1676 //          "u8",
1677 //          "mode"
1678 //      ],
1679 //      {
1680 //          "crc": "0x2a1cc58c"
1681 //      }
1682 //
1683 type SwInterfaceSetRxMode struct {
1684         SwIfIndex    uint32
1685         QueueIDValid uint8
1686         QueueID      uint32
1687         Mode         uint8
1688 }
1689
1690 func (*SwInterfaceSetRxMode) GetMessageName() string {
1691         return "sw_interface_set_rx_mode"
1692 }
1693 func (*SwInterfaceSetRxMode) GetCrcString() string {
1694         return "2a1cc58c"
1695 }
1696 func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType {
1697         return api.RequestMessage
1698 }
1699
1700 // SwInterfaceSetRxModeReply represents VPP binary API message 'sw_interface_set_rx_mode_reply':
1701 //
1702 //      "sw_interface_set_rx_mode_reply",
1703 //      [
1704 //          "u16",
1705 //          "_vl_msg_id"
1706 //      ],
1707 //      [
1708 //          "u32",
1709 //          "context"
1710 //      ],
1711 //      [
1712 //          "i32",
1713 //          "retval"
1714 //      ],
1715 //      {
1716 //          "crc": "0xe8d4e804"
1717 //      }
1718 //
1719 type SwInterfaceSetRxModeReply struct {
1720         Retval int32
1721 }
1722
1723 func (*SwInterfaceSetRxModeReply) GetMessageName() string {
1724         return "sw_interface_set_rx_mode_reply"
1725 }
1726 func (*SwInterfaceSetRxModeReply) GetCrcString() string {
1727         return "e8d4e804"
1728 }
1729 func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType {
1730         return api.ReplyMessage
1731 }
1732
1733 // SwInterfaceSetRxPlacement represents VPP binary API message 'sw_interface_set_rx_placement':
1734 //
1735 //      "sw_interface_set_rx_placement",
1736 //      [
1737 //          "u16",
1738 //          "_vl_msg_id"
1739 //      ],
1740 //      [
1741 //          "u32",
1742 //          "client_index"
1743 //      ],
1744 //      [
1745 //          "u32",
1746 //          "context"
1747 //      ],
1748 //      [
1749 //          "u32",
1750 //          "sw_if_index"
1751 //      ],
1752 //      [
1753 //          "u32",
1754 //          "queue_id"
1755 //      ],
1756 //      [
1757 //          "u32",
1758 //          "worker_id"
1759 //      ],
1760 //      [
1761 //          "u8",
1762 //          "is_main"
1763 //      ],
1764 //      {
1765 //          "crc": "0x4ef4377d"
1766 //      }
1767 //
1768 type SwInterfaceSetRxPlacement struct {
1769         SwIfIndex uint32
1770         QueueID   uint32
1771         WorkerID  uint32
1772         IsMain    uint8
1773 }
1774
1775 func (*SwInterfaceSetRxPlacement) GetMessageName() string {
1776         return "sw_interface_set_rx_placement"
1777 }
1778 func (*SwInterfaceSetRxPlacement) GetCrcString() string {
1779         return "4ef4377d"
1780 }
1781 func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType {
1782         return api.RequestMessage
1783 }
1784
1785 // SwInterfaceSetRxPlacementReply represents VPP binary API message 'sw_interface_set_rx_placement_reply':
1786 //
1787 //      "sw_interface_set_rx_placement_reply",
1788 //      [
1789 //          "u16",
1790 //          "_vl_msg_id"
1791 //      ],
1792 //      [
1793 //          "u32",
1794 //          "context"
1795 //      ],
1796 //      [
1797 //          "i32",
1798 //          "retval"
1799 //      ],
1800 //      {
1801 //          "crc": "0xe8d4e804"
1802 //      }
1803 //
1804 type SwInterfaceSetRxPlacementReply struct {
1805         Retval int32
1806 }
1807
1808 func (*SwInterfaceSetRxPlacementReply) GetMessageName() string {
1809         return "sw_interface_set_rx_placement_reply"
1810 }
1811 func (*SwInterfaceSetRxPlacementReply) GetCrcString() string {
1812         return "e8d4e804"
1813 }
1814 func (*SwInterfaceSetRxPlacementReply) GetMessageType() api.MessageType {
1815         return api.ReplyMessage
1816 }
1817
1818 // SwInterfaceRxPlacementDump represents VPP binary API message 'sw_interface_rx_placement_dump':
1819 //
1820 //      "sw_interface_rx_placement_dump",
1821 //      [
1822 //          "u16",
1823 //          "_vl_msg_id"
1824 //      ],
1825 //      [
1826 //          "u32",
1827 //          "client_index"
1828 //      ],
1829 //      [
1830 //          "u32",
1831 //          "context"
1832 //      ],
1833 //      [
1834 //          "u32",
1835 //          "sw_if_index"
1836 //      ],
1837 //      {
1838 //          "crc": "0x529cb13f"
1839 //      }
1840 //
1841 type SwInterfaceRxPlacementDump struct {
1842         SwIfIndex uint32
1843 }
1844
1845 func (*SwInterfaceRxPlacementDump) GetMessageName() string {
1846         return "sw_interface_rx_placement_dump"
1847 }
1848 func (*SwInterfaceRxPlacementDump) GetCrcString() string {
1849         return "529cb13f"
1850 }
1851 func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType {
1852         return api.RequestMessage
1853 }
1854
1855 // SwInterfaceRxPlacementDetails represents VPP binary API message 'sw_interface_rx_placement_details':
1856 //
1857 //      "sw_interface_rx_placement_details",
1858 //      [
1859 //          "u16",
1860 //          "_vl_msg_id"
1861 //      ],
1862 //      [
1863 //          "u32",
1864 //          "client_index"
1865 //      ],
1866 //      [
1867 //          "u32",
1868 //          "context"
1869 //      ],
1870 //      [
1871 //          "u32",
1872 //          "sw_if_index"
1873 //      ],
1874 //      [
1875 //          "u32",
1876 //          "queue_id"
1877 //      ],
1878 //      [
1879 //          "u32",
1880 //          "worker_id"
1881 //      ],
1882 //      [
1883 //          "u8",
1884 //          "mode"
1885 //      ],
1886 //      {
1887 //          "crc": "0x0e9e33f4"
1888 //      }
1889 //
1890 type SwInterfaceRxPlacementDetails struct {
1891         SwIfIndex uint32
1892         QueueID   uint32
1893         WorkerID  uint32
1894         Mode      uint8
1895 }
1896
1897 func (*SwInterfaceRxPlacementDetails) GetMessageName() string {
1898         return "sw_interface_rx_placement_details"
1899 }
1900 func (*SwInterfaceRxPlacementDetails) GetCrcString() string {
1901         return "0e9e33f4"
1902 }
1903 func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType {
1904         return api.RequestMessage
1905 }
1906
1907 // InterfaceNameRenumber represents VPP binary API message 'interface_name_renumber':
1908 //
1909 //      "interface_name_renumber",
1910 //      [
1911 //          "u16",
1912 //          "_vl_msg_id"
1913 //      ],
1914 //      [
1915 //          "u32",
1916 //          "client_index"
1917 //      ],
1918 //      [
1919 //          "u32",
1920 //          "context"
1921 //      ],
1922 //      [
1923 //          "u32",
1924 //          "sw_if_index"
1925 //      ],
1926 //      [
1927 //          "u32",
1928 //          "new_show_dev_instance"
1929 //      ],
1930 //      {
1931 //          "crc": "0x39194269"
1932 //      }
1933 //
1934 type InterfaceNameRenumber struct {
1935         SwIfIndex          uint32
1936         NewShowDevInstance uint32
1937 }
1938
1939 func (*InterfaceNameRenumber) GetMessageName() string {
1940         return "interface_name_renumber"
1941 }
1942 func (*InterfaceNameRenumber) GetCrcString() string {
1943         return "39194269"
1944 }
1945 func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
1946         return api.RequestMessage
1947 }
1948
1949 // InterfaceNameRenumberReply represents VPP binary API message 'interface_name_renumber_reply':
1950 //
1951 //      "interface_name_renumber_reply",
1952 //      [
1953 //          "u16",
1954 //          "_vl_msg_id"
1955 //      ],
1956 //      [
1957 //          "u32",
1958 //          "context"
1959 //      ],
1960 //      [
1961 //          "i32",
1962 //          "retval"
1963 //      ],
1964 //      {
1965 //          "crc": "0xe8d4e804"
1966 //      }
1967 //
1968 type InterfaceNameRenumberReply struct {
1969         Retval int32
1970 }
1971
1972 func (*InterfaceNameRenumberReply) GetMessageName() string {
1973         return "interface_name_renumber_reply"
1974 }
1975 func (*InterfaceNameRenumberReply) GetCrcString() string {
1976         return "e8d4e804"
1977 }
1978 func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
1979         return api.ReplyMessage
1980 }
1981
1982 // CreateSubif represents VPP binary API message 'create_subif':
1983 //
1984 //      "create_subif",
1985 //      [
1986 //          "u16",
1987 //          "_vl_msg_id"
1988 //      ],
1989 //      [
1990 //          "u32",
1991 //          "client_index"
1992 //      ],
1993 //      [
1994 //          "u32",
1995 //          "context"
1996 //      ],
1997 //      [
1998 //          "u32",
1999 //          "sw_if_index"
2000 //      ],
2001 //      [
2002 //          "u32",
2003 //          "sub_id"
2004 //      ],
2005 //      [
2006 //          "u8",
2007 //          "no_tags"
2008 //      ],
2009 //      [
2010 //          "u8",
2011 //          "one_tag"
2012 //      ],
2013 //      [
2014 //          "u8",
2015 //          "two_tags"
2016 //      ],
2017 //      [
2018 //          "u8",
2019 //          "dot1ad"
2020 //      ],
2021 //      [
2022 //          "u8",
2023 //          "exact_match"
2024 //      ],
2025 //      [
2026 //          "u8",
2027 //          "default_sub"
2028 //      ],
2029 //      [
2030 //          "u8",
2031 //          "outer_vlan_id_any"
2032 //      ],
2033 //      [
2034 //          "u8",
2035 //          "inner_vlan_id_any"
2036 //      ],
2037 //      [
2038 //          "u16",
2039 //          "outer_vlan_id"
2040 //      ],
2041 //      [
2042 //          "u16",
2043 //          "inner_vlan_id"
2044 //      ],
2045 //      {
2046 //          "crc": "0x86cfe408"
2047 //      }
2048 //
2049 type CreateSubif struct {
2050         SwIfIndex      uint32
2051         SubID          uint32
2052         NoTags         uint8
2053         OneTag         uint8
2054         TwoTags        uint8
2055         Dot1ad         uint8
2056         ExactMatch     uint8
2057         DefaultSub     uint8
2058         OuterVlanIDAny uint8
2059         InnerVlanIDAny uint8
2060         OuterVlanID    uint16
2061         InnerVlanID    uint16
2062 }
2063
2064 func (*CreateSubif) GetMessageName() string {
2065         return "create_subif"
2066 }
2067 func (*CreateSubif) GetCrcString() string {
2068         return "86cfe408"
2069 }
2070 func (*CreateSubif) GetMessageType() api.MessageType {
2071         return api.RequestMessage
2072 }
2073
2074 // CreateSubifReply represents VPP binary API message 'create_subif_reply':
2075 //
2076 //      "create_subif_reply",
2077 //      [
2078 //          "u16",
2079 //          "_vl_msg_id"
2080 //      ],
2081 //      [
2082 //          "u32",
2083 //          "context"
2084 //      ],
2085 //      [
2086 //          "i32",
2087 //          "retval"
2088 //      ],
2089 //      [
2090 //          "u32",
2091 //          "sw_if_index"
2092 //      ],
2093 //      {
2094 //          "crc": "0xfda5941f"
2095 //      }
2096 //
2097 type CreateSubifReply struct {
2098         Retval    int32
2099         SwIfIndex uint32
2100 }
2101
2102 func (*CreateSubifReply) GetMessageName() string {
2103         return "create_subif_reply"
2104 }
2105 func (*CreateSubifReply) GetCrcString() string {
2106         return "fda5941f"
2107 }
2108 func (*CreateSubifReply) GetMessageType() api.MessageType {
2109         return api.ReplyMessage
2110 }
2111
2112 // CreateVlanSubif represents VPP binary API message 'create_vlan_subif':
2113 //
2114 //      "create_vlan_subif",
2115 //      [
2116 //          "u16",
2117 //          "_vl_msg_id"
2118 //      ],
2119 //      [
2120 //          "u32",
2121 //          "client_index"
2122 //      ],
2123 //      [
2124 //          "u32",
2125 //          "context"
2126 //      ],
2127 //      [
2128 //          "u32",
2129 //          "sw_if_index"
2130 //      ],
2131 //      [
2132 //          "u32",
2133 //          "vlan_id"
2134 //      ],
2135 //      {
2136 //          "crc": "0x70cadeda"
2137 //      }
2138 //
2139 type CreateVlanSubif struct {
2140         SwIfIndex uint32
2141         VlanID    uint32
2142 }
2143
2144 func (*CreateVlanSubif) GetMessageName() string {
2145         return "create_vlan_subif"
2146 }
2147 func (*CreateVlanSubif) GetCrcString() string {
2148         return "70cadeda"
2149 }
2150 func (*CreateVlanSubif) GetMessageType() api.MessageType {
2151         return api.RequestMessage
2152 }
2153
2154 // CreateVlanSubifReply represents VPP binary API message 'create_vlan_subif_reply':
2155 //
2156 //      "create_vlan_subif_reply",
2157 //      [
2158 //          "u16",
2159 //          "_vl_msg_id"
2160 //      ],
2161 //      [
2162 //          "u32",
2163 //          "context"
2164 //      ],
2165 //      [
2166 //          "i32",
2167 //          "retval"
2168 //      ],
2169 //      [
2170 //          "u32",
2171 //          "sw_if_index"
2172 //      ],
2173 //      {
2174 //          "crc": "0xfda5941f"
2175 //      }
2176 //
2177 type CreateVlanSubifReply struct {
2178         Retval    int32
2179         SwIfIndex uint32
2180 }
2181
2182 func (*CreateVlanSubifReply) GetMessageName() string {
2183         return "create_vlan_subif_reply"
2184 }
2185 func (*CreateVlanSubifReply) GetCrcString() string {
2186         return "fda5941f"
2187 }
2188 func (*CreateVlanSubifReply) GetMessageType() api.MessageType {
2189         return api.ReplyMessage
2190 }
2191
2192 // DeleteSubif represents VPP binary API message 'delete_subif':
2193 //
2194 //      "delete_subif",
2195 //      [
2196 //          "u16",
2197 //          "_vl_msg_id"
2198 //      ],
2199 //      [
2200 //          "u32",
2201 //          "client_index"
2202 //      ],
2203 //      [
2204 //          "u32",
2205 //          "context"
2206 //      ],
2207 //      [
2208 //          "u32",
2209 //          "sw_if_index"
2210 //      ],
2211 //      {
2212 //          "crc": "0x529cb13f"
2213 //      }
2214 //
2215 type DeleteSubif struct {
2216         SwIfIndex uint32
2217 }
2218
2219 func (*DeleteSubif) GetMessageName() string {
2220         return "delete_subif"
2221 }
2222 func (*DeleteSubif) GetCrcString() string {
2223         return "529cb13f"
2224 }
2225 func (*DeleteSubif) GetMessageType() api.MessageType {
2226         return api.RequestMessage
2227 }
2228
2229 // DeleteSubifReply represents VPP binary API message 'delete_subif_reply':
2230 //
2231 //      "delete_subif_reply",
2232 //      [
2233 //          "u16",
2234 //          "_vl_msg_id"
2235 //      ],
2236 //      [
2237 //          "u32",
2238 //          "context"
2239 //      ],
2240 //      [
2241 //          "i32",
2242 //          "retval"
2243 //      ],
2244 //      {
2245 //          "crc": "0xe8d4e804"
2246 //      }
2247 //
2248 type DeleteSubifReply struct {
2249         Retval int32
2250 }
2251
2252 func (*DeleteSubifReply) GetMessageName() string {
2253         return "delete_subif_reply"
2254 }
2255 func (*DeleteSubifReply) GetCrcString() string {
2256         return "e8d4e804"
2257 }
2258 func (*DeleteSubifReply) GetMessageType() api.MessageType {
2259         return api.ReplyMessage
2260 }
2261
2262 // CreateLoopback represents VPP binary API message 'create_loopback':
2263 //
2264 //      "create_loopback",
2265 //      [
2266 //          "u16",
2267 //          "_vl_msg_id"
2268 //      ],
2269 //      [
2270 //          "u32",
2271 //          "client_index"
2272 //      ],
2273 //      [
2274 //          "u32",
2275 //          "context"
2276 //      ],
2277 //      [
2278 //          "u8",
2279 //          "mac_address",
2280 //          6
2281 //      ],
2282 //      {
2283 //          "crc": "0x3b54129c"
2284 //      }
2285 //
2286 type CreateLoopback struct {
2287         MacAddress []byte `struc:"[6]byte"`
2288 }
2289
2290 func (*CreateLoopback) GetMessageName() string {
2291         return "create_loopback"
2292 }
2293 func (*CreateLoopback) GetCrcString() string {
2294         return "3b54129c"
2295 }
2296 func (*CreateLoopback) GetMessageType() api.MessageType {
2297         return api.RequestMessage
2298 }
2299
2300 // CreateLoopbackReply represents VPP binary API message 'create_loopback_reply':
2301 //
2302 //      "create_loopback_reply",
2303 //      [
2304 //          "u16",
2305 //          "_vl_msg_id"
2306 //      ],
2307 //      [
2308 //          "u32",
2309 //          "context"
2310 //      ],
2311 //      [
2312 //          "i32",
2313 //          "retval"
2314 //      ],
2315 //      [
2316 //          "u32",
2317 //          "sw_if_index"
2318 //      ],
2319 //      {
2320 //          "crc": "0xfda5941f"
2321 //      }
2322 //
2323 type CreateLoopbackReply struct {
2324         Retval    int32
2325         SwIfIndex uint32
2326 }
2327
2328 func (*CreateLoopbackReply) GetMessageName() string {
2329         return "create_loopback_reply"
2330 }
2331 func (*CreateLoopbackReply) GetCrcString() string {
2332         return "fda5941f"
2333 }
2334 func (*CreateLoopbackReply) GetMessageType() api.MessageType {
2335         return api.ReplyMessage
2336 }
2337
2338 // CreateLoopbackInstance represents VPP binary API message 'create_loopback_instance':
2339 //
2340 //      "create_loopback_instance",
2341 //      [
2342 //          "u16",
2343 //          "_vl_msg_id"
2344 //      ],
2345 //      [
2346 //          "u32",
2347 //          "client_index"
2348 //      ],
2349 //      [
2350 //          "u32",
2351 //          "context"
2352 //      ],
2353 //      [
2354 //          "u8",
2355 //          "mac_address",
2356 //          6
2357 //      ],
2358 //      [
2359 //          "u8",
2360 //          "is_specified"
2361 //      ],
2362 //      [
2363 //          "u32",
2364 //          "user_instance"
2365 //      ],
2366 //      {
2367 //          "crc": "0x7bbd53b6"
2368 //      }
2369 //
2370 type CreateLoopbackInstance struct {
2371         MacAddress   []byte `struc:"[6]byte"`
2372         IsSpecified  uint8
2373         UserInstance uint32
2374 }
2375
2376 func (*CreateLoopbackInstance) GetMessageName() string {
2377         return "create_loopback_instance"
2378 }
2379 func (*CreateLoopbackInstance) GetCrcString() string {
2380         return "7bbd53b6"
2381 }
2382 func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
2383         return api.RequestMessage
2384 }
2385
2386 // CreateLoopbackInstanceReply represents VPP binary API message 'create_loopback_instance_reply':
2387 //
2388 //      "create_loopback_instance_reply",
2389 //      [
2390 //          "u16",
2391 //          "_vl_msg_id"
2392 //      ],
2393 //      [
2394 //          "u32",
2395 //          "context"
2396 //      ],
2397 //      [
2398 //          "i32",
2399 //          "retval"
2400 //      ],
2401 //      [
2402 //          "u32",
2403 //          "sw_if_index"
2404 //      ],
2405 //      {
2406 //          "crc": "0xfda5941f"
2407 //      }
2408 //
2409 type CreateLoopbackInstanceReply struct {
2410         Retval    int32
2411         SwIfIndex uint32
2412 }
2413
2414 func (*CreateLoopbackInstanceReply) GetMessageName() string {
2415         return "create_loopback_instance_reply"
2416 }
2417 func (*CreateLoopbackInstanceReply) GetCrcString() string {
2418         return "fda5941f"
2419 }
2420 func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
2421         return api.ReplyMessage
2422 }
2423
2424 // DeleteLoopback represents VPP binary API message 'delete_loopback':
2425 //
2426 //      "delete_loopback",
2427 //      [
2428 //          "u16",
2429 //          "_vl_msg_id"
2430 //      ],
2431 //      [
2432 //          "u32",
2433 //          "client_index"
2434 //      ],
2435 //      [
2436 //          "u32",
2437 //          "context"
2438 //      ],
2439 //      [
2440 //          "u32",
2441 //          "sw_if_index"
2442 //      ],
2443 //      {
2444 //          "crc": "0x529cb13f"
2445 //      }
2446 //
2447 type DeleteLoopback struct {
2448         SwIfIndex uint32
2449 }
2450
2451 func (*DeleteLoopback) GetMessageName() string {
2452         return "delete_loopback"
2453 }
2454 func (*DeleteLoopback) GetCrcString() string {
2455         return "529cb13f"
2456 }
2457 func (*DeleteLoopback) GetMessageType() api.MessageType {
2458         return api.RequestMessage
2459 }
2460
2461 // DeleteLoopbackReply represents VPP binary API message 'delete_loopback_reply':
2462 //
2463 //      "delete_loopback_reply",
2464 //      [
2465 //          "u16",
2466 //          "_vl_msg_id"
2467 //      ],
2468 //      [
2469 //          "u32",
2470 //          "context"
2471 //      ],
2472 //      [
2473 //          "i32",
2474 //          "retval"
2475 //      ],
2476 //      {
2477 //          "crc": "0xe8d4e804"
2478 //      }
2479 //
2480 type DeleteLoopbackReply struct {
2481         Retval int32
2482 }
2483
2484 func (*DeleteLoopbackReply) GetMessageName() string {
2485         return "delete_loopback_reply"
2486 }
2487 func (*DeleteLoopbackReply) GetCrcString() string {
2488         return "e8d4e804"
2489 }
2490 func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
2491         return api.ReplyMessage
2492 }
2493
2494 // CollectDetailedInterfaceStats represents VPP binary API message 'collect_detailed_interface_stats':
2495 //
2496 //      "collect_detailed_interface_stats",
2497 //      [
2498 //          "u16",
2499 //          "_vl_msg_id"
2500 //      ],
2501 //      [
2502 //          "u32",
2503 //          "client_index"
2504 //      ],
2505 //      [
2506 //          "u32",
2507 //          "context"
2508 //      ],
2509 //      [
2510 //          "u32",
2511 //          "sw_if_index"
2512 //      ],
2513 //      [
2514 //          "u8",
2515 //          "enable_disable"
2516 //      ],
2517 //      {
2518 //          "crc": "0x69d24598"
2519 //      }
2520 //
2521 type CollectDetailedInterfaceStats struct {
2522         SwIfIndex     uint32
2523         EnableDisable uint8
2524 }
2525
2526 func (*CollectDetailedInterfaceStats) GetMessageName() string {
2527         return "collect_detailed_interface_stats"
2528 }
2529 func (*CollectDetailedInterfaceStats) GetCrcString() string {
2530         return "69d24598"
2531 }
2532 func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType {
2533         return api.RequestMessage
2534 }
2535
2536 // CollectDetailedInterfaceStatsReply represents VPP binary API message 'collect_detailed_interface_stats_reply':
2537 //
2538 //      "collect_detailed_interface_stats_reply",
2539 //      [
2540 //          "u16",
2541 //          "_vl_msg_id"
2542 //      ],
2543 //      [
2544 //          "u32",
2545 //          "context"
2546 //      ],
2547 //      [
2548 //          "i32",
2549 //          "retval"
2550 //      ],
2551 //      {
2552 //          "crc": "0xe8d4e804"
2553 //      }
2554 //
2555 type CollectDetailedInterfaceStatsReply struct {
2556         Retval int32
2557 }
2558
2559 func (*CollectDetailedInterfaceStatsReply) GetMessageName() string {
2560         return "collect_detailed_interface_stats_reply"
2561 }
2562 func (*CollectDetailedInterfaceStatsReply) GetCrcString() string {
2563         return "e8d4e804"
2564 }
2565 func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType {
2566         return api.ReplyMessage
2567 }
2568
2569 func init() {
2570         api.RegisterMessage((*SwInterfaceSetFlags)(nil), "interface.SwInterfaceSetFlags")
2571         api.RegisterMessage((*SwInterfaceSetFlagsReply)(nil), "interface.SwInterfaceSetFlagsReply")
2572         api.RegisterMessage((*HwInterfaceSetMtu)(nil), "interface.HwInterfaceSetMtu")
2573         api.RegisterMessage((*HwInterfaceSetMtuReply)(nil), "interface.HwInterfaceSetMtuReply")
2574         api.RegisterMessage((*SwInterfaceSetMtu)(nil), "interface.SwInterfaceSetMtu")
2575         api.RegisterMessage((*SwInterfaceSetMtuReply)(nil), "interface.SwInterfaceSetMtuReply")
2576         api.RegisterMessage((*SwInterfaceSetIPDirectedBroadcast)(nil), "interface.SwInterfaceSetIPDirectedBroadcast")
2577         api.RegisterMessage((*SwInterfaceSetIPDirectedBroadcastReply)(nil), "interface.SwInterfaceSetIPDirectedBroadcastReply")
2578         api.RegisterMessage((*SwInterfaceEvent)(nil), "interface.SwInterfaceEvent")
2579         api.RegisterMessage((*WantInterfaceEvents)(nil), "interface.WantInterfaceEvents")
2580         api.RegisterMessage((*WantInterfaceEventsReply)(nil), "interface.WantInterfaceEventsReply")
2581         api.RegisterMessage((*SwInterfaceDetails)(nil), "interface.SwInterfaceDetails")
2582         api.RegisterMessage((*SwInterfaceDump)(nil), "interface.SwInterfaceDump")
2583         api.RegisterMessage((*SwInterfaceAddDelAddress)(nil), "interface.SwInterfaceAddDelAddress")
2584         api.RegisterMessage((*SwInterfaceAddDelAddressReply)(nil), "interface.SwInterfaceAddDelAddressReply")
2585         api.RegisterMessage((*SwInterfaceSetTable)(nil), "interface.SwInterfaceSetTable")
2586         api.RegisterMessage((*SwInterfaceSetTableReply)(nil), "interface.SwInterfaceSetTableReply")
2587         api.RegisterMessage((*SwInterfaceGetTable)(nil), "interface.SwInterfaceGetTable")
2588         api.RegisterMessage((*SwInterfaceGetTableReply)(nil), "interface.SwInterfaceGetTableReply")
2589         api.RegisterMessage((*SwInterfaceSetUnnumbered)(nil), "interface.SwInterfaceSetUnnumbered")
2590         api.RegisterMessage((*SwInterfaceSetUnnumberedReply)(nil), "interface.SwInterfaceSetUnnumberedReply")
2591         api.RegisterMessage((*SwInterfaceClearStats)(nil), "interface.SwInterfaceClearStats")
2592         api.RegisterMessage((*SwInterfaceClearStatsReply)(nil), "interface.SwInterfaceClearStatsReply")
2593         api.RegisterMessage((*SwInterfaceTagAddDel)(nil), "interface.SwInterfaceTagAddDel")
2594         api.RegisterMessage((*SwInterfaceTagAddDelReply)(nil), "interface.SwInterfaceTagAddDelReply")
2595         api.RegisterMessage((*SwInterfaceSetMacAddress)(nil), "interface.SwInterfaceSetMacAddress")
2596         api.RegisterMessage((*SwInterfaceSetMacAddressReply)(nil), "interface.SwInterfaceSetMacAddressReply")
2597         api.RegisterMessage((*SwInterfaceGetMacAddress)(nil), "interface.SwInterfaceGetMacAddress")
2598         api.RegisterMessage((*SwInterfaceGetMacAddressReply)(nil), "interface.SwInterfaceGetMacAddressReply")
2599         api.RegisterMessage((*SwInterfaceSetRxMode)(nil), "interface.SwInterfaceSetRxMode")
2600         api.RegisterMessage((*SwInterfaceSetRxModeReply)(nil), "interface.SwInterfaceSetRxModeReply")
2601         api.RegisterMessage((*SwInterfaceSetRxPlacement)(nil), "interface.SwInterfaceSetRxPlacement")
2602         api.RegisterMessage((*SwInterfaceSetRxPlacementReply)(nil), "interface.SwInterfaceSetRxPlacementReply")
2603         api.RegisterMessage((*SwInterfaceRxPlacementDump)(nil), "interface.SwInterfaceRxPlacementDump")
2604         api.RegisterMessage((*SwInterfaceRxPlacementDetails)(nil), "interface.SwInterfaceRxPlacementDetails")
2605         api.RegisterMessage((*InterfaceNameRenumber)(nil), "interface.InterfaceNameRenumber")
2606         api.RegisterMessage((*InterfaceNameRenumberReply)(nil), "interface.InterfaceNameRenumberReply")
2607         api.RegisterMessage((*CreateSubif)(nil), "interface.CreateSubif")
2608         api.RegisterMessage((*CreateSubifReply)(nil), "interface.CreateSubifReply")
2609         api.RegisterMessage((*CreateVlanSubif)(nil), "interface.CreateVlanSubif")
2610         api.RegisterMessage((*CreateVlanSubifReply)(nil), "interface.CreateVlanSubifReply")
2611         api.RegisterMessage((*DeleteSubif)(nil), "interface.DeleteSubif")
2612         api.RegisterMessage((*DeleteSubifReply)(nil), "interface.DeleteSubifReply")
2613         api.RegisterMessage((*CreateLoopback)(nil), "interface.CreateLoopback")
2614         api.RegisterMessage((*CreateLoopbackReply)(nil), "interface.CreateLoopbackReply")
2615         api.RegisterMessage((*CreateLoopbackInstance)(nil), "interface.CreateLoopbackInstance")
2616         api.RegisterMessage((*CreateLoopbackInstanceReply)(nil), "interface.CreateLoopbackInstanceReply")
2617         api.RegisterMessage((*DeleteLoopback)(nil), "interface.DeleteLoopback")
2618         api.RegisterMessage((*DeleteLoopbackReply)(nil), "interface.DeleteLoopbackReply")
2619         api.RegisterMessage((*CollectDetailedInterfaceStats)(nil), "interface.CollectDetailedInterfaceStats")
2620         api.RegisterMessage((*CollectDetailedInterfaceStatsReply)(nil), "interface.CollectDetailedInterfaceStatsReply")
2621 }