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