1 // Package vpe represents the VPP binary API of the 'vpe' VPP module.
2 // DO NOT EDIT. Generated from '/usr/share/vpp/api/vpe.api.json' on Thu, 27 Apr 2017 11:34:11 CEST.
5 import "gerrit.fd.io/r/govpp/api"
7 // VlApiVersion contains version of the API.
8 const VlAPIVersion = 0xd3bcc288
10 // IP4FibCounter represents the VPP binary API data type 'ip4_fib_counter'.
11 // Generated from '/usr/share/vpp/api/vpe.api.json', line 3:
13 // ["ip4_fib_counter",
14 // ["u32", "address"],
15 // ["u8", "address_length"],
16 // ["u64", "packets"],
18 // {"crc" : "0xb2739495"}
21 type IP4FibCounter struct {
28 func (*IP4FibCounter) GetTypeName() string {
29 return "ip4_fib_counter"
31 func (*IP4FibCounter) GetCrcString() string {
35 // IP4NbrCounter represents the VPP binary API data type 'ip4_nbr_counter'.
36 // Generated from '/usr/share/vpp/api/vpe.api.json', line 10:
38 // ["ip4_nbr_counter",
39 // ["u32", "address"],
40 // ["u8", "link_type"],
41 // ["u64", "packets"],
43 // {"crc" : "0x487e2e85"}
46 type IP4NbrCounter struct {
53 func (*IP4NbrCounter) GetTypeName() string {
54 return "ip4_nbr_counter"
56 func (*IP4NbrCounter) GetCrcString() string {
60 // IP6FibCounter represents the VPP binary API data type 'ip6_fib_counter'.
61 // Generated from '/usr/share/vpp/api/vpe.api.json', line 17:
63 // ["ip6_fib_counter",
64 // ["u64", "address", 2],
65 // ["u8", "address_length"],
66 // ["u64", "packets"],
68 // {"crc" : "0xcf35769b"}
71 type IP6FibCounter struct {
72 Address []uint64 `struc:"[2]uint64"`
78 func (*IP6FibCounter) GetTypeName() string {
79 return "ip6_fib_counter"
81 func (*IP6FibCounter) GetCrcString() string {
85 // IP6NbrCounter represents the VPP binary API data type 'ip6_nbr_counter'.
86 // Generated from '/usr/share/vpp/api/vpe.api.json', line 24:
88 // ["ip6_nbr_counter",
89 // ["u64", "address", 2],
90 // ["u8", "link_type"],
91 // ["u64", "packets"],
93 // {"crc" : "0xefca741e"}
96 type IP6NbrCounter struct {
97 Address []uint64 `struc:"[2]uint64"`
103 func (*IP6NbrCounter) GetTypeName() string {
104 return "ip6_nbr_counter"
106 func (*IP6NbrCounter) GetCrcString() string {
110 // CreateVlanSubif represents the VPP binary API message 'create_vlan_subif'.
111 // Generated from '/usr/share/vpp/api/vpe.api.json', line 33:
113 // ["create_vlan_subif",
114 // ["u16", "_vl_msg_id"],
115 // ["u32", "client_index"],
116 // ["u32", "context"],
117 // ["u32", "sw_if_index"],
118 // ["u32", "vlan_id"],
119 // {"crc" : "0xaf9ae1e9"}
122 type CreateVlanSubif struct {
127 func (*CreateVlanSubif) GetMessageName() string {
128 return "create_vlan_subif"
130 func (*CreateVlanSubif) GetMessageType() api.MessageType {
131 return api.RequestMessage
133 func (*CreateVlanSubif) GetCrcString() string {
136 func NewCreateVlanSubif() api.Message {
137 return &CreateVlanSubif{}
140 // CreateVlanSubifReply represents the VPP binary API message 'create_vlan_subif_reply'.
141 // Generated from '/usr/share/vpp/api/vpe.api.json', line 41:
143 // ["create_vlan_subif_reply",
144 // ["u16", "_vl_msg_id"],
145 // ["u32", "context"],
146 // ["i32", "retval"],
147 // ["u32", "sw_if_index"],
148 // {"crc" : "0x8f36b888"}
151 type CreateVlanSubifReply struct {
156 func (*CreateVlanSubifReply) GetMessageName() string {
157 return "create_vlan_subif_reply"
159 func (*CreateVlanSubifReply) GetMessageType() api.MessageType {
160 return api.ReplyMessage
162 func (*CreateVlanSubifReply) GetCrcString() string {
165 func NewCreateVlanSubifReply() api.Message {
166 return &CreateVlanSubifReply{}
169 // SwInterfaceSetMplsEnable represents the VPP binary API message 'sw_interface_set_mpls_enable'.
170 // Generated from '/usr/share/vpp/api/vpe.api.json', line 48:
172 // ["sw_interface_set_mpls_enable",
173 // ["u16", "_vl_msg_id"],
174 // ["u32", "client_index"],
175 // ["u32", "context"],
176 // ["u32", "sw_if_index"],
178 // {"crc" : "0x37f6357e"}
181 type SwInterfaceSetMplsEnable struct {
186 func (*SwInterfaceSetMplsEnable) GetMessageName() string {
187 return "sw_interface_set_mpls_enable"
189 func (*SwInterfaceSetMplsEnable) GetMessageType() api.MessageType {
190 return api.RequestMessage
192 func (*SwInterfaceSetMplsEnable) GetCrcString() string {
195 func NewSwInterfaceSetMplsEnable() api.Message {
196 return &SwInterfaceSetMplsEnable{}
199 // SwInterfaceSetMplsEnableReply represents the VPP binary API message 'sw_interface_set_mpls_enable_reply'.
200 // Generated from '/usr/share/vpp/api/vpe.api.json', line 56:
202 // ["sw_interface_set_mpls_enable_reply",
203 // ["u16", "_vl_msg_id"],
204 // ["u32", "context"],
205 // ["i32", "retval"],
206 // {"crc" : "0x5ffd3ca9"}
209 type SwInterfaceSetMplsEnableReply struct {
213 func (*SwInterfaceSetMplsEnableReply) GetMessageName() string {
214 return "sw_interface_set_mpls_enable_reply"
216 func (*SwInterfaceSetMplsEnableReply) GetMessageType() api.MessageType {
217 return api.ReplyMessage
219 func (*SwInterfaceSetMplsEnableReply) GetCrcString() string {
222 func NewSwInterfaceSetMplsEnableReply() api.Message {
223 return &SwInterfaceSetMplsEnableReply{}
226 // ProxyArpAddDel represents the VPP binary API message 'proxy_arp_add_del'.
227 // Generated from '/usr/share/vpp/api/vpe.api.json', line 62:
229 // ["proxy_arp_add_del",
230 // ["u16", "_vl_msg_id"],
231 // ["u32", "client_index"],
232 // ["u32", "context"],
233 // ["u32", "vrf_id"],
235 // ["u8", "low_address", 4],
236 // ["u8", "hi_address", 4],
237 // {"crc" : "0x4bef9951"}
240 type ProxyArpAddDel struct {
243 LowAddress []byte `struc:"[4]byte"`
244 HiAddress []byte `struc:"[4]byte"`
247 func (*ProxyArpAddDel) GetMessageName() string {
248 return "proxy_arp_add_del"
250 func (*ProxyArpAddDel) GetMessageType() api.MessageType {
251 return api.RequestMessage
253 func (*ProxyArpAddDel) GetCrcString() string {
256 func NewProxyArpAddDel() api.Message {
257 return &ProxyArpAddDel{}
260 // ProxyArpAddDelReply represents the VPP binary API message 'proxy_arp_add_del_reply'.
261 // Generated from '/usr/share/vpp/api/vpe.api.json', line 72:
263 // ["proxy_arp_add_del_reply",
264 // ["u16", "_vl_msg_id"],
265 // ["u32", "context"],
266 // ["i32", "retval"],
267 // {"crc" : "0x8e2d621d"}
270 type ProxyArpAddDelReply struct {
274 func (*ProxyArpAddDelReply) GetMessageName() string {
275 return "proxy_arp_add_del_reply"
277 func (*ProxyArpAddDelReply) GetMessageType() api.MessageType {
278 return api.ReplyMessage
280 func (*ProxyArpAddDelReply) GetCrcString() string {
283 func NewProxyArpAddDelReply() api.Message {
284 return &ProxyArpAddDelReply{}
287 // ProxyArpIntfcEnableDisable represents the VPP binary API message 'proxy_arp_intfc_enable_disable'.
288 // Generated from '/usr/share/vpp/api/vpe.api.json', line 78:
290 // ["proxy_arp_intfc_enable_disable",
291 // ["u16", "_vl_msg_id"],
292 // ["u32", "client_index"],
293 // ["u32", "context"],
294 // ["u32", "sw_if_index"],
295 // ["u8", "enable_disable"],
296 // {"crc" : "0x3ee1998e"}
299 type ProxyArpIntfcEnableDisable struct {
304 func (*ProxyArpIntfcEnableDisable) GetMessageName() string {
305 return "proxy_arp_intfc_enable_disable"
307 func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType {
308 return api.RequestMessage
310 func (*ProxyArpIntfcEnableDisable) GetCrcString() string {
313 func NewProxyArpIntfcEnableDisable() api.Message {
314 return &ProxyArpIntfcEnableDisable{}
317 // ProxyArpIntfcEnableDisableReply represents the VPP binary API message 'proxy_arp_intfc_enable_disable_reply'.
318 // Generated from '/usr/share/vpp/api/vpe.api.json', line 86:
320 // ["proxy_arp_intfc_enable_disable_reply",
321 // ["u16", "_vl_msg_id"],
322 // ["u32", "context"],
323 // ["i32", "retval"],
324 // {"crc" : "0x23d273cd"}
327 type ProxyArpIntfcEnableDisableReply struct {
331 func (*ProxyArpIntfcEnableDisableReply) GetMessageName() string {
332 return "proxy_arp_intfc_enable_disable_reply"
334 func (*ProxyArpIntfcEnableDisableReply) GetMessageType() api.MessageType {
335 return api.ReplyMessage
337 func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string {
340 func NewProxyArpIntfcEnableDisableReply() api.Message {
341 return &ProxyArpIntfcEnableDisableReply{}
344 // ResetVrf represents the VPP binary API message 'reset_vrf'.
345 // Generated from '/usr/share/vpp/api/vpe.api.json', line 92:
348 // ["u16", "_vl_msg_id"],
349 // ["u32", "client_index"],
350 // ["u32", "context"],
351 // ["u8", "is_ipv6"],
352 // ["u32", "vrf_id"],
353 // {"crc" : "0xeb07deb0"}
356 type ResetVrf struct {
361 func (*ResetVrf) GetMessageName() string {
364 func (*ResetVrf) GetMessageType() api.MessageType {
365 return api.RequestMessage
367 func (*ResetVrf) GetCrcString() string {
370 func NewResetVrf() api.Message {
374 // ResetVrfReply represents the VPP binary API message 'reset_vrf_reply'.
375 // Generated from '/usr/share/vpp/api/vpe.api.json', line 100:
377 // ["reset_vrf_reply",
378 // ["u16", "_vl_msg_id"],
379 // ["u32", "context"],
380 // ["i32", "retval"],
381 // {"crc" : "0x5f283863"}
384 type ResetVrfReply struct {
388 func (*ResetVrfReply) GetMessageName() string {
389 return "reset_vrf_reply"
391 func (*ResetVrfReply) GetMessageType() api.MessageType {
392 return api.ReplyMessage
394 func (*ResetVrfReply) GetCrcString() string {
397 func NewResetVrfReply() api.Message {
398 return &ResetVrfReply{}
401 // IsAddressReachable represents the VPP binary API message 'is_address_reachable'.
402 // Generated from '/usr/share/vpp/api/vpe.api.json', line 106:
404 // ["is_address_reachable",
405 // ["u16", "_vl_msg_id"],
406 // ["u32", "client_index"],
407 // ["u32", "context"],
408 // ["u32", "next_hop_sw_if_index"],
409 // ["u8", "is_known"],
410 // ["u8", "is_ipv6"],
411 // ["u8", "is_error"],
412 // ["u8", "address", 16],
413 // {"crc" : "0xa8b6e322"}
416 type IsAddressReachable struct {
417 NextHopSwIfIndex uint32
421 Address []byte `struc:"[16]byte"`
424 func (*IsAddressReachable) GetMessageName() string {
425 return "is_address_reachable"
427 func (*IsAddressReachable) GetMessageType() api.MessageType {
428 return api.RequestMessage
430 func (*IsAddressReachable) GetCrcString() string {
433 func NewIsAddressReachable() api.Message {
434 return &IsAddressReachable{}
437 // WantStats represents the VPP binary API message 'want_stats'.
438 // Generated from '/usr/share/vpp/api/vpe.api.json', line 117:
441 // ["u16", "_vl_msg_id"],
442 // ["u32", "client_index"],
443 // ["u32", "context"],
444 // ["u32", "enable_disable"],
446 // {"crc" : "0x4f2effb4"}
449 type WantStats struct {
454 func (*WantStats) GetMessageName() string {
457 func (*WantStats) GetMessageType() api.MessageType {
458 return api.RequestMessage
460 func (*WantStats) GetCrcString() string {
463 func NewWantStats() api.Message {
467 // WantStatsReply represents the VPP binary API message 'want_stats_reply'.
468 // Generated from '/usr/share/vpp/api/vpe.api.json', line 125:
470 // ["want_stats_reply",
471 // ["u16", "_vl_msg_id"],
472 // ["u32", "context"],
473 // ["i32", "retval"],
474 // {"crc" : "0xb36abf5f"}
477 type WantStatsReply struct {
481 func (*WantStatsReply) GetMessageName() string {
482 return "want_stats_reply"
484 func (*WantStatsReply) GetMessageType() api.MessageType {
485 return api.ReplyMessage
487 func (*WantStatsReply) GetCrcString() string {
490 func NewWantStatsReply() api.Message {
491 return &WantStatsReply{}
494 // VnetIP4FibCounters represents the VPP binary API message 'vnet_ip4_fib_counters'.
495 // Generated from '/usr/share/vpp/api/vpe.api.json', line 131:
497 // ["vnet_ip4_fib_counters",
498 // ["u16", "_vl_msg_id"],
499 // ["u32", "vrf_id"],
501 // ["vl_api_ip4_fib_counter_t", "c", 0, "count"],
502 // {"crc" : "0x1ab9d6c5"}
505 type VnetIP4FibCounters struct {
507 Count uint32 `struc:"sizeof=C"`
511 func (*VnetIP4FibCounters) GetMessageName() string {
512 return "vnet_ip4_fib_counters"
514 func (*VnetIP4FibCounters) GetMessageType() api.MessageType {
515 return api.OtherMessage
517 func (*VnetIP4FibCounters) GetCrcString() string {
520 func NewVnetIP4FibCounters() api.Message {
521 return &VnetIP4FibCounters{}
524 // VnetIP4NbrCounters represents the VPP binary API message 'vnet_ip4_nbr_counters'.
525 // Generated from '/usr/share/vpp/api/vpe.api.json', line 138:
527 // ["vnet_ip4_nbr_counters",
528 // ["u16", "_vl_msg_id"],
530 // ["u32", "sw_if_index"],
532 // ["vl_api_ip4_nbr_counter_t", "c", 0, "count"],
533 // {"crc" : "0xfc2b5092"}
536 type VnetIP4NbrCounters struct {
537 Count uint32 `struc:"sizeof=C"`
543 func (*VnetIP4NbrCounters) GetMessageName() string {
544 return "vnet_ip4_nbr_counters"
546 func (*VnetIP4NbrCounters) GetMessageType() api.MessageType {
547 return api.OtherMessage
549 func (*VnetIP4NbrCounters) GetCrcString() string {
552 func NewVnetIP4NbrCounters() api.Message {
553 return &VnetIP4NbrCounters{}
556 // VnetIP6FibCounters represents the VPP binary API message 'vnet_ip6_fib_counters'.
557 // Generated from '/usr/share/vpp/api/vpe.api.json', line 146:
559 // ["vnet_ip6_fib_counters",
560 // ["u16", "_vl_msg_id"],
561 // ["u32", "vrf_id"],
563 // ["vl_api_ip6_fib_counter_t", "c", 0, "count"],
564 // {"crc" : "0x9ab453ae"}
567 type VnetIP6FibCounters struct {
569 Count uint32 `struc:"sizeof=C"`
573 func (*VnetIP6FibCounters) GetMessageName() string {
574 return "vnet_ip6_fib_counters"
576 func (*VnetIP6FibCounters) GetMessageType() api.MessageType {
577 return api.OtherMessage
579 func (*VnetIP6FibCounters) GetCrcString() string {
582 func NewVnetIP6FibCounters() api.Message {
583 return &VnetIP6FibCounters{}
586 // VnetIP6NbrCounters represents the VPP binary API message 'vnet_ip6_nbr_counters'.
587 // Generated from '/usr/share/vpp/api/vpe.api.json', line 153:
589 // ["vnet_ip6_nbr_counters",
590 // ["u16", "_vl_msg_id"],
592 // ["u32", "sw_if_index"],
594 // ["vl_api_ip6_nbr_counter_t", "c", 0, "count"],
595 // {"crc" : "0x181b673f"}
598 type VnetIP6NbrCounters struct {
599 Count uint32 `struc:"sizeof=C"`
605 func (*VnetIP6NbrCounters) GetMessageName() string {
606 return "vnet_ip6_nbr_counters"
608 func (*VnetIP6NbrCounters) GetMessageType() api.MessageType {
609 return api.OtherMessage
611 func (*VnetIP6NbrCounters) GetCrcString() string {
614 func NewVnetIP6NbrCounters() api.Message {
615 return &VnetIP6NbrCounters{}
618 // VnetGetSummaryStats represents the VPP binary API message 'vnet_get_summary_stats'.
619 // Generated from '/usr/share/vpp/api/vpe.api.json', line 161:
621 // ["vnet_get_summary_stats",
622 // ["u16", "_vl_msg_id"],
623 // ["u32", "client_index"],
624 // ["u32", "context"],
625 // {"crc" : "0x16435c20"}
628 type VnetGetSummaryStats struct {
631 func (*VnetGetSummaryStats) GetMessageName() string {
632 return "vnet_get_summary_stats"
634 func (*VnetGetSummaryStats) GetMessageType() api.MessageType {
635 return api.RequestMessage
637 func (*VnetGetSummaryStats) GetCrcString() string {
640 func NewVnetGetSummaryStats() api.Message {
641 return &VnetGetSummaryStats{}
644 // VnetSummaryStatsReply represents the VPP binary API message 'vnet_summary_stats_reply'.
645 // Generated from '/usr/share/vpp/api/vpe.api.json', line 167:
647 // ["vnet_summary_stats_reply",
648 // ["u16", "_vl_msg_id"],
649 // ["u32", "context"],
650 // ["i32", "retval"],
651 // ["u64", "total_pkts", 2],
652 // ["u64", "total_bytes", 2],
653 // ["f64", "vector_rate"],
654 // {"crc" : "0x87a8fa9f"}
657 type VnetSummaryStatsReply struct {
659 TotalPkts []uint64 `struc:"[2]uint64"`
660 TotalBytes []uint64 `struc:"[2]uint64"`
664 func (*VnetSummaryStatsReply) GetMessageName() string {
665 return "vnet_summary_stats_reply"
667 func (*VnetSummaryStatsReply) GetMessageType() api.MessageType {
668 return api.ReplyMessage
670 func (*VnetSummaryStatsReply) GetCrcString() string {
673 func NewVnetSummaryStatsReply() api.Message {
674 return &VnetSummaryStatsReply{}
677 // OamEvent represents the VPP binary API message 'oam_event'.
678 // Generated from '/usr/share/vpp/api/vpe.api.json', line 176:
681 // ["u16", "_vl_msg_id"],
682 // ["u8", "dst_address", 4],
684 // {"crc" : "0x4f285ade"}
687 type OamEvent struct {
688 DstAddress []byte `struc:"[4]byte"`
692 func (*OamEvent) GetMessageName() string {
695 func (*OamEvent) GetMessageType() api.MessageType {
696 return api.OtherMessage
698 func (*OamEvent) GetCrcString() string {
701 func NewOamEvent() api.Message {
705 // WantOamEvents represents the VPP binary API message 'want_oam_events'.
706 // Generated from '/usr/share/vpp/api/vpe.api.json', line 182:
708 // ["want_oam_events",
709 // ["u16", "_vl_msg_id"],
710 // ["u32", "client_index"],
711 // ["u32", "context"],
712 // ["u32", "enable_disable"],
714 // {"crc" : "0x948ef12a"}
717 type WantOamEvents struct {
722 func (*WantOamEvents) GetMessageName() string {
723 return "want_oam_events"
725 func (*WantOamEvents) GetMessageType() api.MessageType {
726 return api.RequestMessage
728 func (*WantOamEvents) GetCrcString() string {
731 func NewWantOamEvents() api.Message {
732 return &WantOamEvents{}
735 // WantOamEventsReply represents the VPP binary API message 'want_oam_events_reply'.
736 // Generated from '/usr/share/vpp/api/vpe.api.json', line 190:
738 // ["want_oam_events_reply",
739 // ["u16", "_vl_msg_id"],
740 // ["u32", "context"],
741 // ["i32", "retval"],
742 // {"crc" : "0x266a677d"}
745 type WantOamEventsReply struct {
749 func (*WantOamEventsReply) GetMessageName() string {
750 return "want_oam_events_reply"
752 func (*WantOamEventsReply) GetMessageType() api.MessageType {
753 return api.ReplyMessage
755 func (*WantOamEventsReply) GetCrcString() string {
758 func NewWantOamEventsReply() api.Message {
759 return &WantOamEventsReply{}
762 // OamAddDel represents the VPP binary API message 'oam_add_del'.
763 // Generated from '/usr/share/vpp/api/vpe.api.json', line 196:
766 // ["u16", "_vl_msg_id"],
767 // ["u32", "client_index"],
768 // ["u32", "context"],
769 // ["u32", "vrf_id"],
770 // ["u8", "src_address", 4],
771 // ["u8", "dst_address", 4],
773 // {"crc" : "0xb14bc7df"}
776 type OamAddDel struct {
778 SrcAddress []byte `struc:"[4]byte"`
779 DstAddress []byte `struc:"[4]byte"`
783 func (*OamAddDel) GetMessageName() string {
786 func (*OamAddDel) GetMessageType() api.MessageType {
787 return api.RequestMessage
789 func (*OamAddDel) GetCrcString() string {
792 func NewOamAddDel() api.Message {
796 // OamAddDelReply represents the VPP binary API message 'oam_add_del_reply'.
797 // Generated from '/usr/share/vpp/api/vpe.api.json', line 206:
799 // ["oam_add_del_reply",
800 // ["u16", "_vl_msg_id"],
801 // ["u32", "context"],
802 // ["i32", "retval"],
803 // {"crc" : "0xc5594eec"}
806 type OamAddDelReply struct {
810 func (*OamAddDelReply) GetMessageName() string {
811 return "oam_add_del_reply"
813 func (*OamAddDelReply) GetMessageType() api.MessageType {
814 return api.ReplyMessage
816 func (*OamAddDelReply) GetCrcString() string {
819 func NewOamAddDelReply() api.Message {
820 return &OamAddDelReply{}
823 // ResetFib represents the VPP binary API message 'reset_fib'.
824 // Generated from '/usr/share/vpp/api/vpe.api.json', line 212:
827 // ["u16", "_vl_msg_id"],
828 // ["u32", "client_index"],
829 // ["u32", "context"],
830 // ["u32", "vrf_id"],
831 // ["u8", "is_ipv6"],
832 // {"crc" : "0x6f17106b"}
835 type ResetFib struct {
840 func (*ResetFib) GetMessageName() string {
843 func (*ResetFib) GetMessageType() api.MessageType {
844 return api.RequestMessage
846 func (*ResetFib) GetCrcString() string {
849 func NewResetFib() api.Message {
853 // ResetFibReply represents the VPP binary API message 'reset_fib_reply'.
854 // Generated from '/usr/share/vpp/api/vpe.api.json', line 220:
856 // ["reset_fib_reply",
857 // ["u16", "_vl_msg_id"],
858 // ["u32", "context"],
859 // ["i32", "retval"],
860 // {"crc" : "0x990dcbf8"}
863 type ResetFibReply struct {
867 func (*ResetFibReply) GetMessageName() string {
868 return "reset_fib_reply"
870 func (*ResetFibReply) GetMessageType() api.MessageType {
871 return api.ReplyMessage
873 func (*ResetFibReply) GetCrcString() string {
876 func NewResetFibReply() api.Message {
877 return &ResetFibReply{}
880 // CreateLoopback represents the VPP binary API message 'create_loopback'.
881 // Generated from '/usr/share/vpp/api/vpe.api.json', line 226:
883 // ["create_loopback",
884 // ["u16", "_vl_msg_id"],
885 // ["u32", "client_index"],
886 // ["u32", "context"],
887 // ["u8", "mac_address", 6],
888 // {"crc" : "0xb2602de5"}
891 type CreateLoopback struct {
892 MacAddress []byte `struc:"[6]byte"`
895 func (*CreateLoopback) GetMessageName() string {
896 return "create_loopback"
898 func (*CreateLoopback) GetMessageType() api.MessageType {
899 return api.RequestMessage
901 func (*CreateLoopback) GetCrcString() string {
904 func NewCreateLoopback() api.Message {
905 return &CreateLoopback{}
908 // CreateLoopbackReply represents the VPP binary API message 'create_loopback_reply'.
909 // Generated from '/usr/share/vpp/api/vpe.api.json', line 233:
911 // ["create_loopback_reply",
912 // ["u16", "_vl_msg_id"],
913 // ["u32", "context"],
914 // ["i32", "retval"],
915 // ["u32", "sw_if_index"],
916 // {"crc" : "0x9520f804"}
919 type CreateLoopbackReply struct {
924 func (*CreateLoopbackReply) GetMessageName() string {
925 return "create_loopback_reply"
927 func (*CreateLoopbackReply) GetMessageType() api.MessageType {
928 return api.ReplyMessage
930 func (*CreateLoopbackReply) GetCrcString() string {
933 func NewCreateLoopbackReply() api.Message {
934 return &CreateLoopbackReply{}
937 // CreateLoopbackInstance represents the VPP binary API message 'create_loopback_instance'.
938 // Generated from '/usr/share/vpp/api/vpe.api.json', line 240:
940 // ["create_loopback_instance",
941 // ["u16", "_vl_msg_id"],
942 // ["u32", "client_index"],
943 // ["u32", "context"],
944 // ["u8", "mac_address", 6],
945 // ["u8", "is_specified"],
946 // ["u32", "user_instance"],
947 // {"crc" : "0x967694f1"}
950 type CreateLoopbackInstance struct {
951 MacAddress []byte `struc:"[6]byte"`
956 func (*CreateLoopbackInstance) GetMessageName() string {
957 return "create_loopback_instance"
959 func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
960 return api.RequestMessage
962 func (*CreateLoopbackInstance) GetCrcString() string {
965 func NewCreateLoopbackInstance() api.Message {
966 return &CreateLoopbackInstance{}
969 // CreateLoopbackInstanceReply represents the VPP binary API message 'create_loopback_instance_reply'.
970 // Generated from '/usr/share/vpp/api/vpe.api.json', line 249:
972 // ["create_loopback_instance_reply",
973 // ["u16", "_vl_msg_id"],
974 // ["u32", "context"],
975 // ["i32", "retval"],
976 // ["u32", "sw_if_index"],
977 // {"crc" : "0xd52c63b6"}
980 type CreateLoopbackInstanceReply struct {
985 func (*CreateLoopbackInstanceReply) GetMessageName() string {
986 return "create_loopback_instance_reply"
988 func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
989 return api.ReplyMessage
991 func (*CreateLoopbackInstanceReply) GetCrcString() string {
994 func NewCreateLoopbackInstanceReply() api.Message {
995 return &CreateLoopbackInstanceReply{}
998 // DeleteLoopback represents the VPP binary API message 'delete_loopback'.
999 // Generated from '/usr/share/vpp/api/vpe.api.json', line 256:
1001 // ["delete_loopback",
1002 // ["u16", "_vl_msg_id"],
1003 // ["u32", "client_index"],
1004 // ["u32", "context"],
1005 // ["u32", "sw_if_index"],
1006 // {"crc" : "0xded428b0"}
1009 type DeleteLoopback struct {
1013 func (*DeleteLoopback) GetMessageName() string {
1014 return "delete_loopback"
1016 func (*DeleteLoopback) GetMessageType() api.MessageType {
1017 return api.RequestMessage
1019 func (*DeleteLoopback) GetCrcString() string {
1022 func NewDeleteLoopback() api.Message {
1023 return &DeleteLoopback{}
1026 // DeleteLoopbackReply represents the VPP binary API message 'delete_loopback_reply'.
1027 // Generated from '/usr/share/vpp/api/vpe.api.json', line 263:
1029 // ["delete_loopback_reply",
1030 // ["u16", "_vl_msg_id"],
1031 // ["u32", "context"],
1032 // ["i32", "retval"],
1033 // {"crc" : "0xc91dafa5"}
1036 type DeleteLoopbackReply struct {
1040 func (*DeleteLoopbackReply) GetMessageName() string {
1041 return "delete_loopback_reply"
1043 func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
1044 return api.ReplyMessage
1046 func (*DeleteLoopbackReply) GetCrcString() string {
1049 func NewDeleteLoopbackReply() api.Message {
1050 return &DeleteLoopbackReply{}
1053 // ControlPing represents the VPP binary API message 'control_ping'.
1054 // Generated from '/usr/share/vpp/api/vpe.api.json', line 269:
1057 // ["u16", "_vl_msg_id"],
1058 // ["u32", "client_index"],
1059 // ["u32", "context"],
1060 // {"crc" : "0xea1bf4f7"}
1063 type ControlPing struct {
1066 func (*ControlPing) GetMessageName() string {
1067 return "control_ping"
1069 func (*ControlPing) GetMessageType() api.MessageType {
1070 return api.RequestMessage
1072 func (*ControlPing) GetCrcString() string {
1075 func NewControlPing() api.Message {
1076 return &ControlPing{}
1079 // ControlPingReply represents the VPP binary API message 'control_ping_reply'.
1080 // Generated from '/usr/share/vpp/api/vpe.api.json', line 275:
1082 // ["control_ping_reply",
1083 // ["u16", "_vl_msg_id"],
1084 // ["u32", "context"],
1085 // ["i32", "retval"],
1086 // ["u32", "client_index"],
1087 // ["u32", "vpe_pid"],
1088 // {"crc" : "0xaa016e7b"}
1091 type ControlPingReply struct {
1097 func (*ControlPingReply) GetMessageName() string {
1098 return "control_ping_reply"
1100 func (*ControlPingReply) GetMessageType() api.MessageType {
1101 return api.ReplyMessage
1103 func (*ControlPingReply) GetCrcString() string {
1106 func NewControlPingReply() api.Message {
1107 return &ControlPingReply{}
1110 // CliRequest represents the VPP binary API message 'cli_request'.
1111 // Generated from '/usr/share/vpp/api/vpe.api.json', line 283:
1114 // ["u16", "_vl_msg_id"],
1115 // ["u32", "client_index"],
1116 // ["u32", "context"],
1117 // ["u64", "cmd_in_shmem"],
1118 // {"crc" : "0xfef056d0"}
1121 type CliRequest struct {
1125 func (*CliRequest) GetMessageName() string {
1126 return "cli_request"
1128 func (*CliRequest) GetMessageType() api.MessageType {
1129 return api.RequestMessage
1131 func (*CliRequest) GetCrcString() string {
1134 func NewCliRequest() api.Message {
1135 return &CliRequest{}
1138 // CliInband represents the VPP binary API message 'cli_inband'.
1139 // Generated from '/usr/share/vpp/api/vpe.api.json', line 290:
1142 // ["u16", "_vl_msg_id"],
1143 // ["u32", "client_index"],
1144 // ["u32", "context"],
1145 // ["u32", "length"],
1146 // ["u8", "cmd", 0, "length"],
1147 // {"crc" : "0x22345937"}
1150 type CliInband struct {
1151 Length uint32 `struc:"sizeof=Cmd"`
1155 func (*CliInband) GetMessageName() string {
1158 func (*CliInband) GetMessageType() api.MessageType {
1159 return api.RequestMessage
1161 func (*CliInband) GetCrcString() string {
1164 func NewCliInband() api.Message {
1168 // CliReply represents the VPP binary API message 'cli_reply'.
1169 // Generated from '/usr/share/vpp/api/vpe.api.json', line 298:
1172 // ["u16", "_vl_msg_id"],
1173 // ["u32", "context"],
1174 // ["i32", "retval"],
1175 // ["u64", "reply_in_shmem"],
1176 // {"crc" : "0x594a0b2e"}
1179 type CliReply struct {
1184 func (*CliReply) GetMessageName() string {
1187 func (*CliReply) GetMessageType() api.MessageType {
1188 return api.ReplyMessage
1190 func (*CliReply) GetCrcString() string {
1193 func NewCliReply() api.Message {
1197 // CliInbandReply represents the VPP binary API message 'cli_inband_reply'.
1198 // Generated from '/usr/share/vpp/api/vpe.api.json', line 305:
1200 // ["cli_inband_reply",
1201 // ["u16", "_vl_msg_id"],
1202 // ["u32", "context"],
1203 // ["i32", "retval"],
1204 // ["u32", "length"],
1205 // ["u8", "reply", 0, "length"],
1206 // {"crc" : "0xc1835761"}
1209 type CliInbandReply struct {
1211 Length uint32 `struc:"sizeof=Reply"`
1215 func (*CliInbandReply) GetMessageName() string {
1216 return "cli_inband_reply"
1218 func (*CliInbandReply) GetMessageType() api.MessageType {
1219 return api.ReplyMessage
1221 func (*CliInbandReply) GetCrcString() string {
1224 func NewCliInbandReply() api.Message {
1225 return &CliInbandReply{}
1228 // SetArpNeighborLimit represents the VPP binary API message 'set_arp_neighbor_limit'.
1229 // Generated from '/usr/share/vpp/api/vpe.api.json', line 313:
1231 // ["set_arp_neighbor_limit",
1232 // ["u16", "_vl_msg_id"],
1233 // ["u32", "client_index"],
1234 // ["u32", "context"],
1235 // ["u8", "is_ipv6"],
1236 // ["u32", "arp_neighbor_limit"],
1237 // {"crc" : "0xc1690cb4"}
1240 type SetArpNeighborLimit struct {
1242 ArpNeighborLimit uint32
1245 func (*SetArpNeighborLimit) GetMessageName() string {
1246 return "set_arp_neighbor_limit"
1248 func (*SetArpNeighborLimit) GetMessageType() api.MessageType {
1249 return api.RequestMessage
1251 func (*SetArpNeighborLimit) GetCrcString() string {
1254 func NewSetArpNeighborLimit() api.Message {
1255 return &SetArpNeighborLimit{}
1258 // SetArpNeighborLimitReply represents the VPP binary API message 'set_arp_neighbor_limit_reply'.
1259 // Generated from '/usr/share/vpp/api/vpe.api.json', line 321:
1261 // ["set_arp_neighbor_limit_reply",
1262 // ["u16", "_vl_msg_id"],
1263 // ["u32", "context"],
1264 // ["i32", "retval"],
1265 // {"crc" : "0xa6b30518"}
1268 type SetArpNeighborLimitReply struct {
1272 func (*SetArpNeighborLimitReply) GetMessageName() string {
1273 return "set_arp_neighbor_limit_reply"
1275 func (*SetArpNeighborLimitReply) GetMessageType() api.MessageType {
1276 return api.ReplyMessage
1278 func (*SetArpNeighborLimitReply) GetCrcString() string {
1281 func NewSetArpNeighborLimitReply() api.Message {
1282 return &SetArpNeighborLimitReply{}
1285 // L2PatchAddDel represents the VPP binary API message 'l2_patch_add_del'.
1286 // Generated from '/usr/share/vpp/api/vpe.api.json', line 327:
1288 // ["l2_patch_add_del",
1289 // ["u16", "_vl_msg_id"],
1290 // ["u32", "client_index"],
1291 // ["u32", "context"],
1292 // ["u32", "rx_sw_if_index"],
1293 // ["u32", "tx_sw_if_index"],
1294 // ["u8", "is_add"],
1295 // {"crc" : "0x9b10029a"}
1298 type L2PatchAddDel struct {
1304 func (*L2PatchAddDel) GetMessageName() string {
1305 return "l2_patch_add_del"
1307 func (*L2PatchAddDel) GetMessageType() api.MessageType {
1308 return api.RequestMessage
1310 func (*L2PatchAddDel) GetCrcString() string {
1313 func NewL2PatchAddDel() api.Message {
1314 return &L2PatchAddDel{}
1317 // L2PatchAddDelReply represents the VPP binary API message 'l2_patch_add_del_reply'.
1318 // Generated from '/usr/share/vpp/api/vpe.api.json', line 336:
1320 // ["l2_patch_add_del_reply",
1321 // ["u16", "_vl_msg_id"],
1322 // ["u32", "context"],
1323 // ["i32", "retval"],
1324 // {"crc" : "0xa85e37be"}
1327 type L2PatchAddDelReply struct {
1331 func (*L2PatchAddDelReply) GetMessageName() string {
1332 return "l2_patch_add_del_reply"
1334 func (*L2PatchAddDelReply) GetMessageType() api.MessageType {
1335 return api.ReplyMessage
1337 func (*L2PatchAddDelReply) GetCrcString() string {
1340 func NewL2PatchAddDelReply() api.Message {
1341 return &L2PatchAddDelReply{}
1344 // SwInterfaceSetVpath represents the VPP binary API message 'sw_interface_set_vpath'.
1345 // Generated from '/usr/share/vpp/api/vpe.api.json', line 342:
1347 // ["sw_interface_set_vpath",
1348 // ["u16", "_vl_msg_id"],
1349 // ["u32", "client_index"],
1350 // ["u32", "context"],
1351 // ["u32", "sw_if_index"],
1352 // ["u8", "enable"],
1353 // {"crc" : "0x1bc2fd5e"}
1356 type SwInterfaceSetVpath struct {
1361 func (*SwInterfaceSetVpath) GetMessageName() string {
1362 return "sw_interface_set_vpath"
1364 func (*SwInterfaceSetVpath) GetMessageType() api.MessageType {
1365 return api.RequestMessage
1367 func (*SwInterfaceSetVpath) GetCrcString() string {
1370 func NewSwInterfaceSetVpath() api.Message {
1371 return &SwInterfaceSetVpath{}
1374 // SwInterfaceSetVpathReply represents the VPP binary API message 'sw_interface_set_vpath_reply'.
1375 // Generated from '/usr/share/vpp/api/vpe.api.json', line 350:
1377 // ["sw_interface_set_vpath_reply",
1378 // ["u16", "_vl_msg_id"],
1379 // ["u32", "context"],
1380 // ["i32", "retval"],
1381 // {"crc" : "0x828dbe62"}
1384 type SwInterfaceSetVpathReply struct {
1388 func (*SwInterfaceSetVpathReply) GetMessageName() string {
1389 return "sw_interface_set_vpath_reply"
1391 func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType {
1392 return api.ReplyMessage
1394 func (*SwInterfaceSetVpathReply) GetCrcString() string {
1397 func NewSwInterfaceSetVpathReply() api.Message {
1398 return &SwInterfaceSetVpathReply{}
1401 // SwInterfaceSetL2Xconnect represents the VPP binary API message 'sw_interface_set_l2_xconnect'.
1402 // Generated from '/usr/share/vpp/api/vpe.api.json', line 356:
1404 // ["sw_interface_set_l2_xconnect",
1405 // ["u16", "_vl_msg_id"],
1406 // ["u32", "client_index"],
1407 // ["u32", "context"],
1408 // ["u32", "rx_sw_if_index"],
1409 // ["u32", "tx_sw_if_index"],
1410 // ["u8", "enable"],
1411 // {"crc" : "0x48a4c4c8"}
1414 type SwInterfaceSetL2Xconnect struct {
1420 func (*SwInterfaceSetL2Xconnect) GetMessageName() string {
1421 return "sw_interface_set_l2_xconnect"
1423 func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType {
1424 return api.RequestMessage
1426 func (*SwInterfaceSetL2Xconnect) GetCrcString() string {
1429 func NewSwInterfaceSetL2Xconnect() api.Message {
1430 return &SwInterfaceSetL2Xconnect{}
1433 // SwInterfaceSetL2XconnectReply represents the VPP binary API message 'sw_interface_set_l2_xconnect_reply'.
1434 // Generated from '/usr/share/vpp/api/vpe.api.json', line 365:
1436 // ["sw_interface_set_l2_xconnect_reply",
1437 // ["u16", "_vl_msg_id"],
1438 // ["u32", "context"],
1439 // ["i32", "retval"],
1440 // {"crc" : "0x6e45eed4"}
1443 type SwInterfaceSetL2XconnectReply struct {
1447 func (*SwInterfaceSetL2XconnectReply) GetMessageName() string {
1448 return "sw_interface_set_l2_xconnect_reply"
1450 func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType {
1451 return api.ReplyMessage
1453 func (*SwInterfaceSetL2XconnectReply) GetCrcString() string {
1456 func NewSwInterfaceSetL2XconnectReply() api.Message {
1457 return &SwInterfaceSetL2XconnectReply{}
1460 // SwInterfaceSetL2Bridge represents the VPP binary API message 'sw_interface_set_l2_bridge'.
1461 // Generated from '/usr/share/vpp/api/vpe.api.json', line 371:
1463 // ["sw_interface_set_l2_bridge",
1464 // ["u16", "_vl_msg_id"],
1465 // ["u32", "client_index"],
1466 // ["u32", "context"],
1467 // ["u32", "rx_sw_if_index"],
1468 // ["u32", "bd_id"],
1471 // ["u8", "enable"],
1472 // {"crc" : "0x36c739e8"}
1475 type SwInterfaceSetL2Bridge struct {
1483 func (*SwInterfaceSetL2Bridge) GetMessageName() string {
1484 return "sw_interface_set_l2_bridge"
1486 func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType {
1487 return api.RequestMessage
1489 func (*SwInterfaceSetL2Bridge) GetCrcString() string {
1492 func NewSwInterfaceSetL2Bridge() api.Message {
1493 return &SwInterfaceSetL2Bridge{}
1496 // SwInterfaceSetL2BridgeReply represents the VPP binary API message 'sw_interface_set_l2_bridge_reply'.
1497 // Generated from '/usr/share/vpp/api/vpe.api.json', line 382:
1499 // ["sw_interface_set_l2_bridge_reply",
1500 // ["u16", "_vl_msg_id"],
1501 // ["u32", "context"],
1502 // ["i32", "retval"],
1503 // {"crc" : "0x347e08d9"}
1506 type SwInterfaceSetL2BridgeReply struct {
1510 func (*SwInterfaceSetL2BridgeReply) GetMessageName() string {
1511 return "sw_interface_set_l2_bridge_reply"
1513 func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType {
1514 return api.ReplyMessage
1516 func (*SwInterfaceSetL2BridgeReply) GetCrcString() string {
1519 func NewSwInterfaceSetL2BridgeReply() api.Message {
1520 return &SwInterfaceSetL2BridgeReply{}
1523 // BdIPMacAddDel represents the VPP binary API message 'bd_ip_mac_add_del'.
1524 // Generated from '/usr/share/vpp/api/vpe.api.json', line 388:
1526 // ["bd_ip_mac_add_del",
1527 // ["u16", "_vl_msg_id"],
1528 // ["u32", "client_index"],
1529 // ["u32", "context"],
1530 // ["u32", "bd_id"],
1531 // ["u8", "is_add"],
1532 // ["u8", "is_ipv6"],
1533 // ["u8", "ip_address", 16],
1534 // ["u8", "mac_address", 6],
1535 // {"crc" : "0xad819817"}
1538 type BdIPMacAddDel struct {
1542 IPAddress []byte `struc:"[16]byte"`
1543 MacAddress []byte `struc:"[6]byte"`
1546 func (*BdIPMacAddDel) GetMessageName() string {
1547 return "bd_ip_mac_add_del"
1549 func (*BdIPMacAddDel) GetMessageType() api.MessageType {
1550 return api.RequestMessage
1552 func (*BdIPMacAddDel) GetCrcString() string {
1555 func NewBdIPMacAddDel() api.Message {
1556 return &BdIPMacAddDel{}
1559 // BdIPMacAddDelReply represents the VPP binary API message 'bd_ip_mac_add_del_reply'.
1560 // Generated from '/usr/share/vpp/api/vpe.api.json', line 399:
1562 // ["bd_ip_mac_add_del_reply",
1563 // ["u16", "_vl_msg_id"],
1564 // ["u32", "context"],
1565 // ["i32", "retval"],
1566 // {"crc" : "0x55bab3b4"}
1569 type BdIPMacAddDelReply struct {
1573 func (*BdIPMacAddDelReply) GetMessageName() string {
1574 return "bd_ip_mac_add_del_reply"
1576 func (*BdIPMacAddDelReply) GetMessageType() api.MessageType {
1577 return api.ReplyMessage
1579 func (*BdIPMacAddDelReply) GetCrcString() string {
1582 func NewBdIPMacAddDelReply() api.Message {
1583 return &BdIPMacAddDelReply{}
1586 // ClassifySetInterfaceIPTable represents the VPP binary API message 'classify_set_interface_ip_table'.
1587 // Generated from '/usr/share/vpp/api/vpe.api.json', line 405:
1589 // ["classify_set_interface_ip_table",
1590 // ["u16", "_vl_msg_id"],
1591 // ["u32", "client_index"],
1592 // ["u32", "context"],
1593 // ["u8", "is_ipv6"],
1594 // ["u32", "sw_if_index"],
1595 // ["u32", "table_index"],
1596 // {"crc" : "0x0dc45308"}
1599 type ClassifySetInterfaceIPTable struct {
1605 func (*ClassifySetInterfaceIPTable) GetMessageName() string {
1606 return "classify_set_interface_ip_table"
1608 func (*ClassifySetInterfaceIPTable) GetMessageType() api.MessageType {
1609 return api.RequestMessage
1611 func (*ClassifySetInterfaceIPTable) GetCrcString() string {
1614 func NewClassifySetInterfaceIPTable() api.Message {
1615 return &ClassifySetInterfaceIPTable{}
1618 // ClassifySetInterfaceIPTableReply represents the VPP binary API message 'classify_set_interface_ip_table_reply'.
1619 // Generated from '/usr/share/vpp/api/vpe.api.json', line 414:
1621 // ["classify_set_interface_ip_table_reply",
1622 // ["u16", "_vl_msg_id"],
1623 // ["u32", "context"],
1624 // ["i32", "retval"],
1625 // {"crc" : "0xdc391c34"}
1628 type ClassifySetInterfaceIPTableReply struct {
1632 func (*ClassifySetInterfaceIPTableReply) GetMessageName() string {
1633 return "classify_set_interface_ip_table_reply"
1635 func (*ClassifySetInterfaceIPTableReply) GetMessageType() api.MessageType {
1636 return api.ReplyMessage
1638 func (*ClassifySetInterfaceIPTableReply) GetCrcString() string {
1641 func NewClassifySetInterfaceIPTableReply() api.Message {
1642 return &ClassifySetInterfaceIPTableReply{}
1645 // ClassifySetInterfaceL2Tables represents the VPP binary API message 'classify_set_interface_l2_tables'.
1646 // Generated from '/usr/share/vpp/api/vpe.api.json', line 420:
1648 // ["classify_set_interface_l2_tables",
1649 // ["u16", "_vl_msg_id"],
1650 // ["u32", "client_index"],
1651 // ["u32", "context"],
1652 // ["u32", "sw_if_index"],
1653 // ["u32", "ip4_table_index"],
1654 // ["u32", "ip6_table_index"],
1655 // ["u32", "other_table_index"],
1656 // ["u8", "is_input"],
1657 // {"crc" : "0xed9ccf0d"}
1660 type ClassifySetInterfaceL2Tables struct {
1662 IP4TableIndex uint32
1663 IP6TableIndex uint32
1664 OtherTableIndex uint32
1668 func (*ClassifySetInterfaceL2Tables) GetMessageName() string {
1669 return "classify_set_interface_l2_tables"
1671 func (*ClassifySetInterfaceL2Tables) GetMessageType() api.MessageType {
1672 return api.RequestMessage
1674 func (*ClassifySetInterfaceL2Tables) GetCrcString() string {
1677 func NewClassifySetInterfaceL2Tables() api.Message {
1678 return &ClassifySetInterfaceL2Tables{}
1681 // ClassifySetInterfaceL2TablesReply represents the VPP binary API message 'classify_set_interface_l2_tables_reply'.
1682 // Generated from '/usr/share/vpp/api/vpe.api.json', line 431:
1684 // ["classify_set_interface_l2_tables_reply",
1685 // ["u16", "_vl_msg_id"],
1686 // ["u32", "context"],
1687 // ["i32", "retval"],
1688 // {"crc" : "0x8df20579"}
1691 type ClassifySetInterfaceL2TablesReply struct {
1695 func (*ClassifySetInterfaceL2TablesReply) GetMessageName() string {
1696 return "classify_set_interface_l2_tables_reply"
1698 func (*ClassifySetInterfaceL2TablesReply) GetMessageType() api.MessageType {
1699 return api.ReplyMessage
1701 func (*ClassifySetInterfaceL2TablesReply) GetCrcString() string {
1704 func NewClassifySetInterfaceL2TablesReply() api.Message {
1705 return &ClassifySetInterfaceL2TablesReply{}
1708 // GetNodeIndex represents the VPP binary API message 'get_node_index'.
1709 // Generated from '/usr/share/vpp/api/vpe.api.json', line 437:
1711 // ["get_node_index",
1712 // ["u16", "_vl_msg_id"],
1713 // ["u32", "client_index"],
1714 // ["u32", "context"],
1715 // ["u8", "node_name", 64],
1716 // {"crc" : "0x226d3f8c"}
1719 type GetNodeIndex struct {
1720 NodeName []byte `struc:"[64]byte"`
1723 func (*GetNodeIndex) GetMessageName() string {
1724 return "get_node_index"
1726 func (*GetNodeIndex) GetMessageType() api.MessageType {
1727 return api.RequestMessage
1729 func (*GetNodeIndex) GetCrcString() string {
1732 func NewGetNodeIndex() api.Message {
1733 return &GetNodeIndex{}
1736 // GetNodeIndexReply represents the VPP binary API message 'get_node_index_reply'.
1737 // Generated from '/usr/share/vpp/api/vpe.api.json', line 444:
1739 // ["get_node_index_reply",
1740 // ["u16", "_vl_msg_id"],
1741 // ["u32", "context"],
1742 // ["i32", "retval"],
1743 // ["u32", "node_index"],
1744 // {"crc" : "0x29116865"}
1747 type GetNodeIndexReply struct {
1752 func (*GetNodeIndexReply) GetMessageName() string {
1753 return "get_node_index_reply"
1755 func (*GetNodeIndexReply) GetMessageType() api.MessageType {
1756 return api.ReplyMessage
1758 func (*GetNodeIndexReply) GetCrcString() string {
1761 func NewGetNodeIndexReply() api.Message {
1762 return &GetNodeIndexReply{}
1765 // AddNodeNext represents the VPP binary API message 'add_node_next'.
1766 // Generated from '/usr/share/vpp/api/vpe.api.json', line 451:
1768 // ["add_node_next",
1769 // ["u16", "_vl_msg_id"],
1770 // ["u32", "client_index"],
1771 // ["u32", "context"],
1772 // ["u8", "node_name", 64],
1773 // ["u8", "next_name", 64],
1774 // {"crc" : "0xe4202993"}
1777 type AddNodeNext struct {
1778 NodeName []byte `struc:"[64]byte"`
1779 NextName []byte `struc:"[64]byte"`
1782 func (*AddNodeNext) GetMessageName() string {
1783 return "add_node_next"
1785 func (*AddNodeNext) GetMessageType() api.MessageType {
1786 return api.RequestMessage
1788 func (*AddNodeNext) GetCrcString() string {
1791 func NewAddNodeNext() api.Message {
1792 return &AddNodeNext{}
1795 // AddNodeNextReply represents the VPP binary API message 'add_node_next_reply'.
1796 // Generated from '/usr/share/vpp/api/vpe.api.json', line 459:
1798 // ["add_node_next_reply",
1799 // ["u16", "_vl_msg_id"],
1800 // ["u32", "context"],
1801 // ["i32", "retval"],
1802 // ["u32", "next_index"],
1803 // {"crc" : "0xe89d6eed"}
1806 type AddNodeNextReply struct {
1811 func (*AddNodeNextReply) GetMessageName() string {
1812 return "add_node_next_reply"
1814 func (*AddNodeNextReply) GetMessageType() api.MessageType {
1815 return api.ReplyMessage
1817 func (*AddNodeNextReply) GetCrcString() string {
1820 func NewAddNodeNextReply() api.Message {
1821 return &AddNodeNextReply{}
1824 // L2InterfaceEfpFilter represents the VPP binary API message 'l2_interface_efp_filter'.
1825 // Generated from '/usr/share/vpp/api/vpe.api.json', line 466:
1827 // ["l2_interface_efp_filter",
1828 // ["u16", "_vl_msg_id"],
1829 // ["u32", "client_index"],
1830 // ["u32", "context"],
1831 // ["u32", "sw_if_index"],
1832 // ["u32", "enable_disable"],
1833 // {"crc" : "0x07c9d601"}
1836 type L2InterfaceEfpFilter struct {
1838 EnableDisable uint32
1841 func (*L2InterfaceEfpFilter) GetMessageName() string {
1842 return "l2_interface_efp_filter"
1844 func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType {
1845 return api.RequestMessage
1847 func (*L2InterfaceEfpFilter) GetCrcString() string {
1850 func NewL2InterfaceEfpFilter() api.Message {
1851 return &L2InterfaceEfpFilter{}
1854 // L2InterfaceEfpFilterReply represents the VPP binary API message 'l2_interface_efp_filter_reply'.
1855 // Generated from '/usr/share/vpp/api/vpe.api.json', line 474:
1857 // ["l2_interface_efp_filter_reply",
1858 // ["u16", "_vl_msg_id"],
1859 // ["u32", "context"],
1860 // ["i32", "retval"],
1861 // {"crc" : "0x0f4bb0c0"}
1864 type L2InterfaceEfpFilterReply struct {
1868 func (*L2InterfaceEfpFilterReply) GetMessageName() string {
1869 return "l2_interface_efp_filter_reply"
1871 func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType {
1872 return api.ReplyMessage
1874 func (*L2InterfaceEfpFilterReply) GetCrcString() string {
1877 func NewL2InterfaceEfpFilterReply() api.Message {
1878 return &L2InterfaceEfpFilterReply{}
1881 // CreateSubif represents the VPP binary API message 'create_subif'.
1882 // Generated from '/usr/share/vpp/api/vpe.api.json', line 480:
1885 // ["u16", "_vl_msg_id"],
1886 // ["u32", "client_index"],
1887 // ["u32", "context"],
1888 // ["u32", "sw_if_index"],
1889 // ["u32", "sub_id"],
1890 // ["u8", "no_tags"],
1891 // ["u8", "one_tag"],
1892 // ["u8", "two_tags"],
1893 // ["u8", "dot1ad"],
1894 // ["u8", "exact_match"],
1895 // ["u8", "default_sub"],
1896 // ["u8", "outer_vlan_id_any"],
1897 // ["u8", "inner_vlan_id_any"],
1898 // ["u16", "outer_vlan_id"],
1899 // ["u16", "inner_vlan_id"],
1900 // {"crc" : "0x150e6757"}
1903 type CreateSubif struct {
1912 OuterVlanIDAny uint8
1913 InnerVlanIDAny uint8
1918 func (*CreateSubif) GetMessageName() string {
1919 return "create_subif"
1921 func (*CreateSubif) GetMessageType() api.MessageType {
1922 return api.RequestMessage
1924 func (*CreateSubif) GetCrcString() string {
1927 func NewCreateSubif() api.Message {
1928 return &CreateSubif{}
1931 // CreateSubifReply represents the VPP binary API message 'create_subif_reply'.
1932 // Generated from '/usr/share/vpp/api/vpe.api.json', line 498:
1934 // ["create_subif_reply",
1935 // ["u16", "_vl_msg_id"],
1936 // ["u32", "context"],
1937 // ["i32", "retval"],
1938 // ["u32", "sw_if_index"],
1939 // {"crc" : "0x92272bcb"}
1942 type CreateSubifReply struct {
1947 func (*CreateSubifReply) GetMessageName() string {
1948 return "create_subif_reply"
1950 func (*CreateSubifReply) GetMessageType() api.MessageType {
1951 return api.ReplyMessage
1953 func (*CreateSubifReply) GetCrcString() string {
1956 func NewCreateSubifReply() api.Message {
1957 return &CreateSubifReply{}
1960 // ShowVersion represents the VPP binary API message 'show_version'.
1961 // Generated from '/usr/share/vpp/api/vpe.api.json', line 505:
1964 // ["u16", "_vl_msg_id"],
1965 // ["u32", "client_index"],
1966 // ["u32", "context"],
1967 // {"crc" : "0xf18f9480"}
1970 type ShowVersion struct {
1973 func (*ShowVersion) GetMessageName() string {
1974 return "show_version"
1976 func (*ShowVersion) GetMessageType() api.MessageType {
1977 return api.RequestMessage
1979 func (*ShowVersion) GetCrcString() string {
1982 func NewShowVersion() api.Message {
1983 return &ShowVersion{}
1986 // ShowVersionReply represents the VPP binary API message 'show_version_reply'.
1987 // Generated from '/usr/share/vpp/api/vpe.api.json', line 511:
1989 // ["show_version_reply",
1990 // ["u16", "_vl_msg_id"],
1991 // ["u32", "context"],
1992 // ["i32", "retval"],
1993 // ["u8", "program", 32],
1994 // ["u8", "version", 32],
1995 // ["u8", "build_date", 32],
1996 // ["u8", "build_directory", 256],
1997 // {"crc" : "0x83186d9e"}
2000 type ShowVersionReply struct {
2002 Program []byte `struc:"[32]byte"`
2003 Version []byte `struc:"[32]byte"`
2004 BuildDate []byte `struc:"[32]byte"`
2005 BuildDirectory []byte `struc:"[256]byte"`
2008 func (*ShowVersionReply) GetMessageName() string {
2009 return "show_version_reply"
2011 func (*ShowVersionReply) GetMessageType() api.MessageType {
2012 return api.ReplyMessage
2014 func (*ShowVersionReply) GetCrcString() string {
2017 func NewShowVersionReply() api.Message {
2018 return &ShowVersionReply{}
2021 // InterfaceNameRenumber represents the VPP binary API message 'interface_name_renumber'.
2022 // Generated from '/usr/share/vpp/api/vpe.api.json', line 521:
2024 // ["interface_name_renumber",
2025 // ["u16", "_vl_msg_id"],
2026 // ["u32", "client_index"],
2027 // ["u32", "context"],
2028 // ["u32", "sw_if_index"],
2029 // ["u32", "new_show_dev_instance"],
2030 // {"crc" : "0x11b7bcec"}
2033 type InterfaceNameRenumber struct {
2035 NewShowDevInstance uint32
2038 func (*InterfaceNameRenumber) GetMessageName() string {
2039 return "interface_name_renumber"
2041 func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
2042 return api.RequestMessage
2044 func (*InterfaceNameRenumber) GetCrcString() string {
2047 func NewInterfaceNameRenumber() api.Message {
2048 return &InterfaceNameRenumber{}
2051 // InterfaceNameRenumberReply represents the VPP binary API message 'interface_name_renumber_reply'.
2052 // Generated from '/usr/share/vpp/api/vpe.api.json', line 529:
2054 // ["interface_name_renumber_reply",
2055 // ["u16", "_vl_msg_id"],
2056 // ["u32", "context"],
2057 // ["i32", "retval"],
2058 // {"crc" : "0x31594963"}
2061 type InterfaceNameRenumberReply struct {
2065 func (*InterfaceNameRenumberReply) GetMessageName() string {
2066 return "interface_name_renumber_reply"
2068 func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
2069 return api.ReplyMessage
2071 func (*InterfaceNameRenumberReply) GetCrcString() string {
2074 func NewInterfaceNameRenumberReply() api.Message {
2075 return &InterfaceNameRenumberReply{}
2078 // WantIP4ArpEvents represents the VPP binary API message 'want_ip4_arp_events'.
2079 // Generated from '/usr/share/vpp/api/vpe.api.json', line 535:
2081 // ["want_ip4_arp_events",
2082 // ["u16", "_vl_msg_id"],
2083 // ["u32", "client_index"],
2084 // ["u32", "context"],
2085 // ["u8", "enable_disable"],
2087 // ["u32", "address"],
2088 // {"crc" : "0x5ae044c2"}
2091 type WantIP4ArpEvents struct {
2097 func (*WantIP4ArpEvents) GetMessageName() string {
2098 return "want_ip4_arp_events"
2100 func (*WantIP4ArpEvents) GetMessageType() api.MessageType {
2101 return api.RequestMessage
2103 func (*WantIP4ArpEvents) GetCrcString() string {
2106 func NewWantIP4ArpEvents() api.Message {
2107 return &WantIP4ArpEvents{}
2110 // WantIP4ArpEventsReply represents the VPP binary API message 'want_ip4_arp_events_reply'.
2111 // Generated from '/usr/share/vpp/api/vpe.api.json', line 544:
2113 // ["want_ip4_arp_events_reply",
2114 // ["u16", "_vl_msg_id"],
2115 // ["u32", "context"],
2116 // ["i32", "retval"],
2117 // {"crc" : "0xe1c0b59e"}
2120 type WantIP4ArpEventsReply struct {
2124 func (*WantIP4ArpEventsReply) GetMessageName() string {
2125 return "want_ip4_arp_events_reply"
2127 func (*WantIP4ArpEventsReply) GetMessageType() api.MessageType {
2128 return api.ReplyMessage
2130 func (*WantIP4ArpEventsReply) GetCrcString() string {
2133 func NewWantIP4ArpEventsReply() api.Message {
2134 return &WantIP4ArpEventsReply{}
2137 // IP4ArpEvent represents the VPP binary API message 'ip4_arp_event'.
2138 // Generated from '/usr/share/vpp/api/vpe.api.json', line 550:
2140 // ["ip4_arp_event",
2141 // ["u16", "_vl_msg_id"],
2142 // ["u32", "client_index"],
2143 // ["u32", "context"],
2144 // ["u32", "address"],
2146 // ["u32", "sw_if_index"],
2147 // ["u8", "new_mac", 6],
2148 // ["u8", "mac_ip"],
2149 // {"crc" : "0x7de1837b"}
2152 type IP4ArpEvent struct {
2156 NewMac []byte `struc:"[6]byte"`
2160 func (*IP4ArpEvent) GetMessageName() string {
2161 return "ip4_arp_event"
2163 func (*IP4ArpEvent) GetMessageType() api.MessageType {
2164 return api.RequestMessage
2166 func (*IP4ArpEvent) GetCrcString() string {
2169 func NewIP4ArpEvent() api.Message {
2170 return &IP4ArpEvent{}
2173 // WantIP6NdEvents represents the VPP binary API message 'want_ip6_nd_events'.
2174 // Generated from '/usr/share/vpp/api/vpe.api.json', line 561:
2176 // ["want_ip6_nd_events",
2177 // ["u16", "_vl_msg_id"],
2178 // ["u32", "client_index"],
2179 // ["u32", "context"],
2180 // ["u8", "enable_disable"],
2182 // ["u8", "address", 16],
2183 // {"crc" : "0x9586ba55"}
2186 type WantIP6NdEvents struct {
2189 Address []byte `struc:"[16]byte"`
2192 func (*WantIP6NdEvents) GetMessageName() string {
2193 return "want_ip6_nd_events"
2195 func (*WantIP6NdEvents) GetMessageType() api.MessageType {
2196 return api.RequestMessage
2198 func (*WantIP6NdEvents) GetCrcString() string {
2201 func NewWantIP6NdEvents() api.Message {
2202 return &WantIP6NdEvents{}
2205 // WantIP6NdEventsReply represents the VPP binary API message 'want_ip6_nd_events_reply'.
2206 // Generated from '/usr/share/vpp/api/vpe.api.json', line 570:
2208 // ["want_ip6_nd_events_reply",
2209 // ["u16", "_vl_msg_id"],
2210 // ["u32", "context"],
2211 // ["i32", "retval"],
2212 // {"crc" : "0x95458aad"}
2215 type WantIP6NdEventsReply struct {
2219 func (*WantIP6NdEventsReply) GetMessageName() string {
2220 return "want_ip6_nd_events_reply"
2222 func (*WantIP6NdEventsReply) GetMessageType() api.MessageType {
2223 return api.ReplyMessage
2225 func (*WantIP6NdEventsReply) GetCrcString() string {
2228 func NewWantIP6NdEventsReply() api.Message {
2229 return &WantIP6NdEventsReply{}
2232 // IP6NdEvent represents the VPP binary API message 'ip6_nd_event'.
2233 // Generated from '/usr/share/vpp/api/vpe.api.json', line 576:
2236 // ["u16", "_vl_msg_id"],
2237 // ["u32", "client_index"],
2238 // ["u32", "context"],
2240 // ["u32", "sw_if_index"],
2241 // ["u8", "address", 16],
2242 // ["u8", "new_mac", 6],
2243 // ["u8", "mac_ip"],
2244 // {"crc" : "0x777bb71c"}
2247 type IP6NdEvent struct {
2250 Address []byte `struc:"[16]byte"`
2251 NewMac []byte `struc:"[6]byte"`
2255 func (*IP6NdEvent) GetMessageName() string {
2256 return "ip6_nd_event"
2258 func (*IP6NdEvent) GetMessageType() api.MessageType {
2259 return api.RequestMessage
2261 func (*IP6NdEvent) GetCrcString() string {
2264 func NewIP6NdEvent() api.Message {
2265 return &IP6NdEvent{}
2268 // InputACLSetInterface represents the VPP binary API message 'input_acl_set_interface'.
2269 // Generated from '/usr/share/vpp/api/vpe.api.json', line 587:
2271 // ["input_acl_set_interface",
2272 // ["u16", "_vl_msg_id"],
2273 // ["u32", "client_index"],
2274 // ["u32", "context"],
2275 // ["u32", "sw_if_index"],
2276 // ["u32", "ip4_table_index"],
2277 // ["u32", "ip6_table_index"],
2278 // ["u32", "l2_table_index"],
2279 // ["u8", "is_add"],
2280 // {"crc" : "0x34d2fc33"}
2283 type InputACLSetInterface struct {
2285 IP4TableIndex uint32
2286 IP6TableIndex uint32
2291 func (*InputACLSetInterface) GetMessageName() string {
2292 return "input_acl_set_interface"
2294 func (*InputACLSetInterface) GetMessageType() api.MessageType {
2295 return api.RequestMessage
2297 func (*InputACLSetInterface) GetCrcString() string {
2300 func NewInputACLSetInterface() api.Message {
2301 return &InputACLSetInterface{}
2304 // InputACLSetInterfaceReply represents the VPP binary API message 'input_acl_set_interface_reply'.
2305 // Generated from '/usr/share/vpp/api/vpe.api.json', line 598:
2307 // ["input_acl_set_interface_reply",
2308 // ["u16", "_vl_msg_id"],
2309 // ["u32", "context"],
2310 // ["i32", "retval"],
2311 // {"crc" : "0xba0110e3"}
2314 type InputACLSetInterfaceReply struct {
2318 func (*InputACLSetInterfaceReply) GetMessageName() string {
2319 return "input_acl_set_interface_reply"
2321 func (*InputACLSetInterfaceReply) GetMessageType() api.MessageType {
2322 return api.ReplyMessage
2324 func (*InputACLSetInterfaceReply) GetCrcString() string {
2327 func NewInputACLSetInterfaceReply() api.Message {
2328 return &InputACLSetInterfaceReply{}
2331 // GetNodeGraph represents the VPP binary API message 'get_node_graph'.
2332 // Generated from '/usr/share/vpp/api/vpe.api.json', line 604:
2334 // ["get_node_graph",
2335 // ["u16", "_vl_msg_id"],
2336 // ["u32", "client_index"],
2337 // ["u32", "context"],
2338 // {"crc" : "0xf8636a76"}
2341 type GetNodeGraph struct {
2344 func (*GetNodeGraph) GetMessageName() string {
2345 return "get_node_graph"
2347 func (*GetNodeGraph) GetMessageType() api.MessageType {
2348 return api.RequestMessage
2350 func (*GetNodeGraph) GetCrcString() string {
2353 func NewGetNodeGraph() api.Message {
2354 return &GetNodeGraph{}
2357 // GetNodeGraphReply represents the VPP binary API message 'get_node_graph_reply'.
2358 // Generated from '/usr/share/vpp/api/vpe.api.json', line 610:
2360 // ["get_node_graph_reply",
2361 // ["u16", "_vl_msg_id"],
2362 // ["u32", "context"],
2363 // ["i32", "retval"],
2364 // ["u64", "reply_in_shmem"],
2365 // {"crc" : "0x816d91b6"}
2368 type GetNodeGraphReply struct {
2373 func (*GetNodeGraphReply) GetMessageName() string {
2374 return "get_node_graph_reply"
2376 func (*GetNodeGraphReply) GetMessageType() api.MessageType {
2377 return api.ReplyMessage
2379 func (*GetNodeGraphReply) GetCrcString() string {
2382 func NewGetNodeGraphReply() api.Message {
2383 return &GetNodeGraphReply{}
2386 // IoamEnable represents the VPP binary API message 'ioam_enable'.
2387 // Generated from '/usr/share/vpp/api/vpe.api.json', line 617:
2390 // ["u16", "_vl_msg_id"],
2391 // ["u32", "client_index"],
2392 // ["u32", "context"],
2395 // ["u8", "analyse"],
2396 // ["u8", "pot_enable"],
2397 // ["u8", "trace_enable"],
2398 // ["u32", "node_id"],
2399 // {"crc" : "0x7bd4abf9"}
2402 type IoamEnable struct {
2411 func (*IoamEnable) GetMessageName() string {
2412 return "ioam_enable"
2414 func (*IoamEnable) GetMessageType() api.MessageType {
2415 return api.RequestMessage
2417 func (*IoamEnable) GetCrcString() string {
2420 func NewIoamEnable() api.Message {
2421 return &IoamEnable{}
2424 // IoamEnableReply represents the VPP binary API message 'ioam_enable_reply'.
2425 // Generated from '/usr/share/vpp/api/vpe.api.json', line 629:
2427 // ["ioam_enable_reply",
2428 // ["u16", "_vl_msg_id"],
2429 // ["u32", "context"],
2430 // ["i32", "retval"],
2431 // {"crc" : "0x58a8fedc"}
2434 type IoamEnableReply struct {
2438 func (*IoamEnableReply) GetMessageName() string {
2439 return "ioam_enable_reply"
2441 func (*IoamEnableReply) GetMessageType() api.MessageType {
2442 return api.ReplyMessage
2444 func (*IoamEnableReply) GetCrcString() string {
2447 func NewIoamEnableReply() api.Message {
2448 return &IoamEnableReply{}
2451 // IoamDisable represents the VPP binary API message 'ioam_disable'.
2452 // Generated from '/usr/share/vpp/api/vpe.api.json', line 635:
2455 // ["u16", "_vl_msg_id"],
2456 // ["u32", "client_index"],
2457 // ["u32", "context"],
2459 // {"crc" : "0xaff26d33"}
2462 type IoamDisable struct {
2466 func (*IoamDisable) GetMessageName() string {
2467 return "ioam_disable"
2469 func (*IoamDisable) GetMessageType() api.MessageType {
2470 return api.RequestMessage
2472 func (*IoamDisable) GetCrcString() string {
2475 func NewIoamDisable() api.Message {
2476 return &IoamDisable{}
2479 // IoamDisableReply represents the VPP binary API message 'ioam_disable_reply'.
2480 // Generated from '/usr/share/vpp/api/vpe.api.json', line 642:
2482 // ["ioam_disable_reply",
2483 // ["u16", "_vl_msg_id"],
2484 // ["u32", "context"],
2485 // ["i32", "retval"],
2486 // {"crc" : "0xef118a9d"}
2489 type IoamDisableReply struct {
2493 func (*IoamDisableReply) GetMessageName() string {
2494 return "ioam_disable_reply"
2496 func (*IoamDisableReply) GetMessageType() api.MessageType {
2497 return api.ReplyMessage
2499 func (*IoamDisableReply) GetCrcString() string {
2502 func NewIoamDisableReply() api.Message {
2503 return &IoamDisableReply{}
2506 // GetNextIndex represents the VPP binary API message 'get_next_index'.
2507 // Generated from '/usr/share/vpp/api/vpe.api.json', line 648:
2509 // ["get_next_index",
2510 // ["u16", "_vl_msg_id"],
2511 // ["u32", "client_index"],
2512 // ["u32", "context"],
2513 // ["u8", "node_name", 64],
2514 // ["u8", "next_name", 64],
2515 // {"crc" : "0x52f0e416"}
2518 type GetNextIndex struct {
2519 NodeName []byte `struc:"[64]byte"`
2520 NextName []byte `struc:"[64]byte"`
2523 func (*GetNextIndex) GetMessageName() string {
2524 return "get_next_index"
2526 func (*GetNextIndex) GetMessageType() api.MessageType {
2527 return api.RequestMessage
2529 func (*GetNextIndex) GetCrcString() string {
2532 func NewGetNextIndex() api.Message {
2533 return &GetNextIndex{}
2536 // GetNextIndexReply represents the VPP binary API message 'get_next_index_reply'.
2537 // Generated from '/usr/share/vpp/api/vpe.api.json', line 656:
2539 // ["get_next_index_reply",
2540 // ["u16", "_vl_msg_id"],
2541 // ["u32", "context"],
2542 // ["i32", "retval"],
2543 // ["u32", "next_index"],
2544 // {"crc" : "0x671fbdb1"}
2547 type GetNextIndexReply struct {
2552 func (*GetNextIndexReply) GetMessageName() string {
2553 return "get_next_index_reply"
2555 func (*GetNextIndexReply) GetMessageType() api.MessageType {
2556 return api.ReplyMessage
2558 func (*GetNextIndexReply) GetCrcString() string {
2561 func NewGetNextIndexReply() api.Message {
2562 return &GetNextIndexReply{}
2565 // PgCreateInterface represents the VPP binary API message 'pg_create_interface'.
2566 // Generated from '/usr/share/vpp/api/vpe.api.json', line 663:
2568 // ["pg_create_interface",
2569 // ["u16", "_vl_msg_id"],
2570 // ["u32", "client_index"],
2571 // ["u32", "context"],
2572 // ["u32", "interface_id"],
2573 // {"crc" : "0x253c5959"}
2576 type PgCreateInterface struct {
2580 func (*PgCreateInterface) GetMessageName() string {
2581 return "pg_create_interface"
2583 func (*PgCreateInterface) GetMessageType() api.MessageType {
2584 return api.RequestMessage
2586 func (*PgCreateInterface) GetCrcString() string {
2589 func NewPgCreateInterface() api.Message {
2590 return &PgCreateInterface{}
2593 // PgCreateInterfaceReply represents the VPP binary API message 'pg_create_interface_reply'.
2594 // Generated from '/usr/share/vpp/api/vpe.api.json', line 670:
2596 // ["pg_create_interface_reply",
2597 // ["u16", "_vl_msg_id"],
2598 // ["u32", "context"],
2599 // ["i32", "retval"],
2600 // ["u32", "sw_if_index"],
2601 // {"crc" : "0x21b4f949"}
2604 type PgCreateInterfaceReply struct {
2609 func (*PgCreateInterfaceReply) GetMessageName() string {
2610 return "pg_create_interface_reply"
2612 func (*PgCreateInterfaceReply) GetMessageType() api.MessageType {
2613 return api.ReplyMessage
2615 func (*PgCreateInterfaceReply) GetCrcString() string {
2618 func NewPgCreateInterfaceReply() api.Message {
2619 return &PgCreateInterfaceReply{}
2622 // PgCapture represents the VPP binary API message 'pg_capture'.
2623 // Generated from '/usr/share/vpp/api/vpe.api.json', line 677:
2626 // ["u16", "_vl_msg_id"],
2627 // ["u32", "client_index"],
2628 // ["u32", "context"],
2629 // ["u32", "interface_id"],
2630 // ["u8", "is_enabled"],
2631 // ["u32", "count"],
2632 // ["u32", "pcap_name_length"],
2633 // ["u8", "pcap_file_name", 0, "pcap_name_length"],
2634 // {"crc" : "0x6ac7fe78"}
2637 type PgCapture struct {
2641 PcapNameLength uint32 `struc:"sizeof=PcapFileName"`
2645 func (*PgCapture) GetMessageName() string {
2648 func (*PgCapture) GetMessageType() api.MessageType {
2649 return api.RequestMessage
2651 func (*PgCapture) GetCrcString() string {
2654 func NewPgCapture() api.Message {
2658 // PgCaptureReply represents the VPP binary API message 'pg_capture_reply'.
2659 // Generated from '/usr/share/vpp/api/vpe.api.json', line 688:
2661 // ["pg_capture_reply",
2662 // ["u16", "_vl_msg_id"],
2663 // ["u32", "context"],
2664 // ["i32", "retval"],
2665 // {"crc" : "0xf403693b"}
2668 type PgCaptureReply struct {
2672 func (*PgCaptureReply) GetMessageName() string {
2673 return "pg_capture_reply"
2675 func (*PgCaptureReply) GetMessageType() api.MessageType {
2676 return api.ReplyMessage
2678 func (*PgCaptureReply) GetCrcString() string {
2681 func NewPgCaptureReply() api.Message {
2682 return &PgCaptureReply{}
2685 // PgEnableDisable represents the VPP binary API message 'pg_enable_disable'.
2686 // Generated from '/usr/share/vpp/api/vpe.api.json', line 694:
2688 // ["pg_enable_disable",
2689 // ["u16", "_vl_msg_id"],
2690 // ["u32", "client_index"],
2691 // ["u32", "context"],
2692 // ["u8", "is_enabled"],
2693 // ["u32", "stream_name_length"],
2694 // ["u8", "stream_name", 0, "stream_name_length"],
2695 // {"crc" : "0x7d0b90ff"}
2698 type PgEnableDisable struct {
2700 StreamNameLength uint32 `struc:"sizeof=StreamName"`
2704 func (*PgEnableDisable) GetMessageName() string {
2705 return "pg_enable_disable"
2707 func (*PgEnableDisable) GetMessageType() api.MessageType {
2708 return api.RequestMessage
2710 func (*PgEnableDisable) GetCrcString() string {
2713 func NewPgEnableDisable() api.Message {
2714 return &PgEnableDisable{}
2717 // PgEnableDisableReply represents the VPP binary API message 'pg_enable_disable_reply'.
2718 // Generated from '/usr/share/vpp/api/vpe.api.json', line 703:
2720 // ["pg_enable_disable_reply",
2721 // ["u16", "_vl_msg_id"],
2722 // ["u32", "context"],
2723 // ["i32", "retval"],
2724 // {"crc" : "0x02253bd6"}
2727 type PgEnableDisableReply struct {
2731 func (*PgEnableDisableReply) GetMessageName() string {
2732 return "pg_enable_disable_reply"
2734 func (*PgEnableDisableReply) GetMessageType() api.MessageType {
2735 return api.ReplyMessage
2737 func (*PgEnableDisableReply) GetCrcString() string {
2740 func NewPgEnableDisableReply() api.Message {
2741 return &PgEnableDisableReply{}
2744 // IPSourceAndPortRangeCheckAddDel represents the VPP binary API message 'ip_source_and_port_range_check_add_del'.
2745 // Generated from '/usr/share/vpp/api/vpe.api.json', line 709:
2747 // ["ip_source_and_port_range_check_add_del",
2748 // ["u16", "_vl_msg_id"],
2749 // ["u32", "client_index"],
2750 // ["u32", "context"],
2751 // ["u8", "is_ipv6"],
2752 // ["u8", "is_add"],
2753 // ["u8", "mask_length"],
2754 // ["u8", "address", 16],
2755 // ["u8", "number_of_ranges"],
2756 // ["u16", "low_ports", 32],
2757 // ["u16", "high_ports", 32],
2758 // ["u32", "vrf_id"],
2759 // {"crc" : "0x0f8c6ba0"}
2762 type IPSourceAndPortRangeCheckAddDel struct {
2766 Address []byte `struc:"[16]byte"`
2767 NumberOfRanges uint8
2768 LowPorts []uint16 `struc:"[32]uint16"`
2769 HighPorts []uint16 `struc:"[32]uint16"`
2773 func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string {
2774 return "ip_source_and_port_range_check_add_del"
2776 func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType {
2777 return api.RequestMessage
2779 func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string {
2782 func NewIPSourceAndPortRangeCheckAddDel() api.Message {
2783 return &IPSourceAndPortRangeCheckAddDel{}
2786 // IPSourceAndPortRangeCheckAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.
2787 // Generated from '/usr/share/vpp/api/vpe.api.json', line 723:
2789 // ["ip_source_and_port_range_check_add_del_reply",
2790 // ["u16", "_vl_msg_id"],
2791 // ["u32", "context"],
2792 // ["i32", "retval"],
2793 // {"crc" : "0x35df8160"}
2796 type IPSourceAndPortRangeCheckAddDelReply struct {
2800 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string {
2801 return "ip_source_and_port_range_check_add_del_reply"
2803 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType {
2804 return api.ReplyMessage
2806 func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string {
2809 func NewIPSourceAndPortRangeCheckAddDelReply() api.Message {
2810 return &IPSourceAndPortRangeCheckAddDelReply{}
2813 // IPSourceAndPortRangeCheckInterfaceAddDel represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.
2814 // Generated from '/usr/share/vpp/api/vpe.api.json', line 729:
2816 // ["ip_source_and_port_range_check_interface_add_del",
2817 // ["u16", "_vl_msg_id"],
2818 // ["u32", "client_index"],
2819 // ["u32", "context"],
2820 // ["u8", "is_add"],
2821 // ["u32", "sw_if_index"],
2822 // ["u32", "tcp_in_vrf_id"],
2823 // ["u32", "tcp_out_vrf_id"],
2824 // ["u32", "udp_in_vrf_id"],
2825 // ["u32", "udp_out_vrf_id"],
2826 // {"crc" : "0x4a6438f1"}
2829 type IPSourceAndPortRangeCheckInterfaceAddDel struct {
2838 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string {
2839 return "ip_source_and_port_range_check_interface_add_del"
2841 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType {
2842 return api.RequestMessage
2844 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string {
2847 func NewIPSourceAndPortRangeCheckInterfaceAddDel() api.Message {
2848 return &IPSourceAndPortRangeCheckInterfaceAddDel{}
2851 // IPSourceAndPortRangeCheckInterfaceAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.
2852 // Generated from '/usr/share/vpp/api/vpe.api.json', line 741:
2854 // ["ip_source_and_port_range_check_interface_add_del_reply",
2855 // ["u16", "_vl_msg_id"],
2856 // ["u32", "context"],
2857 // ["i32", "retval"],
2858 // {"crc" : "0x6b940f04"}
2861 type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
2865 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string {
2866 return "ip_source_and_port_range_check_interface_add_del_reply"
2868 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType {
2869 return api.ReplyMessage
2871 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string {
2874 func NewIPSourceAndPortRangeCheckInterfaceAddDelReply() api.Message {
2875 return &IPSourceAndPortRangeCheckInterfaceAddDelReply{}
2878 // DeleteSubif represents the VPP binary API message 'delete_subif'.
2879 // Generated from '/usr/share/vpp/api/vpe.api.json', line 747:
2882 // ["u16", "_vl_msg_id"],
2883 // ["u32", "client_index"],
2884 // ["u32", "context"],
2885 // ["u32", "sw_if_index"],
2886 // {"crc" : "0x6038f848"}
2889 type DeleteSubif struct {
2893 func (*DeleteSubif) GetMessageName() string {
2894 return "delete_subif"
2896 func (*DeleteSubif) GetMessageType() api.MessageType {
2897 return api.RequestMessage
2899 func (*DeleteSubif) GetCrcString() string {
2902 func NewDeleteSubif() api.Message {
2903 return &DeleteSubif{}
2906 // DeleteSubifReply represents the VPP binary API message 'delete_subif_reply'.
2907 // Generated from '/usr/share/vpp/api/vpe.api.json', line 754:
2909 // ["delete_subif_reply",
2910 // ["u16", "_vl_msg_id"],
2911 // ["u32", "context"],
2912 // ["i32", "retval"],
2913 // {"crc" : "0x9d6015dc"}
2916 type DeleteSubifReply struct {
2920 func (*DeleteSubifReply) GetMessageName() string {
2921 return "delete_subif_reply"
2923 func (*DeleteSubifReply) GetMessageType() api.MessageType {
2924 return api.ReplyMessage
2926 func (*DeleteSubifReply) GetCrcString() string {
2929 func NewDeleteSubifReply() api.Message {
2930 return &DeleteSubifReply{}
2933 // Punt represents the VPP binary API message 'punt'.
2934 // Generated from '/usr/share/vpp/api/vpe.api.json', line 760:
2937 // ["u16", "_vl_msg_id"],
2938 // ["u32", "client_index"],
2939 // ["u32", "context"],
2940 // ["u8", "is_add"],
2942 // ["u8", "l4_protocol"],
2943 // ["u16", "l4_port"],
2944 // {"crc" : "0x4559c976"}
2954 func (*Punt) GetMessageName() string {
2957 func (*Punt) GetMessageType() api.MessageType {
2958 return api.RequestMessage
2960 func (*Punt) GetCrcString() string {
2963 func NewPunt() api.Message {
2967 // PuntReply represents the VPP binary API message 'punt_reply'.
2968 // Generated from '/usr/share/vpp/api/vpe.api.json', line 770:
2971 // ["u16", "_vl_msg_id"],
2972 // ["u32", "context"],
2973 // ["i32", "retval"],
2974 // {"crc" : "0xcca27fbe"}
2977 type PuntReply struct {
2981 func (*PuntReply) GetMessageName() string {
2984 func (*PuntReply) GetMessageType() api.MessageType {
2985 return api.ReplyMessage
2987 func (*PuntReply) GetCrcString() string {
2990 func NewPuntReply() api.Message {
2994 // FeatureEnableDisable represents the VPP binary API message 'feature_enable_disable'.
2995 // Generated from '/usr/share/vpp/api/vpe.api.json', line 776:
2997 // ["feature_enable_disable",
2998 // ["u16", "_vl_msg_id"],
2999 // ["u32", "client_index"],
3000 // ["u32", "context"],
3001 // ["u32", "sw_if_index"],
3002 // ["u8", "enable"],
3003 // ["u8", "arc_name", 64],
3004 // ["u8", "feature_name", 64],
3005 // {"crc" : "0xbc86393b"}
3008 type FeatureEnableDisable struct {
3011 ArcName []byte `struc:"[64]byte"`
3012 FeatureName []byte `struc:"[64]byte"`
3015 func (*FeatureEnableDisable) GetMessageName() string {
3016 return "feature_enable_disable"
3018 func (*FeatureEnableDisable) GetMessageType() api.MessageType {
3019 return api.RequestMessage
3021 func (*FeatureEnableDisable) GetCrcString() string {
3024 func NewFeatureEnableDisable() api.Message {
3025 return &FeatureEnableDisable{}
3028 // FeatureEnableDisableReply represents the VPP binary API message 'feature_enable_disable_reply'.
3029 // Generated from '/usr/share/vpp/api/vpe.api.json', line 786:
3031 // ["feature_enable_disable_reply",
3032 // ["u16", "_vl_msg_id"],
3033 // ["u32", "context"],
3034 // ["i32", "retval"],
3035 // {"crc" : "0xf6e14373"}
3038 type FeatureEnableDisableReply struct {
3042 func (*FeatureEnableDisableReply) GetMessageName() string {
3043 return "feature_enable_disable_reply"
3045 func (*FeatureEnableDisableReply) GetMessageType() api.MessageType {
3046 return api.ReplyMessage
3048 func (*FeatureEnableDisableReply) GetCrcString() string {
3051 func NewFeatureEnableDisableReply() api.Message {
3052 return &FeatureEnableDisableReply{}