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