1 // Code generated by GoVPP binapi-generator. DO NOT EDIT.
2 // source: interface.api.json
5 Package interfaces is a generated from VPP binary API module 'interface'.
7 It contains following objects:
14 import api "git.fd.io/govpp.git/api"
15 import struc "github.com/lunixbochs/struc"
18 // Reference imports to suppress errors if they are not otherwise used.
19 var _ = api.RegisterMessage
21 var _ = bytes.NewBuffer
23 // Services represents VPP binary API services:
24 type Services interface {
25 DumpSwInterface(*SwInterfaceDump) ([]*SwInterfaceDetails, error)
26 DumpSwInterfaceRxPlacement(*SwInterfaceRxPlacementDump) ([]*SwInterfaceRxPlacementDetails, error)
27 CollectDetailedInterfaceStats(*CollectDetailedInterfaceStats) (*CollectDetailedInterfaceStatsReply, error)
28 CreateLoopback(*CreateLoopback) (*CreateLoopbackReply, error)
29 CreateLoopbackInstance(*CreateLoopbackInstance) (*CreateLoopbackInstanceReply, error)
30 CreateSubif(*CreateSubif) (*CreateSubifReply, error)
31 CreateVlanSubif(*CreateVlanSubif) (*CreateVlanSubifReply, error)
32 DeleteLoopback(*DeleteLoopback) (*DeleteLoopbackReply, error)
33 DeleteSubif(*DeleteSubif) (*DeleteSubifReply, error)
34 HwInterfaceSetMtu(*HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error)
35 InterfaceNameRenumber(*InterfaceNameRenumber) (*InterfaceNameRenumberReply, error)
36 SwInterfaceAddDelAddress(*SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error)
37 SwInterfaceClearStats(*SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error)
38 SwInterfaceGetMacAddress(*SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error)
39 SwInterfaceGetTable(*SwInterfaceGetTable) (*SwInterfaceGetTableReply, error)
40 SwInterfaceSetFlags(*SwInterfaceSetFlags) (*SwInterfaceSetFlagsReply, error)
41 SwInterfaceSetIPDirectedBroadcast(*SwInterfaceSetIPDirectedBroadcast) (*SwInterfaceSetIPDirectedBroadcastReply, error)
42 SwInterfaceSetMacAddress(*SwInterfaceSetMacAddress) (*SwInterfaceSetMacAddressReply, error)
43 SwInterfaceSetMtu(*SwInterfaceSetMtu) (*SwInterfaceSetMtuReply, error)
44 SwInterfaceSetRxMode(*SwInterfaceSetRxMode) (*SwInterfaceSetRxModeReply, error)
45 SwInterfaceSetRxPlacement(*SwInterfaceSetRxPlacement) (*SwInterfaceSetRxPlacementReply, error)
46 SwInterfaceSetTable(*SwInterfaceSetTable) (*SwInterfaceSetTableReply, error)
47 SwInterfaceSetUnnumbered(*SwInterfaceSetUnnumbered) (*SwInterfaceSetUnnumberedReply, error)
48 SwInterfaceTagAddDel(*SwInterfaceTagAddDel) (*SwInterfaceTagAddDelReply, error)
49 WantInterfaceEvents(*WantInterfaceEvents) (*WantInterfaceEventsReply, error)
54 // InterfaceIndex represents VPP binary API alias 'interface_index':
55 type InterfaceIndex uint32
59 // CollectDetailedInterfaceStats represents VPP binary API message 'collect_detailed_interface_stats':
60 type CollectDetailedInterfaceStats struct {
65 func (*CollectDetailedInterfaceStats) GetMessageName() string {
66 return "collect_detailed_interface_stats"
68 func (*CollectDetailedInterfaceStats) GetCrcString() string {
71 func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType {
72 return api.RequestMessage
75 // CollectDetailedInterfaceStatsReply represents VPP binary API message 'collect_detailed_interface_stats_reply':
76 type CollectDetailedInterfaceStatsReply struct {
80 func (*CollectDetailedInterfaceStatsReply) GetMessageName() string {
81 return "collect_detailed_interface_stats_reply"
83 func (*CollectDetailedInterfaceStatsReply) GetCrcString() string {
86 func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType {
87 return api.ReplyMessage
90 // CreateLoopback represents VPP binary API message 'create_loopback':
91 type CreateLoopback struct {
92 MacAddress []byte `struc:"[6]byte"`
95 func (*CreateLoopback) GetMessageName() string {
96 return "create_loopback"
98 func (*CreateLoopback) GetCrcString() string {
101 func (*CreateLoopback) GetMessageType() api.MessageType {
102 return api.RequestMessage
105 // CreateLoopbackInstance represents VPP binary API message 'create_loopback_instance':
106 type CreateLoopbackInstance struct {
107 MacAddress []byte `struc:"[6]byte"`
112 func (*CreateLoopbackInstance) GetMessageName() string {
113 return "create_loopback_instance"
115 func (*CreateLoopbackInstance) GetCrcString() string {
118 func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
119 return api.RequestMessage
122 // CreateLoopbackInstanceReply represents VPP binary API message 'create_loopback_instance_reply':
123 type CreateLoopbackInstanceReply struct {
128 func (*CreateLoopbackInstanceReply) GetMessageName() string {
129 return "create_loopback_instance_reply"
131 func (*CreateLoopbackInstanceReply) GetCrcString() string {
134 func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
135 return api.ReplyMessage
138 // CreateLoopbackReply represents VPP binary API message 'create_loopback_reply':
139 type CreateLoopbackReply struct {
144 func (*CreateLoopbackReply) GetMessageName() string {
145 return "create_loopback_reply"
147 func (*CreateLoopbackReply) GetCrcString() string {
150 func (*CreateLoopbackReply) GetMessageType() api.MessageType {
151 return api.ReplyMessage
154 // CreateSubif represents VPP binary API message 'create_subif':
155 type CreateSubif struct {
170 func (*CreateSubif) GetMessageName() string {
171 return "create_subif"
173 func (*CreateSubif) GetCrcString() string {
176 func (*CreateSubif) GetMessageType() api.MessageType {
177 return api.RequestMessage
180 // CreateSubifReply represents VPP binary API message 'create_subif_reply':
181 type CreateSubifReply struct {
186 func (*CreateSubifReply) GetMessageName() string {
187 return "create_subif_reply"
189 func (*CreateSubifReply) GetCrcString() string {
192 func (*CreateSubifReply) GetMessageType() api.MessageType {
193 return api.ReplyMessage
196 // CreateVlanSubif represents VPP binary API message 'create_vlan_subif':
197 type CreateVlanSubif struct {
202 func (*CreateVlanSubif) GetMessageName() string {
203 return "create_vlan_subif"
205 func (*CreateVlanSubif) GetCrcString() string {
208 func (*CreateVlanSubif) GetMessageType() api.MessageType {
209 return api.RequestMessage
212 // CreateVlanSubifReply represents VPP binary API message 'create_vlan_subif_reply':
213 type CreateVlanSubifReply struct {
218 func (*CreateVlanSubifReply) GetMessageName() string {
219 return "create_vlan_subif_reply"
221 func (*CreateVlanSubifReply) GetCrcString() string {
224 func (*CreateVlanSubifReply) GetMessageType() api.MessageType {
225 return api.ReplyMessage
228 // DeleteLoopback represents VPP binary API message 'delete_loopback':
229 type DeleteLoopback struct {
233 func (*DeleteLoopback) GetMessageName() string {
234 return "delete_loopback"
236 func (*DeleteLoopback) GetCrcString() string {
239 func (*DeleteLoopback) GetMessageType() api.MessageType {
240 return api.RequestMessage
243 // DeleteLoopbackReply represents VPP binary API message 'delete_loopback_reply':
244 type DeleteLoopbackReply struct {
248 func (*DeleteLoopbackReply) GetMessageName() string {
249 return "delete_loopback_reply"
251 func (*DeleteLoopbackReply) GetCrcString() string {
254 func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
255 return api.ReplyMessage
258 // DeleteSubif represents VPP binary API message 'delete_subif':
259 type DeleteSubif struct {
263 func (*DeleteSubif) GetMessageName() string {
264 return "delete_subif"
266 func (*DeleteSubif) GetCrcString() string {
269 func (*DeleteSubif) GetMessageType() api.MessageType {
270 return api.RequestMessage
273 // DeleteSubifReply represents VPP binary API message 'delete_subif_reply':
274 type DeleteSubifReply struct {
278 func (*DeleteSubifReply) GetMessageName() string {
279 return "delete_subif_reply"
281 func (*DeleteSubifReply) GetCrcString() string {
284 func (*DeleteSubifReply) GetMessageType() api.MessageType {
285 return api.ReplyMessage
288 // HwInterfaceSetMtu represents VPP binary API message 'hw_interface_set_mtu':
289 type HwInterfaceSetMtu struct {
294 func (*HwInterfaceSetMtu) GetMessageName() string {
295 return "hw_interface_set_mtu"
297 func (*HwInterfaceSetMtu) GetCrcString() string {
300 func (*HwInterfaceSetMtu) GetMessageType() api.MessageType {
301 return api.RequestMessage
304 // HwInterfaceSetMtuReply represents VPP binary API message 'hw_interface_set_mtu_reply':
305 type HwInterfaceSetMtuReply struct {
309 func (*HwInterfaceSetMtuReply) GetMessageName() string {
310 return "hw_interface_set_mtu_reply"
312 func (*HwInterfaceSetMtuReply) GetCrcString() string {
315 func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType {
316 return api.ReplyMessage
319 // InterfaceNameRenumber represents VPP binary API message 'interface_name_renumber':
320 type InterfaceNameRenumber struct {
322 NewShowDevInstance uint32
325 func (*InterfaceNameRenumber) GetMessageName() string {
326 return "interface_name_renumber"
328 func (*InterfaceNameRenumber) GetCrcString() string {
331 func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
332 return api.RequestMessage
335 // InterfaceNameRenumberReply represents VPP binary API message 'interface_name_renumber_reply':
336 type InterfaceNameRenumberReply struct {
340 func (*InterfaceNameRenumberReply) GetMessageName() string {
341 return "interface_name_renumber_reply"
343 func (*InterfaceNameRenumberReply) GetCrcString() string {
346 func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
347 return api.ReplyMessage
350 // SwInterfaceAddDelAddress represents VPP binary API message 'sw_interface_add_del_address':
351 type SwInterfaceAddDelAddress struct {
357 Address []byte `struc:"[16]byte"`
360 func (*SwInterfaceAddDelAddress) GetMessageName() string {
361 return "sw_interface_add_del_address"
363 func (*SwInterfaceAddDelAddress) GetCrcString() string {
366 func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType {
367 return api.RequestMessage
370 // SwInterfaceAddDelAddressReply represents VPP binary API message 'sw_interface_add_del_address_reply':
371 type SwInterfaceAddDelAddressReply struct {
375 func (*SwInterfaceAddDelAddressReply) GetMessageName() string {
376 return "sw_interface_add_del_address_reply"
378 func (*SwInterfaceAddDelAddressReply) GetCrcString() string {
381 func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType {
382 return api.ReplyMessage
385 // SwInterfaceClearStats represents VPP binary API message 'sw_interface_clear_stats':
386 type SwInterfaceClearStats struct {
390 func (*SwInterfaceClearStats) GetMessageName() string {
391 return "sw_interface_clear_stats"
393 func (*SwInterfaceClearStats) GetCrcString() string {
396 func (*SwInterfaceClearStats) GetMessageType() api.MessageType {
397 return api.RequestMessage
400 // SwInterfaceClearStatsReply represents VPP binary API message 'sw_interface_clear_stats_reply':
401 type SwInterfaceClearStatsReply struct {
405 func (*SwInterfaceClearStatsReply) GetMessageName() string {
406 return "sw_interface_clear_stats_reply"
408 func (*SwInterfaceClearStatsReply) GetCrcString() string {
411 func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType {
412 return api.ReplyMessage
415 // SwInterfaceDetails represents VPP binary API message 'sw_interface_details':
416 type SwInterfaceDetails struct {
419 L2AddressLength uint32
420 L2Address []byte `struc:"[8]byte"`
421 InterfaceName []byte `struc:"[64]byte"`
427 Mtu []uint32 `struc:"[4]uint32"`
431 SubNumberOfTags uint8
432 SubOuterVlanID uint16
433 SubInnerVlanID uint16
436 SubOuterVlanIDAny uint8
437 SubInnerVlanIDAny uint8
442 Tag []byte `struc:"[64]byte"`
444 BDmac []byte `struc:"[6]byte"`
445 BSmac []byte `struc:"[6]byte"`
450 func (*SwInterfaceDetails) GetMessageName() string {
451 return "sw_interface_details"
453 func (*SwInterfaceDetails) GetCrcString() string {
456 func (*SwInterfaceDetails) GetMessageType() api.MessageType {
457 return api.ReplyMessage
460 // SwInterfaceDump represents VPP binary API message 'sw_interface_dump':
461 type SwInterfaceDump struct {
462 NameFilterValid uint8
463 NameFilter []byte `struc:"[49]byte"`
466 func (*SwInterfaceDump) GetMessageName() string {
467 return "sw_interface_dump"
469 func (*SwInterfaceDump) GetCrcString() string {
472 func (*SwInterfaceDump) GetMessageType() api.MessageType {
473 return api.RequestMessage
476 // SwInterfaceEvent represents VPP binary API message 'sw_interface_event':
477 type SwInterfaceEvent struct {
485 func (*SwInterfaceEvent) GetMessageName() string {
486 return "sw_interface_event"
488 func (*SwInterfaceEvent) GetCrcString() string {
491 func (*SwInterfaceEvent) GetMessageType() api.MessageType {
492 return api.EventMessage
495 // SwInterfaceGetMacAddress represents VPP binary API message 'sw_interface_get_mac_address':
496 type SwInterfaceGetMacAddress struct {
500 func (*SwInterfaceGetMacAddress) GetMessageName() string {
501 return "sw_interface_get_mac_address"
503 func (*SwInterfaceGetMacAddress) GetCrcString() string {
506 func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType {
507 return api.RequestMessage
510 // SwInterfaceGetMacAddressReply represents VPP binary API message 'sw_interface_get_mac_address_reply':
511 type SwInterfaceGetMacAddressReply struct {
513 MacAddress []byte `struc:"[6]byte"`
516 func (*SwInterfaceGetMacAddressReply) GetMessageName() string {
517 return "sw_interface_get_mac_address_reply"
519 func (*SwInterfaceGetMacAddressReply) GetCrcString() string {
522 func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType {
523 return api.ReplyMessage
526 // SwInterfaceGetTable represents VPP binary API message 'sw_interface_get_table':
527 type SwInterfaceGetTable struct {
532 func (*SwInterfaceGetTable) GetMessageName() string {
533 return "sw_interface_get_table"
535 func (*SwInterfaceGetTable) GetCrcString() string {
538 func (*SwInterfaceGetTable) GetMessageType() api.MessageType {
539 return api.RequestMessage
542 // SwInterfaceGetTableReply represents VPP binary API message 'sw_interface_get_table_reply':
543 type SwInterfaceGetTableReply struct {
548 func (*SwInterfaceGetTableReply) GetMessageName() string {
549 return "sw_interface_get_table_reply"
551 func (*SwInterfaceGetTableReply) GetCrcString() string {
554 func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType {
555 return api.ReplyMessage
558 // SwInterfaceRxPlacementDetails represents VPP binary API message 'sw_interface_rx_placement_details':
559 type SwInterfaceRxPlacementDetails struct {
566 func (*SwInterfaceRxPlacementDetails) GetMessageName() string {
567 return "sw_interface_rx_placement_details"
569 func (*SwInterfaceRxPlacementDetails) GetCrcString() string {
572 func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType {
573 return api.RequestMessage
576 // SwInterfaceRxPlacementDump represents VPP binary API message 'sw_interface_rx_placement_dump':
577 type SwInterfaceRxPlacementDump struct {
581 func (*SwInterfaceRxPlacementDump) GetMessageName() string {
582 return "sw_interface_rx_placement_dump"
584 func (*SwInterfaceRxPlacementDump) GetCrcString() string {
587 func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType {
588 return api.RequestMessage
591 // SwInterfaceSetFlags represents VPP binary API message 'sw_interface_set_flags':
592 type SwInterfaceSetFlags struct {
597 func (*SwInterfaceSetFlags) GetMessageName() string {
598 return "sw_interface_set_flags"
600 func (*SwInterfaceSetFlags) GetCrcString() string {
603 func (*SwInterfaceSetFlags) GetMessageType() api.MessageType {
604 return api.RequestMessage
607 // SwInterfaceSetFlagsReply represents VPP binary API message 'sw_interface_set_flags_reply':
608 type SwInterfaceSetFlagsReply struct {
612 func (*SwInterfaceSetFlagsReply) GetMessageName() string {
613 return "sw_interface_set_flags_reply"
615 func (*SwInterfaceSetFlagsReply) GetCrcString() string {
618 func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType {
619 return api.ReplyMessage
622 // SwInterfaceSetIPDirectedBroadcast represents VPP binary API message 'sw_interface_set_ip_directed_broadcast':
623 type SwInterfaceSetIPDirectedBroadcast struct {
628 func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string {
629 return "sw_interface_set_ip_directed_broadcast"
631 func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string {
634 func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType() api.MessageType {
635 return api.RequestMessage
638 // SwInterfaceSetIPDirectedBroadcastReply represents VPP binary API message 'sw_interface_set_ip_directed_broadcast_reply':
639 type SwInterfaceSetIPDirectedBroadcastReply struct {
643 func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string {
644 return "sw_interface_set_ip_directed_broadcast_reply"
646 func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string {
649 func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType {
650 return api.ReplyMessage
653 // SwInterfaceSetMacAddress represents VPP binary API message 'sw_interface_set_mac_address':
654 type SwInterfaceSetMacAddress struct {
656 MacAddress []byte `struc:"[6]byte"`
659 func (*SwInterfaceSetMacAddress) GetMessageName() string {
660 return "sw_interface_set_mac_address"
662 func (*SwInterfaceSetMacAddress) GetCrcString() string {
665 func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType {
666 return api.RequestMessage
669 // SwInterfaceSetMacAddressReply represents VPP binary API message 'sw_interface_set_mac_address_reply':
670 type SwInterfaceSetMacAddressReply struct {
674 func (*SwInterfaceSetMacAddressReply) GetMessageName() string {
675 return "sw_interface_set_mac_address_reply"
677 func (*SwInterfaceSetMacAddressReply) GetCrcString() string {
680 func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType {
681 return api.ReplyMessage
684 // SwInterfaceSetMtu represents VPP binary API message 'sw_interface_set_mtu':
685 type SwInterfaceSetMtu struct {
687 Mtu []uint32 `struc:"[4]uint32"`
690 func (*SwInterfaceSetMtu) GetMessageName() string {
691 return "sw_interface_set_mtu"
693 func (*SwInterfaceSetMtu) GetCrcString() string {
696 func (*SwInterfaceSetMtu) GetMessageType() api.MessageType {
697 return api.RequestMessage
700 // SwInterfaceSetMtuReply represents VPP binary API message 'sw_interface_set_mtu_reply':
701 type SwInterfaceSetMtuReply struct {
705 func (*SwInterfaceSetMtuReply) GetMessageName() string {
706 return "sw_interface_set_mtu_reply"
708 func (*SwInterfaceSetMtuReply) GetCrcString() string {
711 func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType {
712 return api.ReplyMessage
715 // SwInterfaceSetRxMode represents VPP binary API message 'sw_interface_set_rx_mode':
716 type SwInterfaceSetRxMode struct {
723 func (*SwInterfaceSetRxMode) GetMessageName() string {
724 return "sw_interface_set_rx_mode"
726 func (*SwInterfaceSetRxMode) GetCrcString() string {
729 func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType {
730 return api.RequestMessage
733 // SwInterfaceSetRxModeReply represents VPP binary API message 'sw_interface_set_rx_mode_reply':
734 type SwInterfaceSetRxModeReply struct {
738 func (*SwInterfaceSetRxModeReply) GetMessageName() string {
739 return "sw_interface_set_rx_mode_reply"
741 func (*SwInterfaceSetRxModeReply) GetCrcString() string {
744 func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType {
745 return api.ReplyMessage
748 // SwInterfaceSetRxPlacement represents VPP binary API message 'sw_interface_set_rx_placement':
749 type SwInterfaceSetRxPlacement struct {
756 func (*SwInterfaceSetRxPlacement) GetMessageName() string {
757 return "sw_interface_set_rx_placement"
759 func (*SwInterfaceSetRxPlacement) GetCrcString() string {
762 func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType {
763 return api.RequestMessage
766 // SwInterfaceSetRxPlacementReply represents VPP binary API message 'sw_interface_set_rx_placement_reply':
767 type SwInterfaceSetRxPlacementReply struct {
771 func (*SwInterfaceSetRxPlacementReply) GetMessageName() string {
772 return "sw_interface_set_rx_placement_reply"
774 func (*SwInterfaceSetRxPlacementReply) GetCrcString() string {
777 func (*SwInterfaceSetRxPlacementReply) GetMessageType() api.MessageType {
778 return api.ReplyMessage
781 // SwInterfaceSetTable represents VPP binary API message 'sw_interface_set_table':
782 type SwInterfaceSetTable struct {
788 func (*SwInterfaceSetTable) GetMessageName() string {
789 return "sw_interface_set_table"
791 func (*SwInterfaceSetTable) GetCrcString() string {
794 func (*SwInterfaceSetTable) GetMessageType() api.MessageType {
795 return api.RequestMessage
798 // SwInterfaceSetTableReply represents VPP binary API message 'sw_interface_set_table_reply':
799 type SwInterfaceSetTableReply struct {
803 func (*SwInterfaceSetTableReply) GetMessageName() string {
804 return "sw_interface_set_table_reply"
806 func (*SwInterfaceSetTableReply) GetCrcString() string {
809 func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType {
810 return api.ReplyMessage
813 // SwInterfaceSetUnnumbered represents VPP binary API message 'sw_interface_set_unnumbered':
814 type SwInterfaceSetUnnumbered struct {
816 UnnumberedSwIfIndex uint32
820 func (*SwInterfaceSetUnnumbered) GetMessageName() string {
821 return "sw_interface_set_unnumbered"
823 func (*SwInterfaceSetUnnumbered) GetCrcString() string {
826 func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType {
827 return api.RequestMessage
830 // SwInterfaceSetUnnumberedReply represents VPP binary API message 'sw_interface_set_unnumbered_reply':
831 type SwInterfaceSetUnnumberedReply struct {
835 func (*SwInterfaceSetUnnumberedReply) GetMessageName() string {
836 return "sw_interface_set_unnumbered_reply"
838 func (*SwInterfaceSetUnnumberedReply) GetCrcString() string {
841 func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType {
842 return api.ReplyMessage
845 // SwInterfaceTagAddDel represents VPP binary API message 'sw_interface_tag_add_del':
846 type SwInterfaceTagAddDel struct {
849 Tag []byte `struc:"[64]byte"`
852 func (*SwInterfaceTagAddDel) GetMessageName() string {
853 return "sw_interface_tag_add_del"
855 func (*SwInterfaceTagAddDel) GetCrcString() string {
858 func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType {
859 return api.RequestMessage
862 // SwInterfaceTagAddDelReply represents VPP binary API message 'sw_interface_tag_add_del_reply':
863 type SwInterfaceTagAddDelReply struct {
867 func (*SwInterfaceTagAddDelReply) GetMessageName() string {
868 return "sw_interface_tag_add_del_reply"
870 func (*SwInterfaceTagAddDelReply) GetCrcString() string {
873 func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType {
874 return api.ReplyMessage
877 // WantInterfaceEvents represents VPP binary API message 'want_interface_events':
878 type WantInterfaceEvents struct {
883 func (*WantInterfaceEvents) GetMessageName() string {
884 return "want_interface_events"
886 func (*WantInterfaceEvents) GetCrcString() string {
889 func (*WantInterfaceEvents) GetMessageType() api.MessageType {
890 return api.RequestMessage
893 // WantInterfaceEventsReply represents VPP binary API message 'want_interface_events_reply':
894 type WantInterfaceEventsReply struct {
898 func (*WantInterfaceEventsReply) GetMessageName() string {
899 return "want_interface_events_reply"
901 func (*WantInterfaceEventsReply) GetCrcString() string {
904 func (*WantInterfaceEventsReply) GetMessageType() api.MessageType {
905 return api.ReplyMessage
909 api.RegisterMessage((*CollectDetailedInterfaceStats)(nil), "interface.CollectDetailedInterfaceStats")
910 api.RegisterMessage((*CollectDetailedInterfaceStatsReply)(nil), "interface.CollectDetailedInterfaceStatsReply")
911 api.RegisterMessage((*CreateLoopback)(nil), "interface.CreateLoopback")
912 api.RegisterMessage((*CreateLoopbackInstance)(nil), "interface.CreateLoopbackInstance")
913 api.RegisterMessage((*CreateLoopbackInstanceReply)(nil), "interface.CreateLoopbackInstanceReply")
914 api.RegisterMessage((*CreateLoopbackReply)(nil), "interface.CreateLoopbackReply")
915 api.RegisterMessage((*CreateSubif)(nil), "interface.CreateSubif")
916 api.RegisterMessage((*CreateSubifReply)(nil), "interface.CreateSubifReply")
917 api.RegisterMessage((*CreateVlanSubif)(nil), "interface.CreateVlanSubif")
918 api.RegisterMessage((*CreateVlanSubifReply)(nil), "interface.CreateVlanSubifReply")
919 api.RegisterMessage((*DeleteLoopback)(nil), "interface.DeleteLoopback")
920 api.RegisterMessage((*DeleteLoopbackReply)(nil), "interface.DeleteLoopbackReply")
921 api.RegisterMessage((*DeleteSubif)(nil), "interface.DeleteSubif")
922 api.RegisterMessage((*DeleteSubifReply)(nil), "interface.DeleteSubifReply")
923 api.RegisterMessage((*HwInterfaceSetMtu)(nil), "interface.HwInterfaceSetMtu")
924 api.RegisterMessage((*HwInterfaceSetMtuReply)(nil), "interface.HwInterfaceSetMtuReply")
925 api.RegisterMessage((*InterfaceNameRenumber)(nil), "interface.InterfaceNameRenumber")
926 api.RegisterMessage((*InterfaceNameRenumberReply)(nil), "interface.InterfaceNameRenumberReply")
927 api.RegisterMessage((*SwInterfaceAddDelAddress)(nil), "interface.SwInterfaceAddDelAddress")
928 api.RegisterMessage((*SwInterfaceAddDelAddressReply)(nil), "interface.SwInterfaceAddDelAddressReply")
929 api.RegisterMessage((*SwInterfaceClearStats)(nil), "interface.SwInterfaceClearStats")
930 api.RegisterMessage((*SwInterfaceClearStatsReply)(nil), "interface.SwInterfaceClearStatsReply")
931 api.RegisterMessage((*SwInterfaceDetails)(nil), "interface.SwInterfaceDetails")
932 api.RegisterMessage((*SwInterfaceDump)(nil), "interface.SwInterfaceDump")
933 api.RegisterMessage((*SwInterfaceEvent)(nil), "interface.SwInterfaceEvent")
934 api.RegisterMessage((*SwInterfaceGetMacAddress)(nil), "interface.SwInterfaceGetMacAddress")
935 api.RegisterMessage((*SwInterfaceGetMacAddressReply)(nil), "interface.SwInterfaceGetMacAddressReply")
936 api.RegisterMessage((*SwInterfaceGetTable)(nil), "interface.SwInterfaceGetTable")
937 api.RegisterMessage((*SwInterfaceGetTableReply)(nil), "interface.SwInterfaceGetTableReply")
938 api.RegisterMessage((*SwInterfaceRxPlacementDetails)(nil), "interface.SwInterfaceRxPlacementDetails")
939 api.RegisterMessage((*SwInterfaceRxPlacementDump)(nil), "interface.SwInterfaceRxPlacementDump")
940 api.RegisterMessage((*SwInterfaceSetFlags)(nil), "interface.SwInterfaceSetFlags")
941 api.RegisterMessage((*SwInterfaceSetFlagsReply)(nil), "interface.SwInterfaceSetFlagsReply")
942 api.RegisterMessage((*SwInterfaceSetIPDirectedBroadcast)(nil), "interface.SwInterfaceSetIPDirectedBroadcast")
943 api.RegisterMessage((*SwInterfaceSetIPDirectedBroadcastReply)(nil), "interface.SwInterfaceSetIPDirectedBroadcastReply")
944 api.RegisterMessage((*SwInterfaceSetMacAddress)(nil), "interface.SwInterfaceSetMacAddress")
945 api.RegisterMessage((*SwInterfaceSetMacAddressReply)(nil), "interface.SwInterfaceSetMacAddressReply")
946 api.RegisterMessage((*SwInterfaceSetMtu)(nil), "interface.SwInterfaceSetMtu")
947 api.RegisterMessage((*SwInterfaceSetMtuReply)(nil), "interface.SwInterfaceSetMtuReply")
948 api.RegisterMessage((*SwInterfaceSetRxMode)(nil), "interface.SwInterfaceSetRxMode")
949 api.RegisterMessage((*SwInterfaceSetRxModeReply)(nil), "interface.SwInterfaceSetRxModeReply")
950 api.RegisterMessage((*SwInterfaceSetRxPlacement)(nil), "interface.SwInterfaceSetRxPlacement")
951 api.RegisterMessage((*SwInterfaceSetRxPlacementReply)(nil), "interface.SwInterfaceSetRxPlacementReply")
952 api.RegisterMessage((*SwInterfaceSetTable)(nil), "interface.SwInterfaceSetTable")
953 api.RegisterMessage((*SwInterfaceSetTableReply)(nil), "interface.SwInterfaceSetTableReply")
954 api.RegisterMessage((*SwInterfaceSetUnnumbered)(nil), "interface.SwInterfaceSetUnnumbered")
955 api.RegisterMessage((*SwInterfaceSetUnnumberedReply)(nil), "interface.SwInterfaceSetUnnumberedReply")
956 api.RegisterMessage((*SwInterfaceTagAddDel)(nil), "interface.SwInterfaceTagAddDel")
957 api.RegisterMessage((*SwInterfaceTagAddDelReply)(nil), "interface.SwInterfaceTagAddDelReply")
958 api.RegisterMessage((*WantInterfaceEvents)(nil), "interface.WantInterfaceEvents")
959 api.RegisterMessage((*WantInterfaceEventsReply)(nil), "interface.WantInterfaceEventsReply")