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