1 // Code generated by govpp binapi-generator DO NOT EDIT.
2 // Package vpe represents the VPP binary API of the 'vpe' VPP module.
3 // Generated from 'bin_api/vpe.api.json'
6 import "git.fd.io/govpp.git/api"
8 // VlApiVersion contains version of the API.
9 const VlAPIVersion = 0x50d987fe
11 // IP4FibCounter represents the VPP binary API data type 'ip4_fib_counter'.
12 // Generated from 'bin_api/vpe.api.json', line 3:
14 // ["ip4_fib_counter",
15 // ["u32", "address"],
16 // ["u8", "address_length"],
17 // ["u64", "packets"],
19 // {"crc" : "0xb2739495"}
22 type IP4FibCounter struct {
29 func (*IP4FibCounter) GetTypeName() string {
30 return "ip4_fib_counter"
32 func (*IP4FibCounter) GetCrcString() string {
36 // IP4NbrCounter represents the VPP binary API data type 'ip4_nbr_counter'.
37 // Generated from 'bin_api/vpe.api.json', line 10:
39 // ["ip4_nbr_counter",
40 // ["u32", "address"],
41 // ["u8", "link_type"],
42 // ["u64", "packets"],
44 // {"crc" : "0x487e2e85"}
47 type IP4NbrCounter struct {
54 func (*IP4NbrCounter) GetTypeName() string {
55 return "ip4_nbr_counter"
57 func (*IP4NbrCounter) GetCrcString() string {
61 // IP6FibCounter represents the VPP binary API data type 'ip6_fib_counter'.
62 // Generated from 'bin_api/vpe.api.json', line 17:
64 // ["ip6_fib_counter",
65 // ["u64", "address", 2],
66 // ["u8", "address_length"],
67 // ["u64", "packets"],
69 // {"crc" : "0xcf35769b"}
72 type IP6FibCounter struct {
73 Address []uint64 `struc:"[2]uint64"`
79 func (*IP6FibCounter) GetTypeName() string {
80 return "ip6_fib_counter"
82 func (*IP6FibCounter) GetCrcString() string {
86 // IP6NbrCounter represents the VPP binary API data type 'ip6_nbr_counter'.
87 // Generated from 'bin_api/vpe.api.json', line 24:
89 // ["ip6_nbr_counter",
90 // ["u64", "address", 2],
91 // ["u8", "link_type"],
92 // ["u64", "packets"],
94 // {"crc" : "0xefca741e"}
97 type IP6NbrCounter struct {
98 Address []uint64 `struc:"[2]uint64"`
104 func (*IP6NbrCounter) GetTypeName() string {
105 return "ip6_nbr_counter"
107 func (*IP6NbrCounter) GetCrcString() string {
111 // CreateVlanSubif represents the VPP binary API message 'create_vlan_subif'.
112 // Generated from 'bin_api/vpe.api.json', line 33:
114 // ["create_vlan_subif",
115 // ["u16", "_vl_msg_id"],
116 // ["u32", "client_index"],
117 // ["u32", "context"],
118 // ["u32", "sw_if_index"],
119 // ["u32", "vlan_id"],
120 // {"crc" : "0xaf9ae1e9"}
123 type CreateVlanSubif struct {
128 func (*CreateVlanSubif) GetMessageName() string {
129 return "create_vlan_subif"
131 func (*CreateVlanSubif) GetMessageType() api.MessageType {
132 return api.RequestMessage
134 func (*CreateVlanSubif) GetCrcString() string {
137 func NewCreateVlanSubif() api.Message {
138 return &CreateVlanSubif{}
141 // CreateVlanSubifReply represents the VPP binary API message 'create_vlan_subif_reply'.
142 // Generated from 'bin_api/vpe.api.json', line 41:
144 // ["create_vlan_subif_reply",
145 // ["u16", "_vl_msg_id"],
146 // ["u32", "context"],
147 // ["i32", "retval"],
148 // ["u32", "sw_if_index"],
149 // {"crc" : "0x8f36b888"}
152 type CreateVlanSubifReply struct {
157 func (*CreateVlanSubifReply) GetMessageName() string {
158 return "create_vlan_subif_reply"
160 func (*CreateVlanSubifReply) GetMessageType() api.MessageType {
161 return api.ReplyMessage
163 func (*CreateVlanSubifReply) GetCrcString() string {
166 func NewCreateVlanSubifReply() api.Message {
167 return &CreateVlanSubifReply{}
170 // SwInterfaceSetMplsEnable represents the VPP binary API message 'sw_interface_set_mpls_enable'.
171 // Generated from 'bin_api/vpe.api.json', line 48:
173 // ["sw_interface_set_mpls_enable",
174 // ["u16", "_vl_msg_id"],
175 // ["u32", "client_index"],
176 // ["u32", "context"],
177 // ["u32", "sw_if_index"],
179 // {"crc" : "0x37f6357e"}
182 type SwInterfaceSetMplsEnable struct {
187 func (*SwInterfaceSetMplsEnable) GetMessageName() string {
188 return "sw_interface_set_mpls_enable"
190 func (*SwInterfaceSetMplsEnable) GetMessageType() api.MessageType {
191 return api.RequestMessage
193 func (*SwInterfaceSetMplsEnable) GetCrcString() string {
196 func NewSwInterfaceSetMplsEnable() api.Message {
197 return &SwInterfaceSetMplsEnable{}
200 // SwInterfaceSetMplsEnableReply represents the VPP binary API message 'sw_interface_set_mpls_enable_reply'.
201 // Generated from 'bin_api/vpe.api.json', line 56:
203 // ["sw_interface_set_mpls_enable_reply",
204 // ["u16", "_vl_msg_id"],
205 // ["u32", "context"],
206 // ["i32", "retval"],
207 // {"crc" : "0x5ffd3ca9"}
210 type SwInterfaceSetMplsEnableReply struct {
214 func (*SwInterfaceSetMplsEnableReply) GetMessageName() string {
215 return "sw_interface_set_mpls_enable_reply"
217 func (*SwInterfaceSetMplsEnableReply) GetMessageType() api.MessageType {
218 return api.ReplyMessage
220 func (*SwInterfaceSetMplsEnableReply) GetCrcString() string {
223 func NewSwInterfaceSetMplsEnableReply() api.Message {
224 return &SwInterfaceSetMplsEnableReply{}
227 // ProxyArpAddDel represents the VPP binary API message 'proxy_arp_add_del'.
228 // Generated from 'bin_api/vpe.api.json', line 62:
230 // ["proxy_arp_add_del",
231 // ["u16", "_vl_msg_id"],
232 // ["u32", "client_index"],
233 // ["u32", "context"],
234 // ["u32", "vrf_id"],
236 // ["u8", "low_address", 4],
237 // ["u8", "hi_address", 4],
238 // {"crc" : "0x4bef9951"}
241 type ProxyArpAddDel struct {
244 LowAddress []byte `struc:"[4]byte"`
245 HiAddress []byte `struc:"[4]byte"`
248 func (*ProxyArpAddDel) GetMessageName() string {
249 return "proxy_arp_add_del"
251 func (*ProxyArpAddDel) GetMessageType() api.MessageType {
252 return api.RequestMessage
254 func (*ProxyArpAddDel) GetCrcString() string {
257 func NewProxyArpAddDel() api.Message {
258 return &ProxyArpAddDel{}
261 // ProxyArpAddDelReply represents the VPP binary API message 'proxy_arp_add_del_reply'.
262 // Generated from 'bin_api/vpe.api.json', line 72:
264 // ["proxy_arp_add_del_reply",
265 // ["u16", "_vl_msg_id"],
266 // ["u32", "context"],
267 // ["i32", "retval"],
268 // {"crc" : "0x8e2d621d"}
271 type ProxyArpAddDelReply struct {
275 func (*ProxyArpAddDelReply) GetMessageName() string {
276 return "proxy_arp_add_del_reply"
278 func (*ProxyArpAddDelReply) GetMessageType() api.MessageType {
279 return api.ReplyMessage
281 func (*ProxyArpAddDelReply) GetCrcString() string {
284 func NewProxyArpAddDelReply() api.Message {
285 return &ProxyArpAddDelReply{}
288 // ProxyArpIntfcEnableDisable represents the VPP binary API message 'proxy_arp_intfc_enable_disable'.
289 // Generated from 'bin_api/vpe.api.json', line 78:
291 // ["proxy_arp_intfc_enable_disable",
292 // ["u16", "_vl_msg_id"],
293 // ["u32", "client_index"],
294 // ["u32", "context"],
295 // ["u32", "sw_if_index"],
296 // ["u8", "enable_disable"],
297 // {"crc" : "0x3ee1998e"}
300 type ProxyArpIntfcEnableDisable struct {
305 func (*ProxyArpIntfcEnableDisable) GetMessageName() string {
306 return "proxy_arp_intfc_enable_disable"
308 func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType {
309 return api.RequestMessage
311 func (*ProxyArpIntfcEnableDisable) GetCrcString() string {
314 func NewProxyArpIntfcEnableDisable() api.Message {
315 return &ProxyArpIntfcEnableDisable{}
318 // ProxyArpIntfcEnableDisableReply represents the VPP binary API message 'proxy_arp_intfc_enable_disable_reply'.
319 // Generated from 'bin_api/vpe.api.json', line 86:
321 // ["proxy_arp_intfc_enable_disable_reply",
322 // ["u16", "_vl_msg_id"],
323 // ["u32", "context"],
324 // ["i32", "retval"],
325 // {"crc" : "0x23d273cd"}
328 type ProxyArpIntfcEnableDisableReply struct {
332 func (*ProxyArpIntfcEnableDisableReply) GetMessageName() string {
333 return "proxy_arp_intfc_enable_disable_reply"
335 func (*ProxyArpIntfcEnableDisableReply) GetMessageType() api.MessageType {
336 return api.ReplyMessage
338 func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string {
341 func NewProxyArpIntfcEnableDisableReply() api.Message {
342 return &ProxyArpIntfcEnableDisableReply{}
345 // ResetVrf represents the VPP binary API message 'reset_vrf'.
346 // Generated from 'bin_api/vpe.api.json', line 92:
349 // ["u16", "_vl_msg_id"],
350 // ["u32", "client_index"],
351 // ["u32", "context"],
352 // ["u8", "is_ipv6"],
353 // ["u32", "vrf_id"],
354 // {"crc" : "0xeb07deb0"}
357 type ResetVrf struct {
362 func (*ResetVrf) GetMessageName() string {
365 func (*ResetVrf) GetMessageType() api.MessageType {
366 return api.RequestMessage
368 func (*ResetVrf) GetCrcString() string {
371 func NewResetVrf() api.Message {
375 // ResetVrfReply represents the VPP binary API message 'reset_vrf_reply'.
376 // Generated from 'bin_api/vpe.api.json', line 100:
378 // ["reset_vrf_reply",
379 // ["u16", "_vl_msg_id"],
380 // ["u32", "context"],
381 // ["i32", "retval"],
382 // {"crc" : "0x5f283863"}
385 type ResetVrfReply struct {
389 func (*ResetVrfReply) GetMessageName() string {
390 return "reset_vrf_reply"
392 func (*ResetVrfReply) GetMessageType() api.MessageType {
393 return api.ReplyMessage
395 func (*ResetVrfReply) GetCrcString() string {
398 func NewResetVrfReply() api.Message {
399 return &ResetVrfReply{}
402 // WantStats represents the VPP binary API message 'want_stats'.
403 // Generated from 'bin_api/vpe.api.json', line 106:
406 // ["u16", "_vl_msg_id"],
407 // ["u32", "client_index"],
408 // ["u32", "context"],
409 // ["u32", "enable_disable"],
411 // {"crc" : "0x4f2effb4"}
414 type WantStats struct {
419 func (*WantStats) GetMessageName() string {
422 func (*WantStats) GetMessageType() api.MessageType {
423 return api.RequestMessage
425 func (*WantStats) GetCrcString() string {
428 func NewWantStats() api.Message {
432 // WantStatsReply represents the VPP binary API message 'want_stats_reply'.
433 // Generated from 'bin_api/vpe.api.json', line 114:
435 // ["want_stats_reply",
436 // ["u16", "_vl_msg_id"],
437 // ["u32", "context"],
438 // ["i32", "retval"],
439 // {"crc" : "0xb36abf5f"}
442 type WantStatsReply struct {
446 func (*WantStatsReply) GetMessageName() string {
447 return "want_stats_reply"
449 func (*WantStatsReply) GetMessageType() api.MessageType {
450 return api.ReplyMessage
452 func (*WantStatsReply) GetCrcString() string {
455 func NewWantStatsReply() api.Message {
456 return &WantStatsReply{}
459 // VnetIP4FibCounters represents the VPP binary API message 'vnet_ip4_fib_counters'.
460 // Generated from 'bin_api/vpe.api.json', line 120:
462 // ["vnet_ip4_fib_counters",
463 // ["u16", "_vl_msg_id"],
464 // ["u32", "vrf_id"],
466 // ["vl_api_ip4_fib_counter_t", "c", 0, "count"],
467 // {"crc" : "0x1ab9d6c5"}
470 type VnetIP4FibCounters struct {
472 Count uint32 `struc:"sizeof=C"`
476 func (*VnetIP4FibCounters) GetMessageName() string {
477 return "vnet_ip4_fib_counters"
479 func (*VnetIP4FibCounters) GetMessageType() api.MessageType {
480 return api.OtherMessage
482 func (*VnetIP4FibCounters) GetCrcString() string {
485 func NewVnetIP4FibCounters() api.Message {
486 return &VnetIP4FibCounters{}
489 // VnetIP4NbrCounters represents the VPP binary API message 'vnet_ip4_nbr_counters'.
490 // Generated from 'bin_api/vpe.api.json', line 127:
492 // ["vnet_ip4_nbr_counters",
493 // ["u16", "_vl_msg_id"],
495 // ["u32", "sw_if_index"],
497 // ["vl_api_ip4_nbr_counter_t", "c", 0, "count"],
498 // {"crc" : "0xfc2b5092"}
501 type VnetIP4NbrCounters struct {
502 Count uint32 `struc:"sizeof=C"`
508 func (*VnetIP4NbrCounters) GetMessageName() string {
509 return "vnet_ip4_nbr_counters"
511 func (*VnetIP4NbrCounters) GetMessageType() api.MessageType {
512 return api.OtherMessage
514 func (*VnetIP4NbrCounters) GetCrcString() string {
517 func NewVnetIP4NbrCounters() api.Message {
518 return &VnetIP4NbrCounters{}
521 // VnetIP6FibCounters represents the VPP binary API message 'vnet_ip6_fib_counters'.
522 // Generated from 'bin_api/vpe.api.json', line 135:
524 // ["vnet_ip6_fib_counters",
525 // ["u16", "_vl_msg_id"],
526 // ["u32", "vrf_id"],
528 // ["vl_api_ip6_fib_counter_t", "c", 0, "count"],
529 // {"crc" : "0x9ab453ae"}
532 type VnetIP6FibCounters struct {
534 Count uint32 `struc:"sizeof=C"`
538 func (*VnetIP6FibCounters) GetMessageName() string {
539 return "vnet_ip6_fib_counters"
541 func (*VnetIP6FibCounters) GetMessageType() api.MessageType {
542 return api.OtherMessage
544 func (*VnetIP6FibCounters) GetCrcString() string {
547 func NewVnetIP6FibCounters() api.Message {
548 return &VnetIP6FibCounters{}
551 // VnetIP6NbrCounters represents the VPP binary API message 'vnet_ip6_nbr_counters'.
552 // Generated from 'bin_api/vpe.api.json', line 142:
554 // ["vnet_ip6_nbr_counters",
555 // ["u16", "_vl_msg_id"],
557 // ["u32", "sw_if_index"],
559 // ["vl_api_ip6_nbr_counter_t", "c", 0, "count"],
560 // {"crc" : "0x181b673f"}
563 type VnetIP6NbrCounters struct {
564 Count uint32 `struc:"sizeof=C"`
570 func (*VnetIP6NbrCounters) GetMessageName() string {
571 return "vnet_ip6_nbr_counters"
573 func (*VnetIP6NbrCounters) GetMessageType() api.MessageType {
574 return api.OtherMessage
576 func (*VnetIP6NbrCounters) GetCrcString() string {
579 func NewVnetIP6NbrCounters() api.Message {
580 return &VnetIP6NbrCounters{}
583 // VnetGetSummaryStats represents the VPP binary API message 'vnet_get_summary_stats'.
584 // Generated from 'bin_api/vpe.api.json', line 150:
586 // ["vnet_get_summary_stats",
587 // ["u16", "_vl_msg_id"],
588 // ["u32", "client_index"],
589 // ["u32", "context"],
590 // {"crc" : "0x16435c20"}
593 type VnetGetSummaryStats struct {
596 func (*VnetGetSummaryStats) GetMessageName() string {
597 return "vnet_get_summary_stats"
599 func (*VnetGetSummaryStats) GetMessageType() api.MessageType {
600 return api.RequestMessage
602 func (*VnetGetSummaryStats) GetCrcString() string {
605 func NewVnetGetSummaryStats() api.Message {
606 return &VnetGetSummaryStats{}
609 // VnetGetSummaryStatsReply represents the VPP binary API message 'vnet_get_summary_stats_reply'.
610 // Generated from 'bin_api/vpe.api.json', line 156:
612 // ["vnet_get_summary_stats_reply",
613 // ["u16", "_vl_msg_id"],
614 // ["u32", "context"],
615 // ["i32", "retval"],
616 // ["u64", "total_pkts", 2],
617 // ["u64", "total_bytes", 2],
618 // ["f64", "vector_rate"],
619 // {"crc" : "0x675ce280"}
622 type VnetGetSummaryStatsReply struct {
624 TotalPkts []uint64 `struc:"[2]uint64"`
625 TotalBytes []uint64 `struc:"[2]uint64"`
629 func (*VnetGetSummaryStatsReply) GetMessageName() string {
630 return "vnet_get_summary_stats_reply"
632 func (*VnetGetSummaryStatsReply) GetMessageType() api.MessageType {
633 return api.ReplyMessage
635 func (*VnetGetSummaryStatsReply) GetCrcString() string {
638 func NewVnetGetSummaryStatsReply() api.Message {
639 return &VnetGetSummaryStatsReply{}
642 // OamEvent represents the VPP binary API message 'oam_event'.
643 // Generated from 'bin_api/vpe.api.json', line 165:
646 // ["u16", "_vl_msg_id"],
647 // ["u8", "dst_address", 4],
649 // {"crc" : "0x4f285ade"}
652 type OamEvent struct {
653 DstAddress []byte `struc:"[4]byte"`
657 func (*OamEvent) GetMessageName() string {
660 func (*OamEvent) GetMessageType() api.MessageType {
661 return api.OtherMessage
663 func (*OamEvent) GetCrcString() string {
666 func NewOamEvent() api.Message {
670 // WantOamEvents represents the VPP binary API message 'want_oam_events'.
671 // Generated from 'bin_api/vpe.api.json', line 171:
673 // ["want_oam_events",
674 // ["u16", "_vl_msg_id"],
675 // ["u32", "client_index"],
676 // ["u32", "context"],
677 // ["u32", "enable_disable"],
679 // {"crc" : "0x948ef12a"}
682 type WantOamEvents struct {
687 func (*WantOamEvents) GetMessageName() string {
688 return "want_oam_events"
690 func (*WantOamEvents) GetMessageType() api.MessageType {
691 return api.RequestMessage
693 func (*WantOamEvents) GetCrcString() string {
696 func NewWantOamEvents() api.Message {
697 return &WantOamEvents{}
700 // WantOamEventsReply represents the VPP binary API message 'want_oam_events_reply'.
701 // Generated from 'bin_api/vpe.api.json', line 179:
703 // ["want_oam_events_reply",
704 // ["u16", "_vl_msg_id"],
705 // ["u32", "context"],
706 // ["i32", "retval"],
707 // {"crc" : "0x266a677d"}
710 type WantOamEventsReply struct {
714 func (*WantOamEventsReply) GetMessageName() string {
715 return "want_oam_events_reply"
717 func (*WantOamEventsReply) GetMessageType() api.MessageType {
718 return api.ReplyMessage
720 func (*WantOamEventsReply) GetCrcString() string {
723 func NewWantOamEventsReply() api.Message {
724 return &WantOamEventsReply{}
727 // OamAddDel represents the VPP binary API message 'oam_add_del'.
728 // Generated from 'bin_api/vpe.api.json', line 185:
731 // ["u16", "_vl_msg_id"],
732 // ["u32", "client_index"],
733 // ["u32", "context"],
734 // ["u32", "vrf_id"],
735 // ["u8", "src_address", 4],
736 // ["u8", "dst_address", 4],
738 // {"crc" : "0xb14bc7df"}
741 type OamAddDel struct {
743 SrcAddress []byte `struc:"[4]byte"`
744 DstAddress []byte `struc:"[4]byte"`
748 func (*OamAddDel) GetMessageName() string {
751 func (*OamAddDel) GetMessageType() api.MessageType {
752 return api.RequestMessage
754 func (*OamAddDel) GetCrcString() string {
757 func NewOamAddDel() api.Message {
761 // OamAddDelReply represents the VPP binary API message 'oam_add_del_reply'.
762 // Generated from 'bin_api/vpe.api.json', line 195:
764 // ["oam_add_del_reply",
765 // ["u16", "_vl_msg_id"],
766 // ["u32", "context"],
767 // ["i32", "retval"],
768 // {"crc" : "0xc5594eec"}
771 type OamAddDelReply struct {
775 func (*OamAddDelReply) GetMessageName() string {
776 return "oam_add_del_reply"
778 func (*OamAddDelReply) GetMessageType() api.MessageType {
779 return api.ReplyMessage
781 func (*OamAddDelReply) GetCrcString() string {
784 func NewOamAddDelReply() api.Message {
785 return &OamAddDelReply{}
788 // ResetFib represents the VPP binary API message 'reset_fib'.
789 // Generated from 'bin_api/vpe.api.json', line 201:
792 // ["u16", "_vl_msg_id"],
793 // ["u32", "client_index"],
794 // ["u32", "context"],
795 // ["u32", "vrf_id"],
796 // ["u8", "is_ipv6"],
797 // {"crc" : "0x6f17106b"}
800 type ResetFib struct {
805 func (*ResetFib) GetMessageName() string {
808 func (*ResetFib) GetMessageType() api.MessageType {
809 return api.RequestMessage
811 func (*ResetFib) GetCrcString() string {
814 func NewResetFib() api.Message {
818 // ResetFibReply represents the VPP binary API message 'reset_fib_reply'.
819 // Generated from 'bin_api/vpe.api.json', line 209:
821 // ["reset_fib_reply",
822 // ["u16", "_vl_msg_id"],
823 // ["u32", "context"],
824 // ["i32", "retval"],
825 // {"crc" : "0x990dcbf8"}
828 type ResetFibReply struct {
832 func (*ResetFibReply) GetMessageName() string {
833 return "reset_fib_reply"
835 func (*ResetFibReply) GetMessageType() api.MessageType {
836 return api.ReplyMessage
838 func (*ResetFibReply) GetCrcString() string {
841 func NewResetFibReply() api.Message {
842 return &ResetFibReply{}
845 // CreateLoopback represents the VPP binary API message 'create_loopback'.
846 // Generated from 'bin_api/vpe.api.json', line 215:
848 // ["create_loopback",
849 // ["u16", "_vl_msg_id"],
850 // ["u32", "client_index"],
851 // ["u32", "context"],
852 // ["u8", "mac_address", 6],
853 // {"crc" : "0xb2602de5"}
856 type CreateLoopback struct {
857 MacAddress []byte `struc:"[6]byte"`
860 func (*CreateLoopback) GetMessageName() string {
861 return "create_loopback"
863 func (*CreateLoopback) GetMessageType() api.MessageType {
864 return api.RequestMessage
866 func (*CreateLoopback) GetCrcString() string {
869 func NewCreateLoopback() api.Message {
870 return &CreateLoopback{}
873 // CreateLoopbackReply represents the VPP binary API message 'create_loopback_reply'.
874 // Generated from 'bin_api/vpe.api.json', line 222:
876 // ["create_loopback_reply",
877 // ["u16", "_vl_msg_id"],
878 // ["u32", "context"],
879 // ["i32", "retval"],
880 // ["u32", "sw_if_index"],
881 // {"crc" : "0x9520f804"}
884 type CreateLoopbackReply struct {
889 func (*CreateLoopbackReply) GetMessageName() string {
890 return "create_loopback_reply"
892 func (*CreateLoopbackReply) GetMessageType() api.MessageType {
893 return api.ReplyMessage
895 func (*CreateLoopbackReply) GetCrcString() string {
898 func NewCreateLoopbackReply() api.Message {
899 return &CreateLoopbackReply{}
902 // CreateLoopbackInstance represents the VPP binary API message 'create_loopback_instance'.
903 // Generated from 'bin_api/vpe.api.json', line 229:
905 // ["create_loopback_instance",
906 // ["u16", "_vl_msg_id"],
907 // ["u32", "client_index"],
908 // ["u32", "context"],
909 // ["u8", "mac_address", 6],
910 // ["u8", "is_specified"],
911 // ["u32", "user_instance"],
912 // {"crc" : "0x967694f1"}
915 type CreateLoopbackInstance struct {
916 MacAddress []byte `struc:"[6]byte"`
921 func (*CreateLoopbackInstance) GetMessageName() string {
922 return "create_loopback_instance"
924 func (*CreateLoopbackInstance) GetMessageType() api.MessageType {
925 return api.RequestMessage
927 func (*CreateLoopbackInstance) GetCrcString() string {
930 func NewCreateLoopbackInstance() api.Message {
931 return &CreateLoopbackInstance{}
934 // CreateLoopbackInstanceReply represents the VPP binary API message 'create_loopback_instance_reply'.
935 // Generated from 'bin_api/vpe.api.json', line 238:
937 // ["create_loopback_instance_reply",
938 // ["u16", "_vl_msg_id"],
939 // ["u32", "context"],
940 // ["i32", "retval"],
941 // ["u32", "sw_if_index"],
942 // {"crc" : "0xd52c63b6"}
945 type CreateLoopbackInstanceReply struct {
950 func (*CreateLoopbackInstanceReply) GetMessageName() string {
951 return "create_loopback_instance_reply"
953 func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType {
954 return api.ReplyMessage
956 func (*CreateLoopbackInstanceReply) GetCrcString() string {
959 func NewCreateLoopbackInstanceReply() api.Message {
960 return &CreateLoopbackInstanceReply{}
963 // DeleteLoopback represents the VPP binary API message 'delete_loopback'.
964 // Generated from 'bin_api/vpe.api.json', line 245:
966 // ["delete_loopback",
967 // ["u16", "_vl_msg_id"],
968 // ["u32", "client_index"],
969 // ["u32", "context"],
970 // ["u32", "sw_if_index"],
971 // {"crc" : "0xded428b0"}
974 type DeleteLoopback struct {
978 func (*DeleteLoopback) GetMessageName() string {
979 return "delete_loopback"
981 func (*DeleteLoopback) GetMessageType() api.MessageType {
982 return api.RequestMessage
984 func (*DeleteLoopback) GetCrcString() string {
987 func NewDeleteLoopback() api.Message {
988 return &DeleteLoopback{}
991 // DeleteLoopbackReply represents the VPP binary API message 'delete_loopback_reply'.
992 // Generated from 'bin_api/vpe.api.json', line 252:
994 // ["delete_loopback_reply",
995 // ["u16", "_vl_msg_id"],
996 // ["u32", "context"],
997 // ["i32", "retval"],
998 // {"crc" : "0xc91dafa5"}
1001 type DeleteLoopbackReply struct {
1005 func (*DeleteLoopbackReply) GetMessageName() string {
1006 return "delete_loopback_reply"
1008 func (*DeleteLoopbackReply) GetMessageType() api.MessageType {
1009 return api.ReplyMessage
1011 func (*DeleteLoopbackReply) GetCrcString() string {
1014 func NewDeleteLoopbackReply() api.Message {
1015 return &DeleteLoopbackReply{}
1018 // ControlPing represents the VPP binary API message 'control_ping'.
1019 // Generated from 'bin_api/vpe.api.json', line 258:
1022 // ["u16", "_vl_msg_id"],
1023 // ["u32", "client_index"],
1024 // ["u32", "context"],
1025 // {"crc" : "0xea1bf4f7"}
1028 type ControlPing struct {
1031 func (*ControlPing) GetMessageName() string {
1032 return "control_ping"
1034 func (*ControlPing) GetMessageType() api.MessageType {
1035 return api.RequestMessage
1037 func (*ControlPing) GetCrcString() string {
1040 func NewControlPing() api.Message {
1041 return &ControlPing{}
1044 // ControlPingReply represents the VPP binary API message 'control_ping_reply'.
1045 // Generated from 'bin_api/vpe.api.json', line 264:
1047 // ["control_ping_reply",
1048 // ["u16", "_vl_msg_id"],
1049 // ["u32", "context"],
1050 // ["i32", "retval"],
1051 // ["u32", "client_index"],
1052 // ["u32", "vpe_pid"],
1053 // {"crc" : "0xaa016e7b"}
1056 type ControlPingReply struct {
1062 func (*ControlPingReply) GetMessageName() string {
1063 return "control_ping_reply"
1065 func (*ControlPingReply) GetMessageType() api.MessageType {
1066 return api.ReplyMessage
1068 func (*ControlPingReply) GetCrcString() string {
1071 func NewControlPingReply() api.Message {
1072 return &ControlPingReply{}
1075 // Cli represents the VPP binary API message 'cli'.
1076 // Generated from 'bin_api/vpe.api.json', line 272:
1079 // ["u16", "_vl_msg_id"],
1080 // ["u32", "client_index"],
1081 // ["u32", "context"],
1082 // ["u64", "cmd_in_shmem"],
1083 // {"crc" : "0x543d8e2e"}
1090 func (*Cli) GetMessageName() string {
1093 func (*Cli) GetMessageType() api.MessageType {
1094 return api.RequestMessage
1096 func (*Cli) GetCrcString() string {
1099 func NewCli() api.Message {
1103 // CliInband represents the VPP binary API message 'cli_inband'.
1104 // Generated from 'bin_api/vpe.api.json', line 279:
1107 // ["u16", "_vl_msg_id"],
1108 // ["u32", "client_index"],
1109 // ["u32", "context"],
1110 // ["u32", "length"],
1111 // ["u8", "cmd", 0, "length"],
1112 // {"crc" : "0x22345937"}
1115 type CliInband struct {
1116 Length uint32 `struc:"sizeof=Cmd"`
1120 func (*CliInband) GetMessageName() string {
1123 func (*CliInband) GetMessageType() api.MessageType {
1124 return api.RequestMessage
1126 func (*CliInband) GetCrcString() string {
1129 func NewCliInband() api.Message {
1133 // CliReply represents the VPP binary API message 'cli_reply'.
1134 // Generated from 'bin_api/vpe.api.json', line 287:
1137 // ["u16", "_vl_msg_id"],
1138 // ["u32", "context"],
1139 // ["i32", "retval"],
1140 // ["u64", "reply_in_shmem"],
1141 // {"crc" : "0x594a0b2e"}
1144 type CliReply struct {
1149 func (*CliReply) GetMessageName() string {
1152 func (*CliReply) GetMessageType() api.MessageType {
1153 return api.ReplyMessage
1155 func (*CliReply) GetCrcString() string {
1158 func NewCliReply() api.Message {
1162 // CliInbandReply represents the VPP binary API message 'cli_inband_reply'.
1163 // Generated from 'bin_api/vpe.api.json', line 294:
1165 // ["cli_inband_reply",
1166 // ["u16", "_vl_msg_id"],
1167 // ["u32", "context"],
1168 // ["i32", "retval"],
1169 // ["u32", "length"],
1170 // ["u8", "reply", 0, "length"],
1171 // {"crc" : "0xc1835761"}
1174 type CliInbandReply struct {
1176 Length uint32 `struc:"sizeof=Reply"`
1180 func (*CliInbandReply) GetMessageName() string {
1181 return "cli_inband_reply"
1183 func (*CliInbandReply) GetMessageType() api.MessageType {
1184 return api.ReplyMessage
1186 func (*CliInbandReply) GetCrcString() string {
1189 func NewCliInbandReply() api.Message {
1190 return &CliInbandReply{}
1193 // SetArpNeighborLimit represents the VPP binary API message 'set_arp_neighbor_limit'.
1194 // Generated from 'bin_api/vpe.api.json', line 302:
1196 // ["set_arp_neighbor_limit",
1197 // ["u16", "_vl_msg_id"],
1198 // ["u32", "client_index"],
1199 // ["u32", "context"],
1200 // ["u8", "is_ipv6"],
1201 // ["u32", "arp_neighbor_limit"],
1202 // {"crc" : "0xc1690cb4"}
1205 type SetArpNeighborLimit struct {
1207 ArpNeighborLimit uint32
1210 func (*SetArpNeighborLimit) GetMessageName() string {
1211 return "set_arp_neighbor_limit"
1213 func (*SetArpNeighborLimit) GetMessageType() api.MessageType {
1214 return api.RequestMessage
1216 func (*SetArpNeighborLimit) GetCrcString() string {
1219 func NewSetArpNeighborLimit() api.Message {
1220 return &SetArpNeighborLimit{}
1223 // SetArpNeighborLimitReply represents the VPP binary API message 'set_arp_neighbor_limit_reply'.
1224 // Generated from 'bin_api/vpe.api.json', line 310:
1226 // ["set_arp_neighbor_limit_reply",
1227 // ["u16", "_vl_msg_id"],
1228 // ["u32", "context"],
1229 // ["i32", "retval"],
1230 // {"crc" : "0xa6b30518"}
1233 type SetArpNeighborLimitReply struct {
1237 func (*SetArpNeighborLimitReply) GetMessageName() string {
1238 return "set_arp_neighbor_limit_reply"
1240 func (*SetArpNeighborLimitReply) GetMessageType() api.MessageType {
1241 return api.ReplyMessage
1243 func (*SetArpNeighborLimitReply) GetCrcString() string {
1246 func NewSetArpNeighborLimitReply() api.Message {
1247 return &SetArpNeighborLimitReply{}
1250 // L2PatchAddDel represents the VPP binary API message 'l2_patch_add_del'.
1251 // Generated from 'bin_api/vpe.api.json', line 316:
1253 // ["l2_patch_add_del",
1254 // ["u16", "_vl_msg_id"],
1255 // ["u32", "client_index"],
1256 // ["u32", "context"],
1257 // ["u32", "rx_sw_if_index"],
1258 // ["u32", "tx_sw_if_index"],
1259 // ["u8", "is_add"],
1260 // {"crc" : "0x9b10029a"}
1263 type L2PatchAddDel struct {
1269 func (*L2PatchAddDel) GetMessageName() string {
1270 return "l2_patch_add_del"
1272 func (*L2PatchAddDel) GetMessageType() api.MessageType {
1273 return api.RequestMessage
1275 func (*L2PatchAddDel) GetCrcString() string {
1278 func NewL2PatchAddDel() api.Message {
1279 return &L2PatchAddDel{}
1282 // L2PatchAddDelReply represents the VPP binary API message 'l2_patch_add_del_reply'.
1283 // Generated from 'bin_api/vpe.api.json', line 325:
1285 // ["l2_patch_add_del_reply",
1286 // ["u16", "_vl_msg_id"],
1287 // ["u32", "context"],
1288 // ["i32", "retval"],
1289 // {"crc" : "0xa85e37be"}
1292 type L2PatchAddDelReply struct {
1296 func (*L2PatchAddDelReply) GetMessageName() string {
1297 return "l2_patch_add_del_reply"
1299 func (*L2PatchAddDelReply) GetMessageType() api.MessageType {
1300 return api.ReplyMessage
1302 func (*L2PatchAddDelReply) GetCrcString() string {
1305 func NewL2PatchAddDelReply() api.Message {
1306 return &L2PatchAddDelReply{}
1309 // SwInterfaceSetVpath represents the VPP binary API message 'sw_interface_set_vpath'.
1310 // Generated from 'bin_api/vpe.api.json', line 331:
1312 // ["sw_interface_set_vpath",
1313 // ["u16", "_vl_msg_id"],
1314 // ["u32", "client_index"],
1315 // ["u32", "context"],
1316 // ["u32", "sw_if_index"],
1317 // ["u8", "enable"],
1318 // {"crc" : "0x1bc2fd5e"}
1321 type SwInterfaceSetVpath struct {
1326 func (*SwInterfaceSetVpath) GetMessageName() string {
1327 return "sw_interface_set_vpath"
1329 func (*SwInterfaceSetVpath) GetMessageType() api.MessageType {
1330 return api.RequestMessage
1332 func (*SwInterfaceSetVpath) GetCrcString() string {
1335 func NewSwInterfaceSetVpath() api.Message {
1336 return &SwInterfaceSetVpath{}
1339 // SwInterfaceSetVpathReply represents the VPP binary API message 'sw_interface_set_vpath_reply'.
1340 // Generated from 'bin_api/vpe.api.json', line 339:
1342 // ["sw_interface_set_vpath_reply",
1343 // ["u16", "_vl_msg_id"],
1344 // ["u32", "context"],
1345 // ["i32", "retval"],
1346 // {"crc" : "0x828dbe62"}
1349 type SwInterfaceSetVpathReply struct {
1353 func (*SwInterfaceSetVpathReply) GetMessageName() string {
1354 return "sw_interface_set_vpath_reply"
1356 func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType {
1357 return api.ReplyMessage
1359 func (*SwInterfaceSetVpathReply) GetCrcString() string {
1362 func NewSwInterfaceSetVpathReply() api.Message {
1363 return &SwInterfaceSetVpathReply{}
1366 // SwInterfaceSetL2Xconnect represents the VPP binary API message 'sw_interface_set_l2_xconnect'.
1367 // Generated from 'bin_api/vpe.api.json', line 345:
1369 // ["sw_interface_set_l2_xconnect",
1370 // ["u16", "_vl_msg_id"],
1371 // ["u32", "client_index"],
1372 // ["u32", "context"],
1373 // ["u32", "rx_sw_if_index"],
1374 // ["u32", "tx_sw_if_index"],
1375 // ["u8", "enable"],
1376 // {"crc" : "0x48a4c4c8"}
1379 type SwInterfaceSetL2Xconnect struct {
1385 func (*SwInterfaceSetL2Xconnect) GetMessageName() string {
1386 return "sw_interface_set_l2_xconnect"
1388 func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType {
1389 return api.RequestMessage
1391 func (*SwInterfaceSetL2Xconnect) GetCrcString() string {
1394 func NewSwInterfaceSetL2Xconnect() api.Message {
1395 return &SwInterfaceSetL2Xconnect{}
1398 // SwInterfaceSetL2XconnectReply represents the VPP binary API message 'sw_interface_set_l2_xconnect_reply'.
1399 // Generated from 'bin_api/vpe.api.json', line 354:
1401 // ["sw_interface_set_l2_xconnect_reply",
1402 // ["u16", "_vl_msg_id"],
1403 // ["u32", "context"],
1404 // ["i32", "retval"],
1405 // {"crc" : "0x6e45eed4"}
1408 type SwInterfaceSetL2XconnectReply struct {
1412 func (*SwInterfaceSetL2XconnectReply) GetMessageName() string {
1413 return "sw_interface_set_l2_xconnect_reply"
1415 func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType {
1416 return api.ReplyMessage
1418 func (*SwInterfaceSetL2XconnectReply) GetCrcString() string {
1421 func NewSwInterfaceSetL2XconnectReply() api.Message {
1422 return &SwInterfaceSetL2XconnectReply{}
1425 // SwInterfaceSetL2Bridge represents the VPP binary API message 'sw_interface_set_l2_bridge'.
1426 // Generated from 'bin_api/vpe.api.json', line 360:
1428 // ["sw_interface_set_l2_bridge",
1429 // ["u16", "_vl_msg_id"],
1430 // ["u32", "client_index"],
1431 // ["u32", "context"],
1432 // ["u32", "rx_sw_if_index"],
1433 // ["u32", "bd_id"],
1436 // ["u8", "enable"],
1437 // {"crc" : "0x36c739e8"}
1440 type SwInterfaceSetL2Bridge struct {
1448 func (*SwInterfaceSetL2Bridge) GetMessageName() string {
1449 return "sw_interface_set_l2_bridge"
1451 func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType {
1452 return api.RequestMessage
1454 func (*SwInterfaceSetL2Bridge) GetCrcString() string {
1457 func NewSwInterfaceSetL2Bridge() api.Message {
1458 return &SwInterfaceSetL2Bridge{}
1461 // SwInterfaceSetL2BridgeReply represents the VPP binary API message 'sw_interface_set_l2_bridge_reply'.
1462 // Generated from 'bin_api/vpe.api.json', line 371:
1464 // ["sw_interface_set_l2_bridge_reply",
1465 // ["u16", "_vl_msg_id"],
1466 // ["u32", "context"],
1467 // ["i32", "retval"],
1468 // {"crc" : "0x347e08d9"}
1471 type SwInterfaceSetL2BridgeReply struct {
1475 func (*SwInterfaceSetL2BridgeReply) GetMessageName() string {
1476 return "sw_interface_set_l2_bridge_reply"
1478 func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType {
1479 return api.ReplyMessage
1481 func (*SwInterfaceSetL2BridgeReply) GetCrcString() string {
1484 func NewSwInterfaceSetL2BridgeReply() api.Message {
1485 return &SwInterfaceSetL2BridgeReply{}
1488 // BdIPMacAddDel represents the VPP binary API message 'bd_ip_mac_add_del'.
1489 // Generated from 'bin_api/vpe.api.json', line 377:
1491 // ["bd_ip_mac_add_del",
1492 // ["u16", "_vl_msg_id"],
1493 // ["u32", "client_index"],
1494 // ["u32", "context"],
1495 // ["u32", "bd_id"],
1496 // ["u8", "is_add"],
1497 // ["u8", "is_ipv6"],
1498 // ["u8", "ip_address", 16],
1499 // ["u8", "mac_address", 6],
1500 // {"crc" : "0xad819817"}
1503 type BdIPMacAddDel struct {
1507 IPAddress []byte `struc:"[16]byte"`
1508 MacAddress []byte `struc:"[6]byte"`
1511 func (*BdIPMacAddDel) GetMessageName() string {
1512 return "bd_ip_mac_add_del"
1514 func (*BdIPMacAddDel) GetMessageType() api.MessageType {
1515 return api.RequestMessage
1517 func (*BdIPMacAddDel) GetCrcString() string {
1520 func NewBdIPMacAddDel() api.Message {
1521 return &BdIPMacAddDel{}
1524 // BdIPMacAddDelReply represents the VPP binary API message 'bd_ip_mac_add_del_reply'.
1525 // Generated from 'bin_api/vpe.api.json', line 388:
1527 // ["bd_ip_mac_add_del_reply",
1528 // ["u16", "_vl_msg_id"],
1529 // ["u32", "context"],
1530 // ["i32", "retval"],
1531 // {"crc" : "0x55bab3b4"}
1534 type BdIPMacAddDelReply struct {
1538 func (*BdIPMacAddDelReply) GetMessageName() string {
1539 return "bd_ip_mac_add_del_reply"
1541 func (*BdIPMacAddDelReply) GetMessageType() api.MessageType {
1542 return api.ReplyMessage
1544 func (*BdIPMacAddDelReply) GetCrcString() string {
1547 func NewBdIPMacAddDelReply() api.Message {
1548 return &BdIPMacAddDelReply{}
1551 // ClassifySetInterfaceIPTable represents the VPP binary API message 'classify_set_interface_ip_table'.
1552 // Generated from 'bin_api/vpe.api.json', line 394:
1554 // ["classify_set_interface_ip_table",
1555 // ["u16", "_vl_msg_id"],
1556 // ["u32", "client_index"],
1557 // ["u32", "context"],
1558 // ["u8", "is_ipv6"],
1559 // ["u32", "sw_if_index"],
1560 // ["u32", "table_index"],
1561 // {"crc" : "0x0dc45308"}
1564 type ClassifySetInterfaceIPTable struct {
1570 func (*ClassifySetInterfaceIPTable) GetMessageName() string {
1571 return "classify_set_interface_ip_table"
1573 func (*ClassifySetInterfaceIPTable) GetMessageType() api.MessageType {
1574 return api.RequestMessage
1576 func (*ClassifySetInterfaceIPTable) GetCrcString() string {
1579 func NewClassifySetInterfaceIPTable() api.Message {
1580 return &ClassifySetInterfaceIPTable{}
1583 // ClassifySetInterfaceIPTableReply represents the VPP binary API message 'classify_set_interface_ip_table_reply'.
1584 // Generated from 'bin_api/vpe.api.json', line 403:
1586 // ["classify_set_interface_ip_table_reply",
1587 // ["u16", "_vl_msg_id"],
1588 // ["u32", "context"],
1589 // ["i32", "retval"],
1590 // {"crc" : "0xdc391c34"}
1593 type ClassifySetInterfaceIPTableReply struct {
1597 func (*ClassifySetInterfaceIPTableReply) GetMessageName() string {
1598 return "classify_set_interface_ip_table_reply"
1600 func (*ClassifySetInterfaceIPTableReply) GetMessageType() api.MessageType {
1601 return api.ReplyMessage
1603 func (*ClassifySetInterfaceIPTableReply) GetCrcString() string {
1606 func NewClassifySetInterfaceIPTableReply() api.Message {
1607 return &ClassifySetInterfaceIPTableReply{}
1610 // ClassifySetInterfaceL2Tables represents the VPP binary API message 'classify_set_interface_l2_tables'.
1611 // Generated from 'bin_api/vpe.api.json', line 409:
1613 // ["classify_set_interface_l2_tables",
1614 // ["u16", "_vl_msg_id"],
1615 // ["u32", "client_index"],
1616 // ["u32", "context"],
1617 // ["u32", "sw_if_index"],
1618 // ["u32", "ip4_table_index"],
1619 // ["u32", "ip6_table_index"],
1620 // ["u32", "other_table_index"],
1621 // ["u8", "is_input"],
1622 // {"crc" : "0xed9ccf0d"}
1625 type ClassifySetInterfaceL2Tables struct {
1627 IP4TableIndex uint32
1628 IP6TableIndex uint32
1629 OtherTableIndex uint32
1633 func (*ClassifySetInterfaceL2Tables) GetMessageName() string {
1634 return "classify_set_interface_l2_tables"
1636 func (*ClassifySetInterfaceL2Tables) GetMessageType() api.MessageType {
1637 return api.RequestMessage
1639 func (*ClassifySetInterfaceL2Tables) GetCrcString() string {
1642 func NewClassifySetInterfaceL2Tables() api.Message {
1643 return &ClassifySetInterfaceL2Tables{}
1646 // ClassifySetInterfaceL2TablesReply represents the VPP binary API message 'classify_set_interface_l2_tables_reply'.
1647 // Generated from 'bin_api/vpe.api.json', line 420:
1649 // ["classify_set_interface_l2_tables_reply",
1650 // ["u16", "_vl_msg_id"],
1651 // ["u32", "context"],
1652 // ["i32", "retval"],
1653 // {"crc" : "0x8df20579"}
1656 type ClassifySetInterfaceL2TablesReply struct {
1660 func (*ClassifySetInterfaceL2TablesReply) GetMessageName() string {
1661 return "classify_set_interface_l2_tables_reply"
1663 func (*ClassifySetInterfaceL2TablesReply) GetMessageType() api.MessageType {
1664 return api.ReplyMessage
1666 func (*ClassifySetInterfaceL2TablesReply) GetCrcString() string {
1669 func NewClassifySetInterfaceL2TablesReply() api.Message {
1670 return &ClassifySetInterfaceL2TablesReply{}
1673 // GetNodeIndex represents the VPP binary API message 'get_node_index'.
1674 // Generated from 'bin_api/vpe.api.json', line 426:
1676 // ["get_node_index",
1677 // ["u16", "_vl_msg_id"],
1678 // ["u32", "client_index"],
1679 // ["u32", "context"],
1680 // ["u8", "node_name", 64],
1681 // {"crc" : "0x226d3f8c"}
1684 type GetNodeIndex struct {
1685 NodeName []byte `struc:"[64]byte"`
1688 func (*GetNodeIndex) GetMessageName() string {
1689 return "get_node_index"
1691 func (*GetNodeIndex) GetMessageType() api.MessageType {
1692 return api.RequestMessage
1694 func (*GetNodeIndex) GetCrcString() string {
1697 func NewGetNodeIndex() api.Message {
1698 return &GetNodeIndex{}
1701 // GetNodeIndexReply represents the VPP binary API message 'get_node_index_reply'.
1702 // Generated from 'bin_api/vpe.api.json', line 433:
1704 // ["get_node_index_reply",
1705 // ["u16", "_vl_msg_id"],
1706 // ["u32", "context"],
1707 // ["i32", "retval"],
1708 // ["u32", "node_index"],
1709 // {"crc" : "0x29116865"}
1712 type GetNodeIndexReply struct {
1717 func (*GetNodeIndexReply) GetMessageName() string {
1718 return "get_node_index_reply"
1720 func (*GetNodeIndexReply) GetMessageType() api.MessageType {
1721 return api.ReplyMessage
1723 func (*GetNodeIndexReply) GetCrcString() string {
1726 func NewGetNodeIndexReply() api.Message {
1727 return &GetNodeIndexReply{}
1730 // AddNodeNext represents the VPP binary API message 'add_node_next'.
1731 // Generated from 'bin_api/vpe.api.json', line 440:
1733 // ["add_node_next",
1734 // ["u16", "_vl_msg_id"],
1735 // ["u32", "client_index"],
1736 // ["u32", "context"],
1737 // ["u8", "node_name", 64],
1738 // ["u8", "next_name", 64],
1739 // {"crc" : "0xe4202993"}
1742 type AddNodeNext struct {
1743 NodeName []byte `struc:"[64]byte"`
1744 NextName []byte `struc:"[64]byte"`
1747 func (*AddNodeNext) GetMessageName() string {
1748 return "add_node_next"
1750 func (*AddNodeNext) GetMessageType() api.MessageType {
1751 return api.RequestMessage
1753 func (*AddNodeNext) GetCrcString() string {
1756 func NewAddNodeNext() api.Message {
1757 return &AddNodeNext{}
1760 // AddNodeNextReply represents the VPP binary API message 'add_node_next_reply'.
1761 // Generated from 'bin_api/vpe.api.json', line 448:
1763 // ["add_node_next_reply",
1764 // ["u16", "_vl_msg_id"],
1765 // ["u32", "context"],
1766 // ["i32", "retval"],
1767 // ["u32", "next_index"],
1768 // {"crc" : "0xe89d6eed"}
1771 type AddNodeNextReply struct {
1776 func (*AddNodeNextReply) GetMessageName() string {
1777 return "add_node_next_reply"
1779 func (*AddNodeNextReply) GetMessageType() api.MessageType {
1780 return api.ReplyMessage
1782 func (*AddNodeNextReply) GetCrcString() string {
1785 func NewAddNodeNextReply() api.Message {
1786 return &AddNodeNextReply{}
1789 // L2InterfaceEfpFilter represents the VPP binary API message 'l2_interface_efp_filter'.
1790 // Generated from 'bin_api/vpe.api.json', line 455:
1792 // ["l2_interface_efp_filter",
1793 // ["u16", "_vl_msg_id"],
1794 // ["u32", "client_index"],
1795 // ["u32", "context"],
1796 // ["u32", "sw_if_index"],
1797 // ["u32", "enable_disable"],
1798 // {"crc" : "0x07c9d601"}
1801 type L2InterfaceEfpFilter struct {
1803 EnableDisable uint32
1806 func (*L2InterfaceEfpFilter) GetMessageName() string {
1807 return "l2_interface_efp_filter"
1809 func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType {
1810 return api.RequestMessage
1812 func (*L2InterfaceEfpFilter) GetCrcString() string {
1815 func NewL2InterfaceEfpFilter() api.Message {
1816 return &L2InterfaceEfpFilter{}
1819 // L2InterfaceEfpFilterReply represents the VPP binary API message 'l2_interface_efp_filter_reply'.
1820 // Generated from 'bin_api/vpe.api.json', line 463:
1822 // ["l2_interface_efp_filter_reply",
1823 // ["u16", "_vl_msg_id"],
1824 // ["u32", "context"],
1825 // ["i32", "retval"],
1826 // {"crc" : "0x0f4bb0c0"}
1829 type L2InterfaceEfpFilterReply struct {
1833 func (*L2InterfaceEfpFilterReply) GetMessageName() string {
1834 return "l2_interface_efp_filter_reply"
1836 func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType {
1837 return api.ReplyMessage
1839 func (*L2InterfaceEfpFilterReply) GetCrcString() string {
1842 func NewL2InterfaceEfpFilterReply() api.Message {
1843 return &L2InterfaceEfpFilterReply{}
1846 // CreateSubif represents the VPP binary API message 'create_subif'.
1847 // Generated from 'bin_api/vpe.api.json', line 469:
1850 // ["u16", "_vl_msg_id"],
1851 // ["u32", "client_index"],
1852 // ["u32", "context"],
1853 // ["u32", "sw_if_index"],
1854 // ["u32", "sub_id"],
1855 // ["u8", "no_tags"],
1856 // ["u8", "one_tag"],
1857 // ["u8", "two_tags"],
1858 // ["u8", "dot1ad"],
1859 // ["u8", "exact_match"],
1860 // ["u8", "default_sub"],
1861 // ["u8", "outer_vlan_id_any"],
1862 // ["u8", "inner_vlan_id_any"],
1863 // ["u16", "outer_vlan_id"],
1864 // ["u16", "inner_vlan_id"],
1865 // {"crc" : "0x150e6757"}
1868 type CreateSubif struct {
1877 OuterVlanIDAny uint8
1878 InnerVlanIDAny uint8
1883 func (*CreateSubif) GetMessageName() string {
1884 return "create_subif"
1886 func (*CreateSubif) GetMessageType() api.MessageType {
1887 return api.RequestMessage
1889 func (*CreateSubif) GetCrcString() string {
1892 func NewCreateSubif() api.Message {
1893 return &CreateSubif{}
1896 // CreateSubifReply represents the VPP binary API message 'create_subif_reply'.
1897 // Generated from 'bin_api/vpe.api.json', line 487:
1899 // ["create_subif_reply",
1900 // ["u16", "_vl_msg_id"],
1901 // ["u32", "context"],
1902 // ["i32", "retval"],
1903 // ["u32", "sw_if_index"],
1904 // {"crc" : "0x92272bcb"}
1907 type CreateSubifReply struct {
1912 func (*CreateSubifReply) GetMessageName() string {
1913 return "create_subif_reply"
1915 func (*CreateSubifReply) GetMessageType() api.MessageType {
1916 return api.ReplyMessage
1918 func (*CreateSubifReply) GetCrcString() string {
1921 func NewCreateSubifReply() api.Message {
1922 return &CreateSubifReply{}
1925 // ShowVersion represents the VPP binary API message 'show_version'.
1926 // Generated from 'bin_api/vpe.api.json', line 494:
1929 // ["u16", "_vl_msg_id"],
1930 // ["u32", "client_index"],
1931 // ["u32", "context"],
1932 // {"crc" : "0xf18f9480"}
1935 type ShowVersion struct {
1938 func (*ShowVersion) GetMessageName() string {
1939 return "show_version"
1941 func (*ShowVersion) GetMessageType() api.MessageType {
1942 return api.RequestMessage
1944 func (*ShowVersion) GetCrcString() string {
1947 func NewShowVersion() api.Message {
1948 return &ShowVersion{}
1951 // ShowVersionReply represents the VPP binary API message 'show_version_reply'.
1952 // Generated from 'bin_api/vpe.api.json', line 500:
1954 // ["show_version_reply",
1955 // ["u16", "_vl_msg_id"],
1956 // ["u32", "context"],
1957 // ["i32", "retval"],
1958 // ["u8", "program", 32],
1959 // ["u8", "version", 32],
1960 // ["u8", "build_date", 32],
1961 // ["u8", "build_directory", 256],
1962 // {"crc" : "0x83186d9e"}
1965 type ShowVersionReply struct {
1967 Program []byte `struc:"[32]byte"`
1968 Version []byte `struc:"[32]byte"`
1969 BuildDate []byte `struc:"[32]byte"`
1970 BuildDirectory []byte `struc:"[256]byte"`
1973 func (*ShowVersionReply) GetMessageName() string {
1974 return "show_version_reply"
1976 func (*ShowVersionReply) GetMessageType() api.MessageType {
1977 return api.ReplyMessage
1979 func (*ShowVersionReply) GetCrcString() string {
1982 func NewShowVersionReply() api.Message {
1983 return &ShowVersionReply{}
1986 // InterfaceNameRenumber represents the VPP binary API message 'interface_name_renumber'.
1987 // Generated from 'bin_api/vpe.api.json', line 510:
1989 // ["interface_name_renumber",
1990 // ["u16", "_vl_msg_id"],
1991 // ["u32", "client_index"],
1992 // ["u32", "context"],
1993 // ["u32", "sw_if_index"],
1994 // ["u32", "new_show_dev_instance"],
1995 // {"crc" : "0x11b7bcec"}
1998 type InterfaceNameRenumber struct {
2000 NewShowDevInstance uint32
2003 func (*InterfaceNameRenumber) GetMessageName() string {
2004 return "interface_name_renumber"
2006 func (*InterfaceNameRenumber) GetMessageType() api.MessageType {
2007 return api.RequestMessage
2009 func (*InterfaceNameRenumber) GetCrcString() string {
2012 func NewInterfaceNameRenumber() api.Message {
2013 return &InterfaceNameRenumber{}
2016 // InterfaceNameRenumberReply represents the VPP binary API message 'interface_name_renumber_reply'.
2017 // Generated from 'bin_api/vpe.api.json', line 518:
2019 // ["interface_name_renumber_reply",
2020 // ["u16", "_vl_msg_id"],
2021 // ["u32", "context"],
2022 // ["i32", "retval"],
2023 // {"crc" : "0x31594963"}
2026 type InterfaceNameRenumberReply struct {
2030 func (*InterfaceNameRenumberReply) GetMessageName() string {
2031 return "interface_name_renumber_reply"
2033 func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType {
2034 return api.ReplyMessage
2036 func (*InterfaceNameRenumberReply) GetCrcString() string {
2039 func NewInterfaceNameRenumberReply() api.Message {
2040 return &InterfaceNameRenumberReply{}
2043 // WantIP4ArpEvents represents the VPP binary API message 'want_ip4_arp_events'.
2044 // Generated from 'bin_api/vpe.api.json', line 524:
2046 // ["want_ip4_arp_events",
2047 // ["u16", "_vl_msg_id"],
2048 // ["u32", "client_index"],
2049 // ["u32", "context"],
2050 // ["u8", "enable_disable"],
2052 // ["u32", "address"],
2053 // {"crc" : "0x5ae044c2"}
2056 type WantIP4ArpEvents struct {
2062 func (*WantIP4ArpEvents) GetMessageName() string {
2063 return "want_ip4_arp_events"
2065 func (*WantIP4ArpEvents) GetMessageType() api.MessageType {
2066 return api.RequestMessage
2068 func (*WantIP4ArpEvents) GetCrcString() string {
2071 func NewWantIP4ArpEvents() api.Message {
2072 return &WantIP4ArpEvents{}
2075 // WantIP4ArpEventsReply represents the VPP binary API message 'want_ip4_arp_events_reply'.
2076 // Generated from 'bin_api/vpe.api.json', line 533:
2078 // ["want_ip4_arp_events_reply",
2079 // ["u16", "_vl_msg_id"],
2080 // ["u32", "context"],
2081 // ["i32", "retval"],
2082 // {"crc" : "0xe1c0b59e"}
2085 type WantIP4ArpEventsReply struct {
2089 func (*WantIP4ArpEventsReply) GetMessageName() string {
2090 return "want_ip4_arp_events_reply"
2092 func (*WantIP4ArpEventsReply) GetMessageType() api.MessageType {
2093 return api.ReplyMessage
2095 func (*WantIP4ArpEventsReply) GetCrcString() string {
2098 func NewWantIP4ArpEventsReply() api.Message {
2099 return &WantIP4ArpEventsReply{}
2102 // IP4ArpEvent represents the VPP binary API message 'ip4_arp_event'.
2103 // Generated from 'bin_api/vpe.api.json', line 539:
2105 // ["ip4_arp_event",
2106 // ["u16", "_vl_msg_id"],
2107 // ["u32", "client_index"],
2108 // ["u32", "context"],
2109 // ["u32", "address"],
2111 // ["u32", "sw_if_index"],
2112 // ["u8", "new_mac", 6],
2113 // ["u8", "mac_ip"],
2114 // {"crc" : "0x7de1837b"}
2117 type IP4ArpEvent struct {
2121 NewMac []byte `struc:"[6]byte"`
2125 func (*IP4ArpEvent) GetMessageName() string {
2126 return "ip4_arp_event"
2128 func (*IP4ArpEvent) GetMessageType() api.MessageType {
2129 return api.RequestMessage
2131 func (*IP4ArpEvent) GetCrcString() string {
2134 func NewIP4ArpEvent() api.Message {
2135 return &IP4ArpEvent{}
2138 // WantIP6NdEvents represents the VPP binary API message 'want_ip6_nd_events'.
2139 // Generated from 'bin_api/vpe.api.json', line 550:
2141 // ["want_ip6_nd_events",
2142 // ["u16", "_vl_msg_id"],
2143 // ["u32", "client_index"],
2144 // ["u32", "context"],
2145 // ["u8", "enable_disable"],
2147 // ["u8", "address", 16],
2148 // {"crc" : "0x9586ba55"}
2151 type WantIP6NdEvents struct {
2154 Address []byte `struc:"[16]byte"`
2157 func (*WantIP6NdEvents) GetMessageName() string {
2158 return "want_ip6_nd_events"
2160 func (*WantIP6NdEvents) GetMessageType() api.MessageType {
2161 return api.RequestMessage
2163 func (*WantIP6NdEvents) GetCrcString() string {
2166 func NewWantIP6NdEvents() api.Message {
2167 return &WantIP6NdEvents{}
2170 // WantIP6NdEventsReply represents the VPP binary API message 'want_ip6_nd_events_reply'.
2171 // Generated from 'bin_api/vpe.api.json', line 559:
2173 // ["want_ip6_nd_events_reply",
2174 // ["u16", "_vl_msg_id"],
2175 // ["u32", "context"],
2176 // ["i32", "retval"],
2177 // {"crc" : "0x95458aad"}
2180 type WantIP6NdEventsReply struct {
2184 func (*WantIP6NdEventsReply) GetMessageName() string {
2185 return "want_ip6_nd_events_reply"
2187 func (*WantIP6NdEventsReply) GetMessageType() api.MessageType {
2188 return api.ReplyMessage
2190 func (*WantIP6NdEventsReply) GetCrcString() string {
2193 func NewWantIP6NdEventsReply() api.Message {
2194 return &WantIP6NdEventsReply{}
2197 // IP6NdEvent represents the VPP binary API message 'ip6_nd_event'.
2198 // Generated from 'bin_api/vpe.api.json', line 565:
2201 // ["u16", "_vl_msg_id"],
2202 // ["u32", "client_index"],
2203 // ["u32", "context"],
2205 // ["u32", "sw_if_index"],
2206 // ["u8", "address", 16],
2207 // ["u8", "new_mac", 6],
2208 // ["u8", "mac_ip"],
2209 // {"crc" : "0x777bb71c"}
2212 type IP6NdEvent struct {
2215 Address []byte `struc:"[16]byte"`
2216 NewMac []byte `struc:"[6]byte"`
2220 func (*IP6NdEvent) GetMessageName() string {
2221 return "ip6_nd_event"
2223 func (*IP6NdEvent) GetMessageType() api.MessageType {
2224 return api.RequestMessage
2226 func (*IP6NdEvent) GetCrcString() string {
2229 func NewIP6NdEvent() api.Message {
2230 return &IP6NdEvent{}
2233 // InputACLSetInterface represents the VPP binary API message 'input_acl_set_interface'.
2234 // Generated from 'bin_api/vpe.api.json', line 576:
2236 // ["input_acl_set_interface",
2237 // ["u16", "_vl_msg_id"],
2238 // ["u32", "client_index"],
2239 // ["u32", "context"],
2240 // ["u32", "sw_if_index"],
2241 // ["u32", "ip4_table_index"],
2242 // ["u32", "ip6_table_index"],
2243 // ["u32", "l2_table_index"],
2244 // ["u8", "is_add"],
2245 // {"crc" : "0x34d2fc33"}
2248 type InputACLSetInterface struct {
2250 IP4TableIndex uint32
2251 IP6TableIndex uint32
2256 func (*InputACLSetInterface) GetMessageName() string {
2257 return "input_acl_set_interface"
2259 func (*InputACLSetInterface) GetMessageType() api.MessageType {
2260 return api.RequestMessage
2262 func (*InputACLSetInterface) GetCrcString() string {
2265 func NewInputACLSetInterface() api.Message {
2266 return &InputACLSetInterface{}
2269 // InputACLSetInterfaceReply represents the VPP binary API message 'input_acl_set_interface_reply'.
2270 // Generated from 'bin_api/vpe.api.json', line 587:
2272 // ["input_acl_set_interface_reply",
2273 // ["u16", "_vl_msg_id"],
2274 // ["u32", "context"],
2275 // ["i32", "retval"],
2276 // {"crc" : "0xba0110e3"}
2279 type InputACLSetInterfaceReply struct {
2283 func (*InputACLSetInterfaceReply) GetMessageName() string {
2284 return "input_acl_set_interface_reply"
2286 func (*InputACLSetInterfaceReply) GetMessageType() api.MessageType {
2287 return api.ReplyMessage
2289 func (*InputACLSetInterfaceReply) GetCrcString() string {
2292 func NewInputACLSetInterfaceReply() api.Message {
2293 return &InputACLSetInterfaceReply{}
2296 // GetNodeGraph represents the VPP binary API message 'get_node_graph'.
2297 // Generated from 'bin_api/vpe.api.json', line 593:
2299 // ["get_node_graph",
2300 // ["u16", "_vl_msg_id"],
2301 // ["u32", "client_index"],
2302 // ["u32", "context"],
2303 // {"crc" : "0xf8636a76"}
2306 type GetNodeGraph struct {
2309 func (*GetNodeGraph) GetMessageName() string {
2310 return "get_node_graph"
2312 func (*GetNodeGraph) GetMessageType() api.MessageType {
2313 return api.RequestMessage
2315 func (*GetNodeGraph) GetCrcString() string {
2318 func NewGetNodeGraph() api.Message {
2319 return &GetNodeGraph{}
2322 // GetNodeGraphReply represents the VPP binary API message 'get_node_graph_reply'.
2323 // Generated from 'bin_api/vpe.api.json', line 599:
2325 // ["get_node_graph_reply",
2326 // ["u16", "_vl_msg_id"],
2327 // ["u32", "context"],
2328 // ["i32", "retval"],
2329 // ["u64", "reply_in_shmem"],
2330 // {"crc" : "0x816d91b6"}
2333 type GetNodeGraphReply struct {
2338 func (*GetNodeGraphReply) GetMessageName() string {
2339 return "get_node_graph_reply"
2341 func (*GetNodeGraphReply) GetMessageType() api.MessageType {
2342 return api.ReplyMessage
2344 func (*GetNodeGraphReply) GetCrcString() string {
2347 func NewGetNodeGraphReply() api.Message {
2348 return &GetNodeGraphReply{}
2351 // IoamEnable represents the VPP binary API message 'ioam_enable'.
2352 // Generated from 'bin_api/vpe.api.json', line 606:
2355 // ["u16", "_vl_msg_id"],
2356 // ["u32", "client_index"],
2357 // ["u32", "context"],
2360 // ["u8", "analyse"],
2361 // ["u8", "pot_enable"],
2362 // ["u8", "trace_enable"],
2363 // ["u32", "node_id"],
2364 // {"crc" : "0x7bd4abf9"}
2367 type IoamEnable struct {
2376 func (*IoamEnable) GetMessageName() string {
2377 return "ioam_enable"
2379 func (*IoamEnable) GetMessageType() api.MessageType {
2380 return api.RequestMessage
2382 func (*IoamEnable) GetCrcString() string {
2385 func NewIoamEnable() api.Message {
2386 return &IoamEnable{}
2389 // IoamEnableReply represents the VPP binary API message 'ioam_enable_reply'.
2390 // Generated from 'bin_api/vpe.api.json', line 618:
2392 // ["ioam_enable_reply",
2393 // ["u16", "_vl_msg_id"],
2394 // ["u32", "context"],
2395 // ["i32", "retval"],
2396 // {"crc" : "0x58a8fedc"}
2399 type IoamEnableReply struct {
2403 func (*IoamEnableReply) GetMessageName() string {
2404 return "ioam_enable_reply"
2406 func (*IoamEnableReply) GetMessageType() api.MessageType {
2407 return api.ReplyMessage
2409 func (*IoamEnableReply) GetCrcString() string {
2412 func NewIoamEnableReply() api.Message {
2413 return &IoamEnableReply{}
2416 // IoamDisable represents the VPP binary API message 'ioam_disable'.
2417 // Generated from 'bin_api/vpe.api.json', line 624:
2420 // ["u16", "_vl_msg_id"],
2421 // ["u32", "client_index"],
2422 // ["u32", "context"],
2424 // {"crc" : "0xaff26d33"}
2427 type IoamDisable struct {
2431 func (*IoamDisable) GetMessageName() string {
2432 return "ioam_disable"
2434 func (*IoamDisable) GetMessageType() api.MessageType {
2435 return api.RequestMessage
2437 func (*IoamDisable) GetCrcString() string {
2440 func NewIoamDisable() api.Message {
2441 return &IoamDisable{}
2444 // IoamDisableReply represents the VPP binary API message 'ioam_disable_reply'.
2445 // Generated from 'bin_api/vpe.api.json', line 631:
2447 // ["ioam_disable_reply",
2448 // ["u16", "_vl_msg_id"],
2449 // ["u32", "context"],
2450 // ["i32", "retval"],
2451 // {"crc" : "0xef118a9d"}
2454 type IoamDisableReply struct {
2458 func (*IoamDisableReply) GetMessageName() string {
2459 return "ioam_disable_reply"
2461 func (*IoamDisableReply) GetMessageType() api.MessageType {
2462 return api.ReplyMessage
2464 func (*IoamDisableReply) GetCrcString() string {
2467 func NewIoamDisableReply() api.Message {
2468 return &IoamDisableReply{}
2471 // GetNextIndex represents the VPP binary API message 'get_next_index'.
2472 // Generated from 'bin_api/vpe.api.json', line 637:
2474 // ["get_next_index",
2475 // ["u16", "_vl_msg_id"],
2476 // ["u32", "client_index"],
2477 // ["u32", "context"],
2478 // ["u8", "node_name", 64],
2479 // ["u8", "next_name", 64],
2480 // {"crc" : "0x52f0e416"}
2483 type GetNextIndex struct {
2484 NodeName []byte `struc:"[64]byte"`
2485 NextName []byte `struc:"[64]byte"`
2488 func (*GetNextIndex) GetMessageName() string {
2489 return "get_next_index"
2491 func (*GetNextIndex) GetMessageType() api.MessageType {
2492 return api.RequestMessage
2494 func (*GetNextIndex) GetCrcString() string {
2497 func NewGetNextIndex() api.Message {
2498 return &GetNextIndex{}
2501 // GetNextIndexReply represents the VPP binary API message 'get_next_index_reply'.
2502 // Generated from 'bin_api/vpe.api.json', line 645:
2504 // ["get_next_index_reply",
2505 // ["u16", "_vl_msg_id"],
2506 // ["u32", "context"],
2507 // ["i32", "retval"],
2508 // ["u32", "next_index"],
2509 // {"crc" : "0x671fbdb1"}
2512 type GetNextIndexReply struct {
2517 func (*GetNextIndexReply) GetMessageName() string {
2518 return "get_next_index_reply"
2520 func (*GetNextIndexReply) GetMessageType() api.MessageType {
2521 return api.ReplyMessage
2523 func (*GetNextIndexReply) GetCrcString() string {
2526 func NewGetNextIndexReply() api.Message {
2527 return &GetNextIndexReply{}
2530 // PgCreateInterface represents the VPP binary API message 'pg_create_interface'.
2531 // Generated from 'bin_api/vpe.api.json', line 652:
2533 // ["pg_create_interface",
2534 // ["u16", "_vl_msg_id"],
2535 // ["u32", "client_index"],
2536 // ["u32", "context"],
2537 // ["u32", "interface_id"],
2538 // {"crc" : "0x253c5959"}
2541 type PgCreateInterface struct {
2545 func (*PgCreateInterface) GetMessageName() string {
2546 return "pg_create_interface"
2548 func (*PgCreateInterface) GetMessageType() api.MessageType {
2549 return api.RequestMessage
2551 func (*PgCreateInterface) GetCrcString() string {
2554 func NewPgCreateInterface() api.Message {
2555 return &PgCreateInterface{}
2558 // PgCreateInterfaceReply represents the VPP binary API message 'pg_create_interface_reply'.
2559 // Generated from 'bin_api/vpe.api.json', line 659:
2561 // ["pg_create_interface_reply",
2562 // ["u16", "_vl_msg_id"],
2563 // ["u32", "context"],
2564 // ["i32", "retval"],
2565 // ["u32", "sw_if_index"],
2566 // {"crc" : "0x21b4f949"}
2569 type PgCreateInterfaceReply struct {
2574 func (*PgCreateInterfaceReply) GetMessageName() string {
2575 return "pg_create_interface_reply"
2577 func (*PgCreateInterfaceReply) GetMessageType() api.MessageType {
2578 return api.ReplyMessage
2580 func (*PgCreateInterfaceReply) GetCrcString() string {
2583 func NewPgCreateInterfaceReply() api.Message {
2584 return &PgCreateInterfaceReply{}
2587 // PgCapture represents the VPP binary API message 'pg_capture'.
2588 // Generated from 'bin_api/vpe.api.json', line 666:
2591 // ["u16", "_vl_msg_id"],
2592 // ["u32", "client_index"],
2593 // ["u32", "context"],
2594 // ["u32", "interface_id"],
2595 // ["u8", "is_enabled"],
2596 // ["u32", "count"],
2597 // ["u32", "pcap_name_length"],
2598 // ["u8", "pcap_file_name", 0, "pcap_name_length"],
2599 // {"crc" : "0x6ac7fe78"}
2602 type PgCapture struct {
2606 PcapNameLength uint32 `struc:"sizeof=PcapFileName"`
2610 func (*PgCapture) GetMessageName() string {
2613 func (*PgCapture) GetMessageType() api.MessageType {
2614 return api.RequestMessage
2616 func (*PgCapture) GetCrcString() string {
2619 func NewPgCapture() api.Message {
2623 // PgCaptureReply represents the VPP binary API message 'pg_capture_reply'.
2624 // Generated from 'bin_api/vpe.api.json', line 677:
2626 // ["pg_capture_reply",
2627 // ["u16", "_vl_msg_id"],
2628 // ["u32", "context"],
2629 // ["i32", "retval"],
2630 // {"crc" : "0xf403693b"}
2633 type PgCaptureReply struct {
2637 func (*PgCaptureReply) GetMessageName() string {
2638 return "pg_capture_reply"
2640 func (*PgCaptureReply) GetMessageType() api.MessageType {
2641 return api.ReplyMessage
2643 func (*PgCaptureReply) GetCrcString() string {
2646 func NewPgCaptureReply() api.Message {
2647 return &PgCaptureReply{}
2650 // PgEnableDisable represents the VPP binary API message 'pg_enable_disable'.
2651 // Generated from 'bin_api/vpe.api.json', line 683:
2653 // ["pg_enable_disable",
2654 // ["u16", "_vl_msg_id"],
2655 // ["u32", "client_index"],
2656 // ["u32", "context"],
2657 // ["u8", "is_enabled"],
2658 // ["u32", "stream_name_length"],
2659 // ["u8", "stream_name", 0, "stream_name_length"],
2660 // {"crc" : "0x7d0b90ff"}
2663 type PgEnableDisable struct {
2665 StreamNameLength uint32 `struc:"sizeof=StreamName"`
2669 func (*PgEnableDisable) GetMessageName() string {
2670 return "pg_enable_disable"
2672 func (*PgEnableDisable) GetMessageType() api.MessageType {
2673 return api.RequestMessage
2675 func (*PgEnableDisable) GetCrcString() string {
2678 func NewPgEnableDisable() api.Message {
2679 return &PgEnableDisable{}
2682 // PgEnableDisableReply represents the VPP binary API message 'pg_enable_disable_reply'.
2683 // Generated from 'bin_api/vpe.api.json', line 692:
2685 // ["pg_enable_disable_reply",
2686 // ["u16", "_vl_msg_id"],
2687 // ["u32", "context"],
2688 // ["i32", "retval"],
2689 // {"crc" : "0x02253bd6"}
2692 type PgEnableDisableReply struct {
2696 func (*PgEnableDisableReply) GetMessageName() string {
2697 return "pg_enable_disable_reply"
2699 func (*PgEnableDisableReply) GetMessageType() api.MessageType {
2700 return api.ReplyMessage
2702 func (*PgEnableDisableReply) GetCrcString() string {
2705 func NewPgEnableDisableReply() api.Message {
2706 return &PgEnableDisableReply{}
2709 // IPSourceAndPortRangeCheckAddDel represents the VPP binary API message 'ip_source_and_port_range_check_add_del'.
2710 // Generated from 'bin_api/vpe.api.json', line 698:
2712 // ["ip_source_and_port_range_check_add_del",
2713 // ["u16", "_vl_msg_id"],
2714 // ["u32", "client_index"],
2715 // ["u32", "context"],
2716 // ["u8", "is_ipv6"],
2717 // ["u8", "is_add"],
2718 // ["u8", "mask_length"],
2719 // ["u8", "address", 16],
2720 // ["u8", "number_of_ranges"],
2721 // ["u16", "low_ports", 32],
2722 // ["u16", "high_ports", 32],
2723 // ["u32", "vrf_id"],
2724 // {"crc" : "0x0f8c6ba0"}
2727 type IPSourceAndPortRangeCheckAddDel struct {
2731 Address []byte `struc:"[16]byte"`
2732 NumberOfRanges uint8
2733 LowPorts []uint16 `struc:"[32]uint16"`
2734 HighPorts []uint16 `struc:"[32]uint16"`
2738 func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string {
2739 return "ip_source_and_port_range_check_add_del"
2741 func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType {
2742 return api.RequestMessage
2744 func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string {
2747 func NewIPSourceAndPortRangeCheckAddDel() api.Message {
2748 return &IPSourceAndPortRangeCheckAddDel{}
2751 // IPSourceAndPortRangeCheckAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.
2752 // Generated from 'bin_api/vpe.api.json', line 712:
2754 // ["ip_source_and_port_range_check_add_del_reply",
2755 // ["u16", "_vl_msg_id"],
2756 // ["u32", "context"],
2757 // ["i32", "retval"],
2758 // {"crc" : "0x35df8160"}
2761 type IPSourceAndPortRangeCheckAddDelReply struct {
2765 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string {
2766 return "ip_source_and_port_range_check_add_del_reply"
2768 func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType {
2769 return api.ReplyMessage
2771 func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string {
2774 func NewIPSourceAndPortRangeCheckAddDelReply() api.Message {
2775 return &IPSourceAndPortRangeCheckAddDelReply{}
2778 // IPSourceAndPortRangeCheckInterfaceAddDel represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.
2779 // Generated from 'bin_api/vpe.api.json', line 718:
2781 // ["ip_source_and_port_range_check_interface_add_del",
2782 // ["u16", "_vl_msg_id"],
2783 // ["u32", "client_index"],
2784 // ["u32", "context"],
2785 // ["u8", "is_add"],
2786 // ["u32", "sw_if_index"],
2787 // ["u32", "tcp_in_vrf_id"],
2788 // ["u32", "tcp_out_vrf_id"],
2789 // ["u32", "udp_in_vrf_id"],
2790 // ["u32", "udp_out_vrf_id"],
2791 // {"crc" : "0x4a6438f1"}
2794 type IPSourceAndPortRangeCheckInterfaceAddDel struct {
2803 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName() string {
2804 return "ip_source_and_port_range_check_interface_add_del"
2806 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType {
2807 return api.RequestMessage
2809 func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string {
2812 func NewIPSourceAndPortRangeCheckInterfaceAddDel() api.Message {
2813 return &IPSourceAndPortRangeCheckInterfaceAddDel{}
2816 // IPSourceAndPortRangeCheckInterfaceAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.
2817 // Generated from 'bin_api/vpe.api.json', line 730:
2819 // ["ip_source_and_port_range_check_interface_add_del_reply",
2820 // ["u16", "_vl_msg_id"],
2821 // ["u32", "context"],
2822 // ["i32", "retval"],
2823 // {"crc" : "0x6b940f04"}
2826 type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
2830 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName() string {
2831 return "ip_source_and_port_range_check_interface_add_del_reply"
2833 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType {
2834 return api.ReplyMessage
2836 func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string {
2839 func NewIPSourceAndPortRangeCheckInterfaceAddDelReply() api.Message {
2840 return &IPSourceAndPortRangeCheckInterfaceAddDelReply{}
2843 // DeleteSubif represents the VPP binary API message 'delete_subif'.
2844 // Generated from 'bin_api/vpe.api.json', line 736:
2847 // ["u16", "_vl_msg_id"],
2848 // ["u32", "client_index"],
2849 // ["u32", "context"],
2850 // ["u32", "sw_if_index"],
2851 // {"crc" : "0x6038f848"}
2854 type DeleteSubif struct {
2858 func (*DeleteSubif) GetMessageName() string {
2859 return "delete_subif"
2861 func (*DeleteSubif) GetMessageType() api.MessageType {
2862 return api.RequestMessage
2864 func (*DeleteSubif) GetCrcString() string {
2867 func NewDeleteSubif() api.Message {
2868 return &DeleteSubif{}
2871 // DeleteSubifReply represents the VPP binary API message 'delete_subif_reply'.
2872 // Generated from 'bin_api/vpe.api.json', line 743:
2874 // ["delete_subif_reply",
2875 // ["u16", "_vl_msg_id"],
2876 // ["u32", "context"],
2877 // ["i32", "retval"],
2878 // {"crc" : "0x9d6015dc"}
2881 type DeleteSubifReply struct {
2885 func (*DeleteSubifReply) GetMessageName() string {
2886 return "delete_subif_reply"
2888 func (*DeleteSubifReply) GetMessageType() api.MessageType {
2889 return api.ReplyMessage
2891 func (*DeleteSubifReply) GetCrcString() string {
2894 func NewDeleteSubifReply() api.Message {
2895 return &DeleteSubifReply{}
2898 // Punt represents the VPP binary API message 'punt'.
2899 // Generated from 'bin_api/vpe.api.json', line 749:
2902 // ["u16", "_vl_msg_id"],
2903 // ["u32", "client_index"],
2904 // ["u32", "context"],
2905 // ["u8", "is_add"],
2907 // ["u8", "l4_protocol"],
2908 // ["u16", "l4_port"],
2909 // {"crc" : "0x4559c976"}
2919 func (*Punt) GetMessageName() string {
2922 func (*Punt) GetMessageType() api.MessageType {
2923 return api.RequestMessage
2925 func (*Punt) GetCrcString() string {
2928 func NewPunt() api.Message {
2932 // PuntReply represents the VPP binary API message 'punt_reply'.
2933 // Generated from 'bin_api/vpe.api.json', line 759:
2936 // ["u16", "_vl_msg_id"],
2937 // ["u32", "context"],
2938 // ["i32", "retval"],
2939 // {"crc" : "0xcca27fbe"}
2942 type PuntReply struct {
2946 func (*PuntReply) GetMessageName() string {
2949 func (*PuntReply) GetMessageType() api.MessageType {
2950 return api.ReplyMessage
2952 func (*PuntReply) GetCrcString() string {
2955 func NewPuntReply() api.Message {
2959 // FeatureEnableDisable represents the VPP binary API message 'feature_enable_disable'.
2960 // Generated from 'bin_api/vpe.api.json', line 765:
2962 // ["feature_enable_disable",
2963 // ["u16", "_vl_msg_id"],
2964 // ["u32", "client_index"],
2965 // ["u32", "context"],
2966 // ["u32", "sw_if_index"],
2967 // ["u8", "enable"],
2968 // ["u8", "arc_name", 64],
2969 // ["u8", "feature_name", 64],
2970 // {"crc" : "0xbc86393b"}
2973 type FeatureEnableDisable struct {
2976 ArcName []byte `struc:"[64]byte"`
2977 FeatureName []byte `struc:"[64]byte"`
2980 func (*FeatureEnableDisable) GetMessageName() string {
2981 return "feature_enable_disable"
2983 func (*FeatureEnableDisable) GetMessageType() api.MessageType {
2984 return api.RequestMessage
2986 func (*FeatureEnableDisable) GetCrcString() string {
2989 func NewFeatureEnableDisable() api.Message {
2990 return &FeatureEnableDisable{}
2993 // FeatureEnableDisableReply represents the VPP binary API message 'feature_enable_disable_reply'.
2994 // Generated from 'bin_api/vpe.api.json', line 775:
2996 // ["feature_enable_disable_reply",
2997 // ["u16", "_vl_msg_id"],
2998 // ["u32", "context"],
2999 // ["i32", "retval"],
3000 // {"crc" : "0xf6e14373"}
3003 type FeatureEnableDisableReply struct {
3007 func (*FeatureEnableDisableReply) GetMessageName() string {
3008 return "feature_enable_disable_reply"
3010 func (*FeatureEnableDisableReply) GetMessageType() api.MessageType {
3011 return api.ReplyMessage
3013 func (*FeatureEnableDisableReply) GetCrcString() string {
3016 func NewFeatureEnableDisableReply() api.Message {
3017 return &FeatureEnableDisableReply{}