1 // Package vpe represents the VPP binary API of the 'vpe' VPP module.
2 // DO NOT EDIT. Generated from 'bin_api/vpe.api.json'
5 import "git.fd.io/govpp.git/api"
7 // VlApiVersion contains version of the API.
8 const VlAPIVersion = 0x50d987fe
10 // IP4FibCounter represents the VPP binary API data type 'ip4_fib_counter'.
11 // Generated from 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 'bin_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 // WantStats represents the VPP binary API message 'want_stats'.
402 // Generated from 'bin_api/vpe.api.json', line 106:
405 // ["u16", "_vl_msg_id"],
406 // ["u32", "client_index"],
407 // ["u32", "context"],
408 // ["u32", "enable_disable"],
410 // {"crc" : "0x4f2effb4"}
413 type WantStats struct {
418 func (*WantStats) GetMessageName() string {
421 func (*WantStats) GetMessageType() api.MessageType {
422 return api.RequestMessage
424 func (*WantStats) GetCrcString() string {
427 func NewWantStats() api.Message {
431 // WantStatsReply represents the VPP binary API message 'want_stats_reply'.
432 // Generated from 'bin_api/vpe.api.json', line 114:
434 // ["want_stats_reply",
435 // ["u16", "_vl_msg_id"],
436 // ["u32", "context"],
437 // ["i32", "retval"],
438 // {"crc" : "0xb36abf5f"}
441 type WantStatsReply struct {
445 func (*WantStatsReply) GetMessageName() string {
446 return "want_stats_reply"
448 func (*WantStatsReply) GetMessageType() api.MessageType {
449 return api.ReplyMessage
451 func (*WantStatsReply) GetCrcString() string {
454 func NewWantStatsReply() api.Message {
455 return &WantStatsReply{}
458 // VnetIP4FibCounters represents the VPP binary API message 'vnet_ip4_fib_counters'.
459 // Generated from 'bin_api/vpe.api.json', line 120:
461 // ["vnet_ip4_fib_counters",
462 // ["u16", "_vl_msg_id"],
463 // ["u32", "vrf_id"],
465 // ["vl_api_ip4_fib_counter_t", "c", 0, "count"],
466 // {"crc" : "0x1ab9d6c5"}
469 type VnetIP4FibCounters struct {
471 Count uint32 `struc:"sizeof=C"`
475 func (*VnetIP4FibCounters) GetMessageName() string {
476 return "vnet_ip4_fib_counters"
478 func (*VnetIP4FibCounters) GetMessageType() api.MessageType {
479 return api.OtherMessage
481 func (*VnetIP4FibCounters) GetCrcString() string {
484 func NewVnetIP4FibCounters() api.Message {
485 return &VnetIP4FibCounters{}
488 // VnetIP4NbrCounters represents the VPP binary API message 'vnet_ip4_nbr_counters'.
489 // Generated from 'bin_api/vpe.api.json', line 127:
491 // ["vnet_ip4_nbr_counters",
492 // ["u16", "_vl_msg_id"],
494 // ["u32", "sw_if_index"],
496 // ["vl_api_ip4_nbr_counter_t", "c", 0, "count"],
497 // {"crc" : "0xfc2b5092"}
500 type VnetIP4NbrCounters struct {
501 Count uint32 `struc:"sizeof=C"`
507 func (*VnetIP4NbrCounters) GetMessageName() string {
508 return "vnet_ip4_nbr_counters"
510 func (*VnetIP4NbrCounters) GetMessageType() api.MessageType {
511 return api.OtherMessage
513 func (*VnetIP4NbrCounters) GetCrcString() string {
516 func NewVnetIP4NbrCounters() api.Message {
517 return &VnetIP4NbrCounters{}
520 // VnetIP6FibCounters represents the VPP binary API message 'vnet_ip6_fib_counters'.
521 // Generated from 'bin_api/vpe.api.json', line 135:
523 // ["vnet_ip6_fib_counters",
524 // ["u16", "_vl_msg_id"],
525 // ["u32", "vrf_id"],
527 // ["vl_api_ip6_fib_counter_t", "c", 0, "count"],
528 // {"crc" : "0x9ab453ae"}
531 type VnetIP6FibCounters struct {
533 Count uint32 `struc:"sizeof=C"`
537 func (*VnetIP6FibCounters) GetMessageName() string {
538 return "vnet_ip6_fib_counters"
540 func (*VnetIP6FibCounters) GetMessageType() api.MessageType {
541 return api.OtherMessage
543 func (*VnetIP6FibCounters) GetCrcString() string {
546 func NewVnetIP6FibCounters() api.Message {
547 return &VnetIP6FibCounters{}
550 // VnetIP6NbrCounters represents the VPP binary API message 'vnet_ip6_nbr_counters'.
551 // Generated from 'bin_api/vpe.api.json', line 142:
553 // ["vnet_ip6_nbr_counters",
554 // ["u16", "_vl_msg_id"],
556 // ["u32", "sw_if_index"],
558 // ["vl_api_ip6_nbr_counter_t", "c", 0, "count"],
559 // {"crc" : "0x181b673f"}
562 type VnetIP6NbrCounters struct {
563 Count uint32 `struc:"sizeof=C"`
569 func (*VnetIP6NbrCounters) GetMessageName() string {
570 return "vnet_ip6_nbr_counters"
572 func (*VnetIP6NbrCounters) GetMessageType() api.MessageType {
573 return api.OtherMessage
575 func (*VnetIP6NbrCounters) GetCrcString() string {
578 func NewVnetIP6NbrCounters() api.Message {
579 return &VnetIP6NbrCounters{}
582 // VnetGetSummaryStats represents the VPP binary API message 'vnet_get_summary_stats'.
583 // Generated from 'bin_api/vpe.api.json', line 150:
585 // ["vnet_get_summary_stats",
586 // ["u16", "_vl_msg_id"],
587 // ["u32", "client_index"],
588 // ["u32", "context"],
589 // {"crc" : "0x16435c20"}
592 type VnetGetSummaryStats struct {
595 func (*VnetGetSummaryStats) GetMessageName() string {
596 return "vnet_get_summary_stats"
598 func (*VnetGetSummaryStats) GetMessageType() api.MessageType {
599 return api.RequestMessage
601 func (*VnetGetSummaryStats) GetCrcString() string {
604 func NewVnetGetSummaryStats() api.Message {
605 return &VnetGetSummaryStats{}
608 // VnetGetSummaryStatsReply represents the VPP binary API message 'vnet_get_summary_stats_reply'.
609 // Generated from 'bin_api/vpe.api.json', line 156:
611 // ["vnet_get_summary_stats_reply",
612 // ["u16", "_vl_msg_id"],
613 // ["u32", "context"],
614 // ["i32", "retval"],
615 // ["u64", "total_pkts", 2],
616 // ["u64", "total_bytes", 2],
617 // ["f64", "vector_rate"],
618 // {"crc" : "0x675ce280"}
621 type VnetGetSummaryStatsReply struct {
623 TotalPkts []uint64 `struc:"[2]uint64"`
624 TotalBytes []uint64 `struc:"[2]uint64"`
628 func (*VnetGetSummaryStatsReply) GetMessageName() string {
629 return "vnet_get_summary_stats_reply"
631 func (*VnetGetSummaryStatsReply) GetMessageType() api.MessageType {
632 return api.ReplyMessage
634 func (*VnetGetSummaryStatsReply) GetCrcString() string {
637 func NewVnetGetSummaryStatsReply() api.Message {
638 return &VnetGetSummaryStatsReply{}
641 // OamEvent represents the VPP binary API message 'oam_event'.
642 // Generated from 'bin_api/vpe.api.json', line 165:
645 // ["u16", "_vl_msg_id"],
646 // ["u8", "dst_address", 4],
648 // {"crc" : "0x4f285ade"}
651 type OamEvent struct {
652 DstAddress []byte `struc:"[4]byte"`
656 func (*OamEvent) GetMessageName() string {
659 func (*OamEvent) GetMessageType() api.MessageType {
660 return api.OtherMessage
662 func (*OamEvent) GetCrcString() string {
665 func NewOamEvent() api.Message {
669 // WantOamEvents represents the VPP binary API message 'want_oam_events'.
670 // Generated from 'bin_api/vpe.api.json', line 171:
672 // ["want_oam_events",
673 // ["u16", "_vl_msg_id"],
674 // ["u32", "client_index"],
675 // ["u32", "context"],
676 // ["u32", "enable_disable"],
678 // {"crc" : "0x948ef12a"}
681 type WantOamEvents struct {
686 func (*WantOamEvents) GetMessageName() string {
687 return "want_oam_events"
689 func (*WantOamEvents) GetMessageType() api.MessageType {
690 return api.RequestMessage
692 func (*WantOamEvents) GetCrcString() string {
695 func NewWantOamEvents() api.Message {
696 return &WantOamEvents{}
699 // WantOamEventsReply represents the VPP binary API message 'want_oam_events_reply'.
700 // Generated from 'bin_api/vpe.api.json', line 179:
702 // ["want_oam_events_reply",
703 // ["u16", "_vl_msg_id"],
704 // ["u32", "context"],
705 // ["i32", "retval"],
706 // {"crc" : "0x266a677d"}
709 type WantOamEventsReply struct {
713 func (*WantOamEventsReply) GetMessageName() string {
714 return "want_oam_events_reply"
716 func (*WantOamEventsReply) GetMessageType() api.MessageType {
717 return api.ReplyMessage
719 func (*WantOamEventsReply) GetCrcString() string {
722 func NewWantOamEventsReply() api.Message {
723 return &WantOamEventsReply{}
726 // OamAddDel represents the VPP binary API message 'oam_add_del'.
727 // Generated from 'bin_api/vpe.api.json', line 185:
730 // ["u16", "_vl_msg_id"],
731 // ["u32", "client_index"],
732 // ["u32", "context"],
733 // ["u32", "vrf_id"],
734 // ["u8", "src_address", 4],
735 // ["u8", "dst_address", 4],
737 // {"crc" : "0xb14bc7df"}
740 type OamAddDel struct {
742 SrcAddress []byte `struc:"[4]byte"`
743 DstAddress []byte `struc:"[4]byte"`
747 func (*OamAddDel) GetMessageName() string {
750 func (*OamAddDel) GetMessageType() api.MessageType {
751 return api.RequestMessage
753 func (*OamAddDel) GetCrcString() string {
756 func NewOamAddDel() api.Message {
760 // OamAddDelReply represents the VPP binary API message 'oam_add_del_reply'.
761 // Generated from 'bin_api/vpe.api.json', line 195:
763 // ["oam_add_del_reply",
764 // ["u16", "_vl_msg_id"],
765 // ["u32", "context"],
766 // ["i32", "retval"],
767 // {"crc" : "0xc5594eec"}
770 type OamAddDelReply struct {
774 func (*OamAddDelReply) GetMessageName() string {
775 return "oam_add_del_reply"
777 func (*OamAddDelReply) GetMessageType() api.MessageType {
778 return api.ReplyMessage
780 func (*OamAddDelReply) GetCrcString() string {
783 func NewOamAddDelReply() api.Message {
784 return &OamAddDelReply{}
787 // ResetFib represents the VPP binary API message 'reset_fib'.
788 // Generated from 'bin_api/vpe.api.json', line 201:
791 // ["u16", "_vl_msg_id"],
792 // ["u32", "client_index"],
793 // ["u32", "context"],
794 // ["u32", "vrf_id"],
795 // ["u8", "is_ipv6"],
796 // {"crc" : "0x6f17106b"}
799 type ResetFib struct {
804 func (*ResetFib) GetMessageName() string {
807 func (*ResetFib) GetMessageType() api.MessageType {
808 return api.RequestMessage
810 func (*ResetFib) GetCrcString() string {
813 func NewResetFib() api.Message {
817 // ResetFibReply represents the VPP binary API message 'reset_fib_reply'.
818 // Generated from 'bin_api/vpe.api.json', line 209:
820 // ["reset_fib_reply",
821 // ["u16", "_vl_msg_id"],
822 // ["u32", "context"],
823 // ["i32", "retval"],
824 // {"crc" : "0x990dcbf8"}
827 type ResetFibReply struct {
831 func (*ResetFibReply) GetMessageName() string {
832 return "reset_fib_reply"
834 func (*ResetFibReply) GetMessageType() api.MessageType {
835 return api.ReplyMessage
837 func (*ResetFibReply) GetCrcString() string {
840 func NewResetFibReply() api.Message {
841 return &ResetFibReply{}
844 // CreateLoopback represents the VPP binary API message 'create_loopback'.
845 // Generated from 'bin_api/vpe.api.json', line 215:
847 // ["create_loopback",
848 // ["u16", "_vl_msg_id"],
849 // ["u32", "client_index"],
850 // ["u32", "context"],
851 // ["u8", "mac_address", 6],
852 // {"crc" : "0xb2602de5"}
855 type CreateLoopback struct {
856 MacAddress []byte `struc:"[6]byte"`
859 func (*CreateLoopback) GetMessageName() string {
860 return "create_loopback"
862 func (*CreateLoopback) GetMessageType() api.MessageType {
863 return api.RequestMessage
865 func (*CreateLoopback) GetCrcString() string {
868 func NewCreateLoopback() api.Message {
869 return &CreateLoopback{}
872 // CreateLoopbackReply represents the VPP binary API message 'create_loopback_reply'.
873 // Generated from 'bin_api/vpe.api.json', line 222:
875 // ["create_loopback_reply",
876 // ["u16", "_vl_msg_id"],
877 // ["u32", "context"],
878 // ["i32", "retval"],
879 // ["u32", "sw_if_index"],
880 // {"crc" : "0x9520f804"}
883 type CreateLoopbackReply struct {
888 func (*CreateLoopbackReply) GetMessageName() string {
889 return "create_loopback_reply"
891 func (*CreateLoopbackReply) GetMessageType() api.MessageType {
892 return api.ReplyMessage
894 func (*CreateLoopbackReply) GetCrcString() string {
897 func NewCreateLoopbackReply() api.Message {
898 return &CreateLoopbackReply{}
901 // CreateLoopbackInstance represents the VPP binary API message 'create_loopback_instance'.
902 // Generated from 'bin_api/vpe.api.json', line 229:
904 // ["create_loopback_instance",
905 // ["u16", "_vl_msg_id"],
906 // ["u32", "client_index"],
907 // ["u32", "context"],
908 // ["u8", "mac_address", 6],
909 // ["u8", "is_specified"],
910 // ["u32", "user_instance"],
911 // {"crc" : "0x967694f1"}
914 type CreateLoopbackInstance struct {
915 MacAddress []byte `struc:"[6]byte"`
920 func (*CreateLoopbackInstance) GetMessageName() string {
921 return "create_loopback_instance"
923 func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
924 return api.RequestMessage
926 func (*CreateLoopbackInstance) GetCrcString() string {
929 func NewCreateLoopbackInstance() api.Message {
930 return &CreateLoopbackInstance{}
933 // CreateLoopbackInstanceReply represents the VPP binary API message 'create_loopback_instance_reply'.
934 // Generated from 'bin_api/vpe.api.json', line 238:
936 // ["create_loopback_instance_reply",
937 // ["u16", "_vl_msg_id"],
938 // ["u32", "context"],
939 // ["i32", "retval"],
940 // ["u32", "sw_if_index"],
941 // {"crc" : "0xd52c63b6"}
944 type CreateLoopbackInstanceReply struct {
949 func (*CreateLoopbackInstanceReply) GetMessageName() string {
950 return "create_loopback_instance_reply"
952 func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
953 return api.ReplyMessage
955 func (*CreateLoopbackInstanceReply) GetCrcString() string {
958 func NewCreateLoopbackInstanceReply() api.Message {
959 return &CreateLoopbackInstanceReply{}
962 // DeleteLoopback represents the VPP binary API message 'delete_loopback'.
963 // Generated from 'bin_api/vpe.api.json', line 245:
965 // ["delete_loopback",
966 // ["u16", "_vl_msg_id"],
967 // ["u32", "client_index"],
968 // ["u32", "context"],
969 // ["u32", "sw_if_index"],
970 // {"crc" : "0xded428b0"}
973 type DeleteLoopback struct {
977 func (*DeleteLoopback) GetMessageName() string {
978 return "delete_loopback"
980 func (*DeleteLoopback) GetMessageType() api.MessageType {
981 return api.RequestMessage
983 func (*DeleteLoopback) GetCrcString() string {
986 func NewDeleteLoopback() api.Message {
987 return &DeleteLoopback{}
990 // DeleteLoopbackReply represents the VPP binary API message 'delete_loopback_reply'.
991 // Generated from 'bin_api/vpe.api.json', line 252:
993 // ["delete_loopback_reply",
994 // ["u16", "_vl_msg_id"],
995 // ["u32", "context"],
996 // ["i32", "retval"],
997 // {"crc" : "0xc91dafa5"}
1000 type DeleteLoopbackReply struct {
1004 func (*DeleteLoopbackReply) GetMessageName() string {
1005 return "delete_loopback_reply"
1007 func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
1008 return api.ReplyMessage
1010 func (*DeleteLoopbackReply) GetCrcString() string {
1013 func NewDeleteLoopbackReply() api.Message {
1014 return &DeleteLoopbackReply{}
1017 // ControlPing represents the VPP binary API message 'control_ping'.
1018 // Generated from 'bin_api/vpe.api.json', line 258:
1021 // ["u16", "_vl_msg_id"],
1022 // ["u32", "client_index"],
1023 // ["u32", "context"],
1024 // {"crc" : "0xea1bf4f7"}
1027 type ControlPing struct {
1030 func (*ControlPing) GetMessageName() string {
1031 return "control_ping"
1033 func (*ControlPing) GetMessageType() api.MessageType {
1034 return api.RequestMessage
1036 func (*ControlPing) GetCrcString() string {
1039 func NewControlPing() api.Message {
1040 return &ControlPing{}
1043 // ControlPingReply represents the VPP binary API message 'control_ping_reply'.
1044 // Generated from 'bin_api/vpe.api.json', line 264:
1046 // ["control_ping_reply",
1047 // ["u16", "_vl_msg_id"],
1048 // ["u32", "context"],
1049 // ["i32", "retval"],
1050 // ["u32", "client_index"],
1051 // ["u32", "vpe_pid"],
1052 // {"crc" : "0xaa016e7b"}
1055 type ControlPingReply struct {
1061 func (*ControlPingReply) GetMessageName() string {
1062 return "control_ping_reply"
1064 func (*ControlPingReply) GetMessageType() api.MessageType {
1065 return api.ReplyMessage
1067 func (*ControlPingReply) GetCrcString() string {
1070 func NewControlPingReply() api.Message {
1071 return &ControlPingReply{}
1074 // Cli represents the VPP binary API message 'cli'.
1075 // Generated from 'bin_api/vpe.api.json', line 272:
1078 // ["u16", "_vl_msg_id"],
1079 // ["u32", "client_index"],
1080 // ["u32", "context"],
1081 // ["u64", "cmd_in_shmem"],
1082 // {"crc" : "0x543d8e2e"}
1089 func (*Cli) GetMessageName() string {
1092 func (*Cli) GetMessageType() api.MessageType {
1093 return api.RequestMessage
1095 func (*Cli) GetCrcString() string {
1098 func NewCli() api.Message {
1102 // CliInband represents the VPP binary API message 'cli_inband'.
1103 // Generated from 'bin_api/vpe.api.json', line 279:
1106 // ["u16", "_vl_msg_id"],
1107 // ["u32", "client_index"],
1108 // ["u32", "context"],
1109 // ["u32", "length"],
1110 // ["u8", "cmd", 0, "length"],
1111 // {"crc" : "0x22345937"}
1114 type CliInband struct {
1115 Length uint32 `struc:"sizeof=Cmd"`
1119 func (*CliInband) GetMessageName() string {
1122 func (*CliInband) GetMessageType() api.MessageType {
1123 return api.RequestMessage
1125 func (*CliInband) GetCrcString() string {
1128 func NewCliInband() api.Message {
1132 // CliReply represents the VPP binary API message 'cli_reply'.
1133 // Generated from 'bin_api/vpe.api.json', line 287:
1136 // ["u16", "_vl_msg_id"],
1137 // ["u32", "context"],
1138 // ["i32", "retval"],
1139 // ["u64", "reply_in_shmem"],
1140 // {"crc" : "0x594a0b2e"}
1143 type CliReply struct {
1148 func (*CliReply) GetMessageName() string {
1151 func (*CliReply) GetMessageType() api.MessageType {
1152 return api.ReplyMessage
1154 func (*CliReply) GetCrcString() string {
1157 func NewCliReply() api.Message {
1161 // CliInbandReply represents the VPP binary API message 'cli_inband_reply'.
1162 // Generated from 'bin_api/vpe.api.json', line 294:
1164 // ["cli_inband_reply",
1165 // ["u16", "_vl_msg_id"],
1166 // ["u32", "context"],
1167 // ["i32", "retval"],
1168 // ["u32", "length"],
1169 // ["u8", "reply", 0, "length"],
1170 // {"crc" : "0xc1835761"}
1173 type CliInbandReply struct {
1175 Length uint32 `struc:"sizeof=Reply"`
1179 func (*CliInbandReply) GetMessageName() string {
1180 return "cli_inband_reply"
1182 func (*CliInbandReply) GetMessageType() api.MessageType {
1183 return api.ReplyMessage
1185 func (*CliInbandReply) GetCrcString() string {
1188 func NewCliInbandReply() api.Message {
1189 return &CliInbandReply{}
1192 // SetArpNeighborLimit represents the VPP binary API message 'set_arp_neighbor_limit'.
1193 // Generated from 'bin_api/vpe.api.json', line 302:
1195 // ["set_arp_neighbor_limit",
1196 // ["u16", "_vl_msg_id"],
1197 // ["u32", "client_index"],
1198 // ["u32", "context"],
1199 // ["u8", "is_ipv6"],
1200 // ["u32", "arp_neighbor_limit"],
1201 // {"crc" : "0xc1690cb4"}
1204 type SetArpNeighborLimit struct {
1206 ArpNeighborLimit uint32
1209 func (*SetArpNeighborLimit) GetMessageName() string {
1210 return "set_arp_neighbor_limit"
1212 func (*SetArpNeighborLimit) GetMessageType() api.MessageType {
1213 return api.RequestMessage
1215 func (*SetArpNeighborLimit) GetCrcString() string {
1218 func NewSetArpNeighborLimit() api.Message {
1219 return &SetArpNeighborLimit{}
1222 // SetArpNeighborLimitReply represents the VPP binary API message 'set_arp_neighbor_limit_reply'.
1223 // Generated from 'bin_api/vpe.api.json', line 310:
1225 // ["set_arp_neighbor_limit_reply",
1226 // ["u16", "_vl_msg_id"],
1227 // ["u32", "context"],
1228 // ["i32", "retval"],
1229 // {"crc" : "0xa6b30518"}
1232 type SetArpNeighborLimitReply struct {
1236 func (*SetArpNeighborLimitReply) GetMessageName() string {
1237 return "set_arp_neighbor_limit_reply"
1239 func (*SetArpNeighborLimitReply) GetMessageType() api.MessageType {
1240 return api.ReplyMessage
1242 func (*SetArpNeighborLimitReply) GetCrcString() string {
1245 func NewSetArpNeighborLimitReply() api.Message {
1246 return &SetArpNeighborLimitReply{}
1249 // L2PatchAddDel represents the VPP binary API message 'l2_patch_add_del'.
1250 // Generated from 'bin_api/vpe.api.json', line 316:
1252 // ["l2_patch_add_del",
1253 // ["u16", "_vl_msg_id"],
1254 // ["u32", "client_index"],
1255 // ["u32", "context"],
1256 // ["u32", "rx_sw_if_index"],
1257 // ["u32", "tx_sw_if_index"],
1258 // ["u8", "is_add"],
1259 // {"crc" : "0x9b10029a"}
1262 type L2PatchAddDel struct {
1268 func (*L2PatchAddDel) GetMessageName() string {
1269 return "l2_patch_add_del"
1271 func (*L2PatchAddDel) GetMessageType() api.MessageType {
1272 return api.RequestMessage
1274 func (*L2PatchAddDel) GetCrcString() string {
1277 func NewL2PatchAddDel() api.Message {
1278 return &L2PatchAddDel{}
1281 // L2PatchAddDelReply represents the VPP binary API message 'l2_patch_add_del_reply'.
1282 // Generated from 'bin_api/vpe.api.json', line 325:
1284 // ["l2_patch_add_del_reply",
1285 // ["u16", "_vl_msg_id"],
1286 // ["u32", "context"],
1287 // ["i32", "retval"],
1288 // {"crc" : "0xa85e37be"}
1291 type L2PatchAddDelReply struct {
1295 func (*L2PatchAddDelReply) GetMessageName() string {
1296 return "l2_patch_add_del_reply"
1298 func (*L2PatchAddDelReply) GetMessageType() api.MessageType {
1299 return api.ReplyMessage
1301 func (*L2PatchAddDelReply) GetCrcString() string {
1304 func NewL2PatchAddDelReply() api.Message {
1305 return &L2PatchAddDelReply{}
1308 // SwInterfaceSetVpath represents the VPP binary API message 'sw_interface_set_vpath'.
1309 // Generated from 'bin_api/vpe.api.json', line 331:
1311 // ["sw_interface_set_vpath",
1312 // ["u16", "_vl_msg_id"],
1313 // ["u32", "client_index"],
1314 // ["u32", "context"],
1315 // ["u32", "sw_if_index"],
1316 // ["u8", "enable"],
1317 // {"crc" : "0x1bc2fd5e"}
1320 type SwInterfaceSetVpath struct {
1325 func (*SwInterfaceSetVpath) GetMessageName() string {
1326 return "sw_interface_set_vpath"
1328 func (*SwInterfaceSetVpath) GetMessageType() api.MessageType {
1329 return api.RequestMessage
1331 func (*SwInterfaceSetVpath) GetCrcString() string {
1334 func NewSwInterfaceSetVpath() api.Message {
1335 return &SwInterfaceSetVpath{}
1338 // SwInterfaceSetVpathReply represents the VPP binary API message 'sw_interface_set_vpath_reply'.
1339 // Generated from 'bin_api/vpe.api.json', line 339:
1341 // ["sw_interface_set_vpath_reply",
1342 // ["u16", "_vl_msg_id"],
1343 // ["u32", "context"],
1344 // ["i32", "retval"],
1345 // {"crc" : "0x828dbe62"}
1348 type SwInterfaceSetVpathReply struct {
1352 func (*SwInterfaceSetVpathReply) GetMessageName() string {
1353 return "sw_interface_set_vpath_reply"
1355 func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType {
1356 return api.ReplyMessage
1358 func (*SwInterfaceSetVpathReply) GetCrcString() string {
1361 func NewSwInterfaceSetVpathReply() api.Message {
1362 return &SwInterfaceSetVpathReply{}
1365 // SwInterfaceSetL2Xconnect represents the VPP binary API message 'sw_interface_set_l2_xconnect'.
1366 // Generated from 'bin_api/vpe.api.json', line 345:
1368 // ["sw_interface_set_l2_xconnect",
1369 // ["u16", "_vl_msg_id"],
1370 // ["u32", "client_index"],
1371 // ["u32", "context"],
1372 // ["u32", "rx_sw_if_index"],
1373 // ["u32", "tx_sw_if_index"],
1374 // ["u8", "enable"],
1375 // {"crc" : "0x48a4c4c8"}
1378 type SwInterfaceSetL2Xconnect struct {
1384 func (*SwInterfaceSetL2Xconnect) GetMessageName() string {
1385 return "sw_interface_set_l2_xconnect"
1387 func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType {
1388 return api.RequestMessage
1390 func (*SwInterfaceSetL2Xconnect) GetCrcString() string {
1393 func NewSwInterfaceSetL2Xconnect() api.Message {
1394 return &SwInterfaceSetL2Xconnect{}
1397 // SwInterfaceSetL2XconnectReply represents the VPP binary API message 'sw_interface_set_l2_xconnect_reply'.
1398 // Generated from 'bin_api/vpe.api.json', line 354:
1400 // ["sw_interface_set_l2_xconnect_reply",
1401 // ["u16", "_vl_msg_id"],
1402 // ["u32", "context"],
1403 // ["i32", "retval"],
1404 // {"crc" : "0x6e45eed4"}
1407 type SwInterfaceSetL2XconnectReply struct {
1411 func (*SwInterfaceSetL2XconnectReply) GetMessageName() string {
1412 return "sw_interface_set_l2_xconnect_reply"
1414 func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType {
1415 return api.ReplyMessage
1417 func (*SwInterfaceSetL2XconnectReply) GetCrcString() string {
1420 func NewSwInterfaceSetL2XconnectReply() api.Message {
1421 return &SwInterfaceSetL2XconnectReply{}
1424 // SwInterfaceSetL2Bridge represents the VPP binary API message 'sw_interface_set_l2_bridge'.
1425 // Generated from 'bin_api/vpe.api.json', line 360:
1427 // ["sw_interface_set_l2_bridge",
1428 // ["u16", "_vl_msg_id"],
1429 // ["u32", "client_index"],
1430 // ["u32", "context"],
1431 // ["u32", "rx_sw_if_index"],
1432 // ["u32", "bd_id"],
1435 // ["u8", "enable"],
1436 // {"crc" : "0x36c739e8"}
1439 type SwInterfaceSetL2Bridge struct {
1447 func (*SwInterfaceSetL2Bridge) GetMessageName() string {
1448 return "sw_interface_set_l2_bridge"
1450 func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType {
1451 return api.RequestMessage
1453 func (*SwInterfaceSetL2Bridge) GetCrcString() string {
1456 func NewSwInterfaceSetL2Bridge() api.Message {
1457 return &SwInterfaceSetL2Bridge{}
1460 // SwInterfaceSetL2BridgeReply represents the VPP binary API message 'sw_interface_set_l2_bridge_reply'.
1461 // Generated from 'bin_api/vpe.api.json', line 371:
1463 // ["sw_interface_set_l2_bridge_reply",
1464 // ["u16", "_vl_msg_id"],
1465 // ["u32", "context"],
1466 // ["i32", "retval"],
1467 // {"crc" : "0x347e08d9"}
1470 type SwInterfaceSetL2BridgeReply struct {
1474 func (*SwInterfaceSetL2BridgeReply) GetMessageName() string {
1475 return "sw_interface_set_l2_bridge_reply"
1477 func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType {
1478 return api.ReplyMessage
1480 func (*SwInterfaceSetL2BridgeReply) GetCrcString() string {
1483 func NewSwInterfaceSetL2BridgeReply() api.Message {
1484 return &SwInterfaceSetL2BridgeReply{}
1487 // BdIPMacAddDel represents the VPP binary API message 'bd_ip_mac_add_del'.
1488 // Generated from 'bin_api/vpe.api.json', line 377:
1490 // ["bd_ip_mac_add_del",
1491 // ["u16", "_vl_msg_id"],
1492 // ["u32", "client_index"],
1493 // ["u32", "context"],
1494 // ["u32", "bd_id"],
1495 // ["u8", "is_add"],
1496 // ["u8", "is_ipv6"],
1497 // ["u8", "ip_address", 16],
1498 // ["u8", "mac_address", 6],
1499 // {"crc" : "0xad819817"}
1502 type BdIPMacAddDel struct {
1506 IPAddress []byte `struc:"[16]byte"`
1507 MacAddress []byte `struc:"[6]byte"`
1510 func (*BdIPMacAddDel) GetMessageName() string {
1511 return "bd_ip_mac_add_del"
1513 func (*BdIPMacAddDel) GetMessageType() api.MessageType {
1514 return api.RequestMessage
1516 func (*BdIPMacAddDel) GetCrcString() string {
1519 func NewBdIPMacAddDel() api.Message {
1520 return &BdIPMacAddDel{}
1523 // BdIPMacAddDelReply represents the VPP binary API message 'bd_ip_mac_add_del_reply'.
1524 // Generated from 'bin_api/vpe.api.json', line 388:
1526 // ["bd_ip_mac_add_del_reply",
1527 // ["u16", "_vl_msg_id"],
1528 // ["u32", "context"],
1529 // ["i32", "retval"],
1530 // {"crc" : "0x55bab3b4"}
1533 type BdIPMacAddDelReply struct {
1537 func (*BdIPMacAddDelReply) GetMessageName() string {
1538 return "bd_ip_mac_add_del_reply"
1540 func (*BdIPMacAddDelReply) GetMessageType() api.MessageType {
1541 return api.ReplyMessage
1543 func (*BdIPMacAddDelReply) GetCrcString() string {
1546 func NewBdIPMacAddDelReply() api.Message {
1547 return &BdIPMacAddDelReply{}
1550 // ClassifySetInterfaceIPTable represents the VPP binary API message 'classify_set_interface_ip_table'.
1551 // Generated from 'bin_api/vpe.api.json', line 394:
1553 // ["classify_set_interface_ip_table",
1554 // ["u16", "_vl_msg_id"],
1555 // ["u32", "client_index"],
1556 // ["u32", "context"],
1557 // ["u8", "is_ipv6"],
1558 // ["u32", "sw_if_index"],
1559 // ["u32", "table_index"],
1560 // {"crc" : "0x0dc45308"}
1563 type ClassifySetInterfaceIPTable struct {
1569 func (*ClassifySetInterfaceIPTable) GetMessageName() string {
1570 return "classify_set_interface_ip_table"
1572 func (*ClassifySetInterfaceIPTable) GetMessageType() api.MessageType {
1573 return api.RequestMessage
1575 func (*ClassifySetInterfaceIPTable) GetCrcString() string {
1578 func NewClassifySetInterfaceIPTable() api.Message {
1579 return &ClassifySetInterfaceIPTable{}
1582 // ClassifySetInterfaceIPTableReply represents the VPP binary API message 'classify_set_interface_ip_table_reply'.
1583 // Generated from 'bin_api/vpe.api.json', line 403:
1585 // ["classify_set_interface_ip_table_reply",
1586 // ["u16", "_vl_msg_id"],
1587 // ["u32", "context"],
1588 // ["i32", "retval"],
1589 // {"crc" : "0xdc391c34"}
1592 type ClassifySetInterfaceIPTableReply struct {
1596 func (*ClassifySetInterfaceIPTableReply) GetMessageName() string {
1597 return "classify_set_interface_ip_table_reply"
1599 func (*ClassifySetInterfaceIPTableReply) GetMessageType() api.MessageType {
1600 return api.ReplyMessage
1602 func (*ClassifySetInterfaceIPTableReply) GetCrcString() string {
1605 func NewClassifySetInterfaceIPTableReply() api.Message {
1606 return &ClassifySetInterfaceIPTableReply{}
1609 // ClassifySetInterfaceL2Tables represents the VPP binary API message 'classify_set_interface_l2_tables'.
1610 // Generated from 'bin_api/vpe.api.json', line 409:
1612 // ["classify_set_interface_l2_tables",
1613 // ["u16", "_vl_msg_id"],
1614 // ["u32", "client_index"],
1615 // ["u32", "context"],
1616 // ["u32", "sw_if_index"],
1617 // ["u32", "ip4_table_index"],
1618 // ["u32", "ip6_table_index"],
1619 // ["u32", "other_table_index"],
1620 // ["u8", "is_input"],
1621 // {"crc" : "0xed9ccf0d"}
1624 type ClassifySetInterfaceL2Tables struct {
1626 IP4TableIndex uint32
1627 IP6TableIndex uint32
1628 OtherTableIndex uint32
1632 func (*ClassifySetInterfaceL2Tables) GetMessageName() string {
1633 return "classify_set_interface_l2_tables"
1635 func (*ClassifySetInterfaceL2Tables) GetMessageType() api.MessageType {
1636 return api.RequestMessage
1638 func (*ClassifySetInterfaceL2Tables) GetCrcString() string {
1641 func NewClassifySetInterfaceL2Tables() api.Message {
1642 return &ClassifySetInterfaceL2Tables{}
1645 // ClassifySetInterfaceL2TablesReply represents the VPP binary API message 'classify_set_interface_l2_tables_reply'.
1646 // Generated from 'bin_api/vpe.api.json', line 420:
1648 // ["classify_set_interface_l2_tables_reply",
1649 // ["u16", "_vl_msg_id"],
1650 // ["u32", "context"],
1651 // ["i32", "retval"],
1652 // {"crc" : "0x8df20579"}
1655 type ClassifySetInterfaceL2TablesReply struct {
1659 func (*ClassifySetInterfaceL2TablesReply) GetMessageName() string {
1660 return "classify_set_interface_l2_tables_reply"
1662 func (*ClassifySetInterfaceL2TablesReply) GetMessageType() api.MessageType {
1663 return api.ReplyMessage
1665 func (*ClassifySetInterfaceL2TablesReply) GetCrcString() string {
1668 func NewClassifySetInterfaceL2TablesReply() api.Message {
1669 return &ClassifySetInterfaceL2TablesReply{}
1672 // GetNodeIndex represents the VPP binary API message 'get_node_index'.
1673 // Generated from 'bin_api/vpe.api.json', line 426:
1675 // ["get_node_index",
1676 // ["u16", "_vl_msg_id"],
1677 // ["u32", "client_index"],
1678 // ["u32", "context"],
1679 // ["u8", "node_name", 64],
1680 // {"crc" : "0x226d3f8c"}
1683 type GetNodeIndex struct {
1684 NodeName []byte `struc:"[64]byte"`
1687 func (*GetNodeIndex) GetMessageName() string {
1688 return "get_node_index"
1690 func (*GetNodeIndex) GetMessageType() api.MessageType {
1691 return api.RequestMessage
1693 func (*GetNodeIndex) GetCrcString() string {
1696 func NewGetNodeIndex() api.Message {
1697 return &GetNodeIndex{}
1700 // GetNodeIndexReply represents the VPP binary API message 'get_node_index_reply'.
1701 // Generated from 'bin_api/vpe.api.json', line 433:
1703 // ["get_node_index_reply",
1704 // ["u16", "_vl_msg_id"],
1705 // ["u32", "context"],
1706 // ["i32", "retval"],
1707 // ["u32", "node_index"],
1708 // {"crc" : "0x29116865"}
1711 type GetNodeIndexReply struct {
1716 func (*GetNodeIndexReply) GetMessageName() string {
1717 return "get_node_index_reply"
1719 func (*GetNodeIndexReply) GetMessageType() api.MessageType {
1720 return api.ReplyMessage
1722 func (*GetNodeIndexReply) GetCrcString() string {
1725 func NewGetNodeIndexReply() api.Message {
1726 return &GetNodeIndexReply{}
1729 // AddNodeNext represents the VPP binary API message 'add_node_next'.
1730 // Generated from 'bin_api/vpe.api.json', line 440:
1732 // ["add_node_next",
1733 // ["u16", "_vl_msg_id"],
1734 // ["u32", "client_index"],
1735 // ["u32", "context"],
1736 // ["u8", "node_name", 64],
1737 // ["u8", "next_name", 64],
1738 // {"crc" : "0xe4202993"}
1741 type AddNodeNext struct {
1742 NodeName []byte `struc:"[64]byte"`
1743 NextName []byte `struc:"[64]byte"`
1746 func (*AddNodeNext) GetMessageName() string {
1747 return "add_node_next"
1749 func (*AddNodeNext) GetMessageType() api.MessageType {
1750 return api.RequestMessage
1752 func (*AddNodeNext) GetCrcString() string {
1755 func NewAddNodeNext() api.Message {
1756 return &AddNodeNext{}
1759 // AddNodeNextReply represents the VPP binary API message 'add_node_next_reply'.
1760 // Generated from 'bin_api/vpe.api.json', line 448:
1762 // ["add_node_next_reply",
1763 // ["u16", "_vl_msg_id"],
1764 // ["u32", "context"],
1765 // ["i32", "retval"],
1766 // ["u32", "next_index"],
1767 // {"crc" : "0xe89d6eed"}
1770 type AddNodeNextReply struct {
1775 func (*AddNodeNextReply) GetMessageName() string {
1776 return "add_node_next_reply"
1778 func (*AddNodeNextReply) GetMessageType() api.MessageType {
1779 return api.ReplyMessage
1781 func (*AddNodeNextReply) GetCrcString() string {
1784 func NewAddNodeNextReply() api.Message {
1785 return &AddNodeNextReply{}
1788 // L2InterfaceEfpFilter represents the VPP binary API message 'l2_interface_efp_filter'.
1789 // Generated from 'bin_api/vpe.api.json', line 455:
1791 // ["l2_interface_efp_filter",
1792 // ["u16", "_vl_msg_id"],
1793 // ["u32", "client_index"],
1794 // ["u32", "context"],
1795 // ["u32", "sw_if_index"],
1796 // ["u32", "enable_disable"],
1797 // {"crc" : "0x07c9d601"}
1800 type L2InterfaceEfpFilter struct {
1802 EnableDisable uint32
1805 func (*L2InterfaceEfpFilter) GetMessageName() string {
1806 return "l2_interface_efp_filter"
1808 func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType {
1809 return api.RequestMessage
1811 func (*L2InterfaceEfpFilter) GetCrcString() string {
1814 func NewL2InterfaceEfpFilter() api.Message {
1815 return &L2InterfaceEfpFilter{}
1818 // L2InterfaceEfpFilterReply represents the VPP binary API message 'l2_interface_efp_filter_reply'.
1819 // Generated from 'bin_api/vpe.api.json', line 463:
1821 // ["l2_interface_efp_filter_reply",
1822 // ["u16", "_vl_msg_id"],
1823 // ["u32", "context"],
1824 // ["i32", "retval"],
1825 // {"crc" : "0x0f4bb0c0"}
1828 type L2InterfaceEfpFilterReply struct {
1832 func (*L2InterfaceEfpFilterReply) GetMessageName() string {
1833 return "l2_interface_efp_filter_reply"
1835 func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType {
1836 return api.ReplyMessage
1838 func (*L2InterfaceEfpFilterReply) GetCrcString() string {
1841 func NewL2InterfaceEfpFilterReply() api.Message {
1842 return &L2InterfaceEfpFilterReply{}
1845 // CreateSubif represents the VPP binary API message 'create_subif'.
1846 // Generated from 'bin_api/vpe.api.json', line 469:
1849 // ["u16", "_vl_msg_id"],
1850 // ["u32", "client_index"],
1851 // ["u32", "context"],
1852 // ["u32", "sw_if_index"],
1853 // ["u32", "sub_id"],
1854 // ["u8", "no_tags"],
1855 // ["u8", "one_tag"],
1856 // ["u8", "two_tags"],
1857 // ["u8", "dot1ad"],
1858 // ["u8", "exact_match"],
1859 // ["u8", "default_sub"],
1860 // ["u8", "outer_vlan_id_any"],
1861 // ["u8", "inner_vlan_id_any"],
1862 // ["u16", "outer_vlan_id"],
1863 // ["u16", "inner_vlan_id"],
1864 // {"crc" : "0x150e6757"}
1867 type CreateSubif struct {
1876 OuterVlanIDAny uint8
1877 InnerVlanIDAny uint8
1882 func (*CreateSubif) GetMessageName() string {
1883 return "create_subif"
1885 func (*CreateSubif) GetMessageType() api.MessageType {
1886 return api.RequestMessage
1888 func (*CreateSubif) GetCrcString() string {
1891 func NewCreateSubif() api.Message {
1892 return &CreateSubif{}
1895 // CreateSubifReply represents the VPP binary API message 'create_subif_reply'.
1896 // Generated from 'bin_api/vpe.api.json', line 487:
1898 // ["create_subif_reply",
1899 // ["u16", "_vl_msg_id"],
1900 // ["u32", "context"],
1901 // ["i32", "retval"],
1902 // ["u32", "sw_if_index"],
1903 // {"crc" : "0x92272bcb"}
1906 type CreateSubifReply struct {
1911 func (*CreateSubifReply) GetMessageName() string {
1912 return "create_subif_reply"
1914 func (*CreateSubifReply) GetMessageType() api.MessageType {
1915 return api.ReplyMessage
1917 func (*CreateSubifReply) GetCrcString() string {
1920 func NewCreateSubifReply() api.Message {
1921 return &CreateSubifReply{}
1924 // ShowVersion represents the VPP binary API message 'show_version'.
1925 // Generated from 'bin_api/vpe.api.json', line 494:
1928 // ["u16", "_vl_msg_id"],
1929 // ["u32", "client_index"],
1930 // ["u32", "context"],
1931 // {"crc" : "0xf18f9480"}
1934 type ShowVersion struct {
1937 func (*ShowVersion) GetMessageName() string {
1938 return "show_version"
1940 func (*ShowVersion) GetMessageType() api.MessageType {
1941 return api.RequestMessage
1943 func (*ShowVersion) GetCrcString() string {
1946 func NewShowVersion() api.Message {
1947 return &ShowVersion{}
1950 // ShowVersionReply represents the VPP binary API message 'show_version_reply'.
1951 // Generated from 'bin_api/vpe.api.json', line 500:
1953 // ["show_version_reply",
1954 // ["u16", "_vl_msg_id"],
1955 // ["u32", "context"],
1956 // ["i32", "retval"],
1957 // ["u8", "program", 32],
1958 // ["u8", "version", 32],
1959 // ["u8", "build_date", 32],
1960 // ["u8", "build_directory", 256],
1961 // {"crc" : "0x83186d9e"}
1964 type ShowVersionReply struct {
1966 Program []byte `struc:"[32]byte"`
1967 Version []byte `struc:"[32]byte"`
1968 BuildDate []byte `struc:"[32]byte"`
1969 BuildDirectory []byte `struc:"[256]byte"`
1972 func (*ShowVersionReply) GetMessageName() string {
1973 return "show_version_reply"
1975 func (*ShowVersionReply) GetMessageType() api.MessageType {
1976 return api.ReplyMessage
1978 func (*ShowVersionReply) GetCrcString() string {
1981 func NewShowVersionReply() api.Message {
1982 return &ShowVersionReply{}
1985 // InterfaceNameRenumber represents the VPP binary API message 'interface_name_renumber'.
1986 // Generated from 'bin_api/vpe.api.json', line 510:
1988 // ["interface_name_renumber",
1989 // ["u16", "_vl_msg_id"],
1990 // ["u32", "client_index"],
1991 // ["u32", "context"],
1992 // ["u32", "sw_if_index"],
1993 // ["u32", "new_show_dev_instance"],
1994 // {"crc" : "0x11b7bcec"}
1997 type InterfaceNameRenumber struct {
1999 NewShowDevInstance uint32
2002 func (*InterfaceNameRenumber) GetMessageName() string {
2003 return "interface_name_renumber"
2005 func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
2006 return api.RequestMessage
2008 func (*InterfaceNameRenumber) GetCrcString() string {
2011 func NewInterfaceNameRenumber() api.Message {
2012 return &InterfaceNameRenumber{}
2015 // InterfaceNameRenumberReply represents the VPP binary API message 'interface_name_renumber_reply'.
2016 // Generated from 'bin_api/vpe.api.json', line 518:
2018 // ["interface_name_renumber_reply",
2019 // ["u16", "_vl_msg_id"],
2020 // ["u32", "context"],
2021 // ["i32", "retval"],
2022 // {"crc" : "0x31594963"}
2025 type InterfaceNameRenumberReply struct {
2029 func (*InterfaceNameRenumberReply) GetMessageName() string {
2030 return "interface_name_renumber_reply"
2032 func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
2033 return api.ReplyMessage
2035 func (*InterfaceNameRenumberReply) GetCrcString() string {
2038 func NewInterfaceNameRenumberReply() api.Message {
2039 return &InterfaceNameRenumberReply{}
2042 // WantIP4ArpEvents represents the VPP binary API message 'want_ip4_arp_events'.
2043 // Generated from 'bin_api/vpe.api.json', line 524:
2045 // ["want_ip4_arp_events",
2046 // ["u16", "_vl_msg_id"],
2047 // ["u32", "client_index"],
2048 // ["u32", "context"],
2049 // ["u8", "enable_disable"],
2051 // ["u32", "address"],
2052 // {"crc" : "0x5ae044c2"}
2055 type WantIP4ArpEvents struct {
2061 func (*WantIP4ArpEvents) GetMessageName() string {
2062 return "want_ip4_arp_events"
2064 func (*WantIP4ArpEvents) GetMessageType() api.MessageType {
2065 return api.RequestMessage
2067 func (*WantIP4ArpEvents) GetCrcString() string {
2070 func NewWantIP4ArpEvents() api.Message {
2071 return &WantIP4ArpEvents{}
2074 // WantIP4ArpEventsReply represents the VPP binary API message 'want_ip4_arp_events_reply'.
2075 // Generated from 'bin_api/vpe.api.json', line 533:
2077 // ["want_ip4_arp_events_reply",
2078 // ["u16", "_vl_msg_id"],
2079 // ["u32", "context"],
2080 // ["i32", "retval"],
2081 // {"crc" : "0xe1c0b59e"}
2084 type WantIP4ArpEventsReply struct {
2088 func (*WantIP4ArpEventsReply) GetMessageName() string {
2089 return "want_ip4_arp_events_reply"
2091 func (*WantIP4ArpEventsReply) GetMessageType() api.MessageType {
2092 return api.ReplyMessage
2094 func (*WantIP4ArpEventsReply) GetCrcString() string {
2097 func NewWantIP4ArpEventsReply() api.Message {
2098 return &WantIP4ArpEventsReply{}
2101 // IP4ArpEvent represents the VPP binary API message 'ip4_arp_event'.
2102 // Generated from 'bin_api/vpe.api.json', line 539:
2104 // ["ip4_arp_event",
2105 // ["u16", "_vl_msg_id"],
2106 // ["u32", "client_index"],
2107 // ["u32", "context"],
2108 // ["u32", "address"],
2110 // ["u32", "sw_if_index"],
2111 // ["u8", "new_mac", 6],
2112 // ["u8", "mac_ip"],
2113 // {"crc" : "0x7de1837b"}
2116 type IP4ArpEvent struct {
2120 NewMac []byte `struc:"[6]byte"`
2124 func (*IP4ArpEvent) GetMessageName() string {
2125 return "ip4_arp_event"
2127 func (*IP4ArpEvent) GetMessageType() api.MessageType {
2128 return api.RequestMessage
2130 func (*IP4ArpEvent) GetCrcString() string {
2133 func NewIP4ArpEvent() api.Message {
2134 return &IP4ArpEvent{}
2137 // WantIP6NdEvents represents the VPP binary API message 'want_ip6_nd_events'.
2138 // Generated from 'bin_api/vpe.api.json', line 550:
2140 // ["want_ip6_nd_events",
2141 // ["u16", "_vl_msg_id"],
2142 // ["u32", "client_index"],
2143 // ["u32", "context"],
2144 // ["u8", "enable_disable"],
2146 // ["u8", "address", 16],
2147 // {"crc" : "0x9586ba55"}
2150 type WantIP6NdEvents struct {
2153 Address []byte `struc:"[16]byte"`
2156 func (*WantIP6NdEvents) GetMessageName() string {
2157 return "want_ip6_nd_events"
2159 func (*WantIP6NdEvents) GetMessageType() api.MessageType {
2160 return api.RequestMessage
2162 func (*WantIP6NdEvents) GetCrcString() string {
2165 func NewWantIP6NdEvents() api.Message {
2166 return &WantIP6NdEvents{}
2169 // WantIP6NdEventsReply represents the VPP binary API message 'want_ip6_nd_events_reply'.
2170 // Generated from 'bin_api/vpe.api.json', line 559:
2172 // ["want_ip6_nd_events_reply",
2173 // ["u16", "_vl_msg_id"],
2174 // ["u32", "context"],
2175 // ["i32", "retval"],
2176 // {"crc" : "0x95458aad"}
2179 type WantIP6NdEventsReply struct {
2183 func (*WantIP6NdEventsReply) GetMessageName() string {
2184 return "want_ip6_nd_events_reply"
2186 func (*WantIP6NdEventsReply) GetMessageType() api.MessageType {
2187 return api.ReplyMessage
2189 func (*WantIP6NdEventsReply) GetCrcString() string {
2192 func NewWantIP6NdEventsReply() api.Message {
2193 return &WantIP6NdEventsReply{}
2196 // IP6NdEvent represents the VPP binary API message 'ip6_nd_event'.
2197 // Generated from 'bin_api/vpe.api.json', line 565:
2200 // ["u16", "_vl_msg_id"],
2201 // ["u32", "client_index"],
2202 // ["u32", "context"],
2204 // ["u32", "sw_if_index"],
2205 // ["u8", "address", 16],
2206 // ["u8", "new_mac", 6],
2207 // ["u8", "mac_ip"],
2208 // {"crc" : "0x777bb71c"}
2211 type IP6NdEvent struct {
2214 Address []byte `struc:"[16]byte"`
2215 NewMac []byte `struc:"[6]byte"`
2219 func (*IP6NdEvent) GetMessageName() string {
2220 return "ip6_nd_event"
2222 func (*IP6NdEvent) GetMessageType() api.MessageType {
2223 return api.RequestMessage
2225 func (*IP6NdEvent) GetCrcString() string {
2228 func NewIP6NdEvent() api.Message {
2229 return &IP6NdEvent{}
2232 // InputACLSetInterface represents the VPP binary API message 'input_acl_set_interface'.
2233 // Generated from 'bin_api/vpe.api.json', line 576:
2235 // ["input_acl_set_interface",
2236 // ["u16", "_vl_msg_id"],
2237 // ["u32", "client_index"],
2238 // ["u32", "context"],
2239 // ["u32", "sw_if_index"],
2240 // ["u32", "ip4_table_index"],
2241 // ["u32", "ip6_table_index"],
2242 // ["u32", "l2_table_index"],
2243 // ["u8", "is_add"],
2244 // {"crc" : "0x34d2fc33"}
2247 type InputACLSetInterface struct {
2249 IP4TableIndex uint32
2250 IP6TableIndex uint32
2255 func (*InputACLSetInterface) GetMessageName() string {
2256 return "input_acl_set_interface"
2258 func (*InputACLSetInterface) GetMessageType() api.MessageType {
2259 return api.RequestMessage
2261 func (*InputACLSetInterface) GetCrcString() string {
2264 func NewInputACLSetInterface() api.Message {
2265 return &InputACLSetInterface{}
2268 // InputACLSetInterfaceReply represents the VPP binary API message 'input_acl_set_interface_reply'.
2269 // Generated from 'bin_api/vpe.api.json', line 587:
2271 // ["input_acl_set_interface_reply",
2272 // ["u16", "_vl_msg_id"],
2273 // ["u32", "context"],
2274 // ["i32", "retval"],
2275 // {"crc" : "0xba0110e3"}
2278 type InputACLSetInterfaceReply struct {
2282 func (*InputACLSetInterfaceReply) GetMessageName() string {
2283 return "input_acl_set_interface_reply"
2285 func (*InputACLSetInterfaceReply) GetMessageType() api.MessageType {
2286 return api.ReplyMessage
2288 func (*InputACLSetInterfaceReply) GetCrcString() string {
2291 func NewInputACLSetInterfaceReply() api.Message {
2292 return &InputACLSetInterfaceReply{}
2295 // GetNodeGraph represents the VPP binary API message 'get_node_graph'.
2296 // Generated from 'bin_api/vpe.api.json', line 593:
2298 // ["get_node_graph",
2299 // ["u16", "_vl_msg_id"],
2300 // ["u32", "client_index"],
2301 // ["u32", "context"],
2302 // {"crc" : "0xf8636a76"}
2305 type GetNodeGraph struct {
2308 func (*GetNodeGraph) GetMessageName() string {
2309 return "get_node_graph"
2311 func (*GetNodeGraph) GetMessageType() api.MessageType {
2312 return api.RequestMessage
2314 func (*GetNodeGraph) GetCrcString() string {
2317 func NewGetNodeGraph() api.Message {
2318 return &GetNodeGraph{}
2321 // GetNodeGraphReply represents the VPP binary API message 'get_node_graph_reply'.
2322 // Generated from 'bin_api/vpe.api.json', line 599:
2324 // ["get_node_graph_reply",
2325 // ["u16", "_vl_msg_id"],
2326 // ["u32", "context"],
2327 // ["i32", "retval"],
2328 // ["u64", "reply_in_shmem"],
2329 // {"crc" : "0x816d91b6"}
2332 type GetNodeGraphReply struct {
2337 func (*GetNodeGraphReply) GetMessageName() string {
2338 return "get_node_graph_reply"
2340 func (*GetNodeGraphReply) GetMessageType() api.MessageType {
2341 return api.ReplyMessage
2343 func (*GetNodeGraphReply) GetCrcString() string {
2346 func NewGetNodeGraphReply() api.Message {
2347 return &GetNodeGraphReply{}
2350 // IoamEnable represents the VPP binary API message 'ioam_enable'.
2351 // Generated from 'bin_api/vpe.api.json', line 606:
2354 // ["u16", "_vl_msg_id"],
2355 // ["u32", "client_index"],
2356 // ["u32", "context"],
2359 // ["u8", "analyse"],
2360 // ["u8", "pot_enable"],
2361 // ["u8", "trace_enable"],
2362 // ["u32", "node_id"],
2363 // {"crc" : "0x7bd4abf9"}
2366 type IoamEnable struct {
2375 func (*IoamEnable) GetMessageName() string {
2376 return "ioam_enable"
2378 func (*IoamEnable) GetMessageType() api.MessageType {
2379 return api.RequestMessage
2381 func (*IoamEnable) GetCrcString() string {
2384 func NewIoamEnable() api.Message {
2385 return &IoamEnable{}
2388 // IoamEnableReply represents the VPP binary API message 'ioam_enable_reply'.
2389 // Generated from 'bin_api/vpe.api.json', line 618:
2391 // ["ioam_enable_reply",
2392 // ["u16", "_vl_msg_id"],
2393 // ["u32", "context"],
2394 // ["i32", "retval"],
2395 // {"crc" : "0x58a8fedc"}
2398 type IoamEnableReply struct {
2402 func (*IoamEnableReply) GetMessageName() string {
2403 return "ioam_enable_reply"
2405 func (*IoamEnableReply) GetMessageType() api.MessageType {
2406 return api.ReplyMessage
2408 func (*IoamEnableReply) GetCrcString() string {
2411 func NewIoamEnableReply() api.Message {
2412 return &IoamEnableReply{}
2415 // IoamDisable represents the VPP binary API message 'ioam_disable'.
2416 // Generated from 'bin_api/vpe.api.json', line 624:
2419 // ["u16", "_vl_msg_id"],
2420 // ["u32", "client_index"],
2421 // ["u32", "context"],
2423 // {"crc" : "0xaff26d33"}
2426 type IoamDisable struct {
2430 func (*IoamDisable) GetMessageName() string {
2431 return "ioam_disable"
2433 func (*IoamDisable) GetMessageType() api.MessageType {
2434 return api.RequestMessage
2436 func (*IoamDisable) GetCrcString() string {
2439 func NewIoamDisable() api.Message {
2440 return &IoamDisable{}
2443 // IoamDisableReply represents the VPP binary API message 'ioam_disable_reply'.
2444 // Generated from 'bin_api/vpe.api.json', line 631:
2446 // ["ioam_disable_reply",
2447 // ["u16", "_vl_msg_id"],
2448 // ["u32", "context"],
2449 // ["i32", "retval"],
2450 // {"crc" : "0xef118a9d"}
2453 type IoamDisableReply struct {
2457 func (*IoamDisableReply) GetMessageName() string {
2458 return "ioam_disable_reply"
2460 func (*IoamDisableReply) GetMessageType() api.MessageType {
2461 return api.ReplyMessage
2463 func (*IoamDisableReply) GetCrcString() string {
2466 func NewIoamDisableReply() api.Message {
2467 return &IoamDisableReply{}
2470 // GetNextIndex represents the VPP binary API message 'get_next_index'.
2471 // Generated from 'bin_api/vpe.api.json', line 637:
2473 // ["get_next_index",
2474 // ["u16", "_vl_msg_id"],
2475 // ["u32", "client_index"],
2476 // ["u32", "context"],
2477 // ["u8", "node_name", 64],
2478 // ["u8", "next_name", 64],
2479 // {"crc" : "0x52f0e416"}
2482 type GetNextIndex struct {
2483 NodeName []byte `struc:"[64]byte"`
2484 NextName []byte `struc:"[64]byte"`
2487 func (*GetNextIndex) GetMessageName() string {
2488 return "get_next_index"
2490 func (*GetNextIndex) GetMessageType() api.MessageType {
2491 return api.RequestMessage
2493 func (*GetNextIndex) GetCrcString() string {
2496 func NewGetNextIndex() api.Message {
2497 return &GetNextIndex{}
2500 // GetNextIndexReply represents the VPP binary API message 'get_next_index_reply'.
2501 // Generated from 'bin_api/vpe.api.json', line 645:
2503 // ["get_next_index_reply",
2504 // ["u16", "_vl_msg_id"],
2505 // ["u32", "context"],
2506 // ["i32", "retval"],
2507 // ["u32", "next_index"],
2508 // {"crc" : "0x671fbdb1"}
2511 type GetNextIndexReply struct {
2516 func (*GetNextIndexReply) GetMessageName() string {
2517 return "get_next_index_reply"
2519 func (*GetNextIndexReply) GetMessageType() api.MessageType {
2520 return api.ReplyMessage
2522 func (*GetNextIndexReply) GetCrcString() string {
2525 func NewGetNextIndexReply() api.Message {
2526 return &GetNextIndexReply{}
2529 // PgCreateInterface represents the VPP binary API message 'pg_create_interface'.
2530 // Generated from 'bin_api/vpe.api.json', line 652:
2532 // ["pg_create_interface",
2533 // ["u16", "_vl_msg_id"],
2534 // ["u32", "client_index"],
2535 // ["u32", "context"],
2536 // ["u32", "interface_id"],
2537 // {"crc" : "0x253c5959"}
2540 type PgCreateInterface struct {
2544 func (*PgCreateInterface) GetMessageName() string {
2545 return "pg_create_interface"
2547 func (*PgCreateInterface) GetMessageType() api.MessageType {
2548 return api.RequestMessage
2550 func (*PgCreateInterface) GetCrcString() string {
2553 func NewPgCreateInterface() api.Message {
2554 return &PgCreateInterface{}
2557 // PgCreateInterfaceReply represents the VPP binary API message 'pg_create_interface_reply'.
2558 // Generated from 'bin_api/vpe.api.json', line 659:
2560 // ["pg_create_interface_reply",
2561 // ["u16", "_vl_msg_id"],
2562 // ["u32", "context"],
2563 // ["i32", "retval"],
2564 // ["u32", "sw_if_index"],
2565 // {"crc" : "0x21b4f949"}
2568 type PgCreateInterfaceReply struct {
2573 func (*PgCreateInterfaceReply) GetMessageName() string {
2574 return "pg_create_interface_reply"
2576 func (*PgCreateInterfaceReply) GetMessageType() api.MessageType {
2577 return api.ReplyMessage
2579 func (*PgCreateInterfaceReply) GetCrcString() string {
2582 func NewPgCreateInterfaceReply() api.Message {
2583 return &PgCreateInterfaceReply{}
2586 // PgCapture represents the VPP binary API message 'pg_capture'.
2587 // Generated from 'bin_api/vpe.api.json', line 666:
2590 // ["u16", "_vl_msg_id"],
2591 // ["u32", "client_index"],
2592 // ["u32", "context"],
2593 // ["u32", "interface_id"],
2594 // ["u8", "is_enabled"],
2595 // ["u32", "count"],
2596 // ["u32", "pcap_name_length"],
2597 // ["u8", "pcap_file_name", 0, "pcap_name_length"],
2598 // {"crc" : "0x6ac7fe78"}
2601 type PgCapture struct {
2605 PcapNameLength uint32 `struc:"sizeof=PcapFileName"`
2609 func (*PgCapture) GetMessageName() string {
2612 func (*PgCapture) GetMessageType() api.MessageType {
2613 return api.RequestMessage
2615 func (*PgCapture) GetCrcString() string {
2618 func NewPgCapture() api.Message {
2622 // PgCaptureReply represents the VPP binary API message 'pg_capture_reply'.
2623 // Generated from 'bin_api/vpe.api.json', line 677:
2625 // ["pg_capture_reply",
2626 // ["u16", "_vl_msg_id"],
2627 // ["u32", "context"],
2628 // ["i32", "retval"],
2629 // {"crc" : "0xf403693b"}
2632 type PgCaptureReply struct {
2636 func (*PgCaptureReply) GetMessageName() string {
2637 return "pg_capture_reply"
2639 func (*PgCaptureReply) GetMessageType() api.MessageType {
2640 return api.ReplyMessage
2642 func (*PgCaptureReply) GetCrcString() string {
2645 func NewPgCaptureReply() api.Message {
2646 return &PgCaptureReply{}
2649 // PgEnableDisable represents the VPP binary API message 'pg_enable_disable'.
2650 // Generated from 'bin_api/vpe.api.json', line 683:
2652 // ["pg_enable_disable",
2653 // ["u16", "_vl_msg_id"],
2654 // ["u32", "client_index"],
2655 // ["u32", "context"],
2656 // ["u8", "is_enabled"],
2657 // ["u32", "stream_name_length"],
2658 // ["u8", "stream_name", 0, "stream_name_length"],
2659 // {"crc" : "0x7d0b90ff"}
2662 type PgEnableDisable struct {
2664 StreamNameLength uint32 `struc:"sizeof=StreamName"`
2668 func (*PgEnableDisable) GetMessageName() string {
2669 return "pg_enable_disable"
2671 func (*PgEnableDisable) GetMessageType() api.MessageType {
2672 return api.RequestMessage
2674 func (*PgEnableDisable) GetCrcString() string {
2677 func NewPgEnableDisable() api.Message {
2678 return &PgEnableDisable{}
2681 // PgEnableDisableReply represents the VPP binary API message 'pg_enable_disable_reply'.
2682 // Generated from 'bin_api/vpe.api.json', line 692:
2684 // ["pg_enable_disable_reply",
2685 // ["u16", "_vl_msg_id"],
2686 // ["u32", "context"],
2687 // ["i32", "retval"],
2688 // {"crc" : "0x02253bd6"}
2691 type PgEnableDisableReply struct {
2695 func (*PgEnableDisableReply) GetMessageName() string {
2696 return "pg_enable_disable_reply"
2698 func (*PgEnableDisableReply) GetMessageType() api.MessageType {
2699 return api.ReplyMessage
2701 func (*PgEnableDisableReply) GetCrcString() string {
2704 func NewPgEnableDisableReply() api.Message {
2705 return &PgEnableDisableReply{}
2708 // IPSourceAndPortRangeCheckAddDel represents the VPP binary API message 'ip_source_and_port_range_check_add_del'.
2709 // Generated from 'bin_api/vpe.api.json', line 698:
2711 // ["ip_source_and_port_range_check_add_del",
2712 // ["u16", "_vl_msg_id"],
2713 // ["u32", "client_index"],
2714 // ["u32", "context"],
2715 // ["u8", "is_ipv6"],
2716 // ["u8", "is_add"],
2717 // ["u8", "mask_length"],
2718 // ["u8", "address", 16],
2719 // ["u8", "number_of_ranges"],
2720 // ["u16", "low_ports", 32],
2721 // ["u16", "high_ports", 32],
2722 // ["u32", "vrf_id"],
2723 // {"crc" : "0x0f8c6ba0"}
2726 type IPSourceAndPortRangeCheckAddDel struct {
2730 Address []byte `struc:"[16]byte"`
2731 NumberOfRanges uint8
2732 LowPorts []uint16 `struc:"[32]uint16"`
2733 HighPorts []uint16 `struc:"[32]uint16"`
2737 func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string {
2738 return "ip_source_and_port_range_check_add_del"
2740 func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType {
2741 return api.RequestMessage
2743 func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string {
2746 func NewIPSourceAndPortRangeCheckAddDel() api.Message {
2747 return &IPSourceAndPortRangeCheckAddDel{}
2750 // IPSourceAndPortRangeCheckAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.
2751 // Generated from 'bin_api/vpe.api.json', line 712:
2753 // ["ip_source_and_port_range_check_add_del_reply",
2754 // ["u16", "_vl_msg_id"],
2755 // ["u32", "context"],
2756 // ["i32", "retval"],
2757 // {"crc" : "0x35df8160"}
2760 type IPSourceAndPortRangeCheckAddDelReply struct {
2764 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string {
2765 return "ip_source_and_port_range_check_add_del_reply"
2767 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType {
2768 return api.ReplyMessage
2770 func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string {
2773 func NewIPSourceAndPortRangeCheckAddDelReply() api.Message {
2774 return &IPSourceAndPortRangeCheckAddDelReply{}
2777 // IPSourceAndPortRangeCheckInterfaceAddDel represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.
2778 // Generated from 'bin_api/vpe.api.json', line 718:
2780 // ["ip_source_and_port_range_check_interface_add_del",
2781 // ["u16", "_vl_msg_id"],
2782 // ["u32", "client_index"],
2783 // ["u32", "context"],
2784 // ["u8", "is_add"],
2785 // ["u32", "sw_if_index"],
2786 // ["u32", "tcp_in_vrf_id"],
2787 // ["u32", "tcp_out_vrf_id"],
2788 // ["u32", "udp_in_vrf_id"],
2789 // ["u32", "udp_out_vrf_id"],
2790 // {"crc" : "0x4a6438f1"}
2793 type IPSourceAndPortRangeCheckInterfaceAddDel struct {
2802 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string {
2803 return "ip_source_and_port_range_check_interface_add_del"
2805 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType {
2806 return api.RequestMessage
2808 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string {
2811 func NewIPSourceAndPortRangeCheckInterfaceAddDel() api.Message {
2812 return &IPSourceAndPortRangeCheckInterfaceAddDel{}
2815 // IPSourceAndPortRangeCheckInterfaceAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.
2816 // Generated from 'bin_api/vpe.api.json', line 730:
2818 // ["ip_source_and_port_range_check_interface_add_del_reply",
2819 // ["u16", "_vl_msg_id"],
2820 // ["u32", "context"],
2821 // ["i32", "retval"],
2822 // {"crc" : "0x6b940f04"}
2825 type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
2829 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string {
2830 return "ip_source_and_port_range_check_interface_add_del_reply"
2832 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType {
2833 return api.ReplyMessage
2835 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string {
2838 func NewIPSourceAndPortRangeCheckInterfaceAddDelReply() api.Message {
2839 return &IPSourceAndPortRangeCheckInterfaceAddDelReply{}
2842 // DeleteSubif represents the VPP binary API message 'delete_subif'.
2843 // Generated from 'bin_api/vpe.api.json', line 736:
2846 // ["u16", "_vl_msg_id"],
2847 // ["u32", "client_index"],
2848 // ["u32", "context"],
2849 // ["u32", "sw_if_index"],
2850 // {"crc" : "0x6038f848"}
2853 type DeleteSubif struct {
2857 func (*DeleteSubif) GetMessageName() string {
2858 return "delete_subif"
2860 func (*DeleteSubif) GetMessageType() api.MessageType {
2861 return api.RequestMessage
2863 func (*DeleteSubif) GetCrcString() string {
2866 func NewDeleteSubif() api.Message {
2867 return &DeleteSubif{}
2870 // DeleteSubifReply represents the VPP binary API message 'delete_subif_reply'.
2871 // Generated from 'bin_api/vpe.api.json', line 743:
2873 // ["delete_subif_reply",
2874 // ["u16", "_vl_msg_id"],
2875 // ["u32", "context"],
2876 // ["i32", "retval"],
2877 // {"crc" : "0x9d6015dc"}
2880 type DeleteSubifReply struct {
2884 func (*DeleteSubifReply) GetMessageName() string {
2885 return "delete_subif_reply"
2887 func (*DeleteSubifReply) GetMessageType() api.MessageType {
2888 return api.ReplyMessage
2890 func (*DeleteSubifReply) GetCrcString() string {
2893 func NewDeleteSubifReply() api.Message {
2894 return &DeleteSubifReply{}
2897 // Punt represents the VPP binary API message 'punt'.
2898 // Generated from 'bin_api/vpe.api.json', line 749:
2901 // ["u16", "_vl_msg_id"],
2902 // ["u32", "client_index"],
2903 // ["u32", "context"],
2904 // ["u8", "is_add"],
2906 // ["u8", "l4_protocol"],
2907 // ["u16", "l4_port"],
2908 // {"crc" : "0x4559c976"}
2918 func (*Punt) GetMessageName() string {
2921 func (*Punt) GetMessageType() api.MessageType {
2922 return api.RequestMessage
2924 func (*Punt) GetCrcString() string {
2927 func NewPunt() api.Message {
2931 // PuntReply represents the VPP binary API message 'punt_reply'.
2932 // Generated from 'bin_api/vpe.api.json', line 759:
2935 // ["u16", "_vl_msg_id"],
2936 // ["u32", "context"],
2937 // ["i32", "retval"],
2938 // {"crc" : "0xcca27fbe"}
2941 type PuntReply struct {
2945 func (*PuntReply) GetMessageName() string {
2948 func (*PuntReply) GetMessageType() api.MessageType {
2949 return api.ReplyMessage
2951 func (*PuntReply) GetCrcString() string {
2954 func NewPuntReply() api.Message {
2958 // FeatureEnableDisable represents the VPP binary API message 'feature_enable_disable'.
2959 // Generated from 'bin_api/vpe.api.json', line 765:
2961 // ["feature_enable_disable",
2962 // ["u16", "_vl_msg_id"],
2963 // ["u32", "client_index"],
2964 // ["u32", "context"],
2965 // ["u32", "sw_if_index"],
2966 // ["u8", "enable"],
2967 // ["u8", "arc_name", 64],
2968 // ["u8", "feature_name", 64],
2969 // {"crc" : "0xbc86393b"}
2972 type FeatureEnableDisable struct {
2975 ArcName []byte `struc:"[64]byte"`
2976 FeatureName []byte `struc:"[64]byte"`
2979 func (*FeatureEnableDisable) GetMessageName() string {
2980 return "feature_enable_disable"
2982 func (*FeatureEnableDisable) GetMessageType() api.MessageType {
2983 return api.RequestMessage
2985 func (*FeatureEnableDisable) GetCrcString() string {
2988 func NewFeatureEnableDisable() api.Message {
2989 return &FeatureEnableDisable{}
2992 // FeatureEnableDisableReply represents the VPP binary API message 'feature_enable_disable_reply'.
2993 // Generated from 'bin_api/vpe.api.json', line 775:
2995 // ["feature_enable_disable_reply",
2996 // ["u16", "_vl_msg_id"],
2997 // ["u32", "context"],
2998 // ["i32", "retval"],
2999 // {"crc" : "0xf6e14373"}
3002 type FeatureEnableDisableReply struct {
3006 func (*FeatureEnableDisableReply) GetMessageName() string {
3007 return "feature_enable_disable_reply"
3009 func (*FeatureEnableDisableReply) GetMessageType() api.MessageType {
3010 return api.ReplyMessage
3012 func (*FeatureEnableDisableReply) GetCrcString() string {
3015 func NewFeatureEnableDisableReply() api.Message {
3016 return &FeatureEnableDisableReply{}