1 // Package ip represents the VPP binary API of the 'ip' VPP module.
2 // DO NOT EDIT. Generated from 'bin_api/ip.api.json'
5 import "git.fd.io/govpp.git/api"
7 // VlApiVersion contains version of the API.
8 const VlAPIVersion = 0x50fe2434
10 // FibPath represents the VPP binary API data type 'fib_path'.
11 // Generated from 'bin_api/ip.api.json', line 3:
14 // ["u32", "sw_if_index"],
16 // ["u8", "is_local"],
18 // ["u8", "is_unreach"],
19 // ["u8", "is_prohibit"],
21 // ["u8", "next_hop", 16],
22 // {"crc" : "0x315b1889"}
33 NextHop []byte `struc:"[16]byte"`
36 func (*FibPath) GetTypeName() string {
39 func (*FibPath) GetCrcString() string {
43 // IPFibDump represents the VPP binary API message 'ip_fib_dump'.
44 // Generated from 'bin_api/ip.api.json', line 16:
47 // ["u16", "_vl_msg_id"],
48 // ["u32", "client_index"],
49 // ["u32", "context"],
50 // {"crc" : "0x5fe56ca3"}
53 type IPFibDump struct {
56 func (*IPFibDump) GetMessageName() string {
59 func (*IPFibDump) GetMessageType() api.MessageType {
60 return api.RequestMessage
62 func (*IPFibDump) GetCrcString() string {
65 func NewIPFibDump() api.Message {
69 // IPFibDetails represents the VPP binary API message 'ip_fib_details'.
70 // Generated from 'bin_api/ip.api.json', line 22:
73 // ["u16", "_vl_msg_id"],
74 // ["u32", "context"],
75 // ["u32", "table_id"],
76 // ["u8", "address_length"],
77 // ["u8", "address", 4],
79 // ["vl_api_fib_path_t", "path", 0, "count"],
80 // {"crc" : "0xfd8c6584"}
83 type IPFibDetails struct {
86 Address []byte `struc:"[4]byte"`
87 Count uint32 `struc:"sizeof=Path"`
91 func (*IPFibDetails) GetMessageName() string {
92 return "ip_fib_details"
94 func (*IPFibDetails) GetMessageType() api.MessageType {
95 return api.ReplyMessage
97 func (*IPFibDetails) GetCrcString() string {
100 func NewIPFibDetails() api.Message {
101 return &IPFibDetails{}
104 // IP6FibDump represents the VPP binary API message 'ip6_fib_dump'.
105 // Generated from 'bin_api/ip.api.json', line 32:
108 // ["u16", "_vl_msg_id"],
109 // ["u32", "client_index"],
110 // ["u32", "context"],
111 // {"crc" : "0x25c89676"}
114 type IP6FibDump struct {
117 func (*IP6FibDump) GetMessageName() string {
118 return "ip6_fib_dump"
120 func (*IP6FibDump) GetMessageType() api.MessageType {
121 return api.RequestMessage
123 func (*IP6FibDump) GetCrcString() string {
126 func NewIP6FibDump() api.Message {
130 // IP6FibDetails represents the VPP binary API message 'ip6_fib_details'.
131 // Generated from 'bin_api/ip.api.json', line 38:
133 // ["ip6_fib_details",
134 // ["u16", "_vl_msg_id"],
135 // ["u32", "context"],
136 // ["u32", "table_id"],
137 // ["u8", "address_length"],
138 // ["u8", "address", 16],
140 // ["vl_api_fib_path_t", "path", 0, "count"],
141 // {"crc" : "0xe0825cb5"}
144 type IP6FibDetails struct {
147 Address []byte `struc:"[16]byte"`
148 Count uint32 `struc:"sizeof=Path"`
152 func (*IP6FibDetails) GetMessageName() string {
153 return "ip6_fib_details"
155 func (*IP6FibDetails) GetMessageType() api.MessageType {
156 return api.ReplyMessage
158 func (*IP6FibDetails) GetCrcString() string {
161 func NewIP6FibDetails() api.Message {
162 return &IP6FibDetails{}
165 // IPNeighborDump represents the VPP binary API message 'ip_neighbor_dump'.
166 // Generated from 'bin_api/ip.api.json', line 48:
168 // ["ip_neighbor_dump",
169 // ["u16", "_vl_msg_id"],
170 // ["u32", "client_index"],
171 // ["u32", "context"],
172 // ["u32", "sw_if_index"],
173 // ["u8", "is_ipv6"],
174 // {"crc" : "0x3289e160"}
177 type IPNeighborDump struct {
182 func (*IPNeighborDump) GetMessageName() string {
183 return "ip_neighbor_dump"
185 func (*IPNeighborDump) GetMessageType() api.MessageType {
186 return api.RequestMessage
188 func (*IPNeighborDump) GetCrcString() string {
191 func NewIPNeighborDump() api.Message {
192 return &IPNeighborDump{}
195 // IPNeighborDetails represents the VPP binary API message 'ip_neighbor_details'.
196 // Generated from 'bin_api/ip.api.json', line 56:
198 // ["ip_neighbor_details",
199 // ["u16", "_vl_msg_id"],
200 // ["u32", "context"],
201 // ["u8", "is_static"],
202 // ["u8", "is_ipv6"],
203 // ["u8", "mac_address", 6],
204 // ["u8", "ip_address", 16],
205 // {"crc" : "0x3a00e32a"}
208 type IPNeighborDetails struct {
211 MacAddress []byte `struc:"[6]byte"`
212 IPAddress []byte `struc:"[16]byte"`
215 func (*IPNeighborDetails) GetMessageName() string {
216 return "ip_neighbor_details"
218 func (*IPNeighborDetails) GetMessageType() api.MessageType {
219 return api.ReplyMessage
221 func (*IPNeighborDetails) GetCrcString() string {
224 func NewIPNeighborDetails() api.Message {
225 return &IPNeighborDetails{}
228 // IPNeighborAddDel represents the VPP binary API message 'ip_neighbor_add_del'.
229 // Generated from 'bin_api/ip.api.json', line 65:
231 // ["ip_neighbor_add_del",
232 // ["u16", "_vl_msg_id"],
233 // ["u32", "client_index"],
234 // ["u32", "context"],
235 // ["u32", "sw_if_index"],
237 // ["u8", "is_ipv6"],
238 // ["u8", "is_static"],
239 // ["u8", "is_no_adj_fib"],
240 // ["u8", "mac_address", 6],
241 // ["u8", "dst_address", 16],
242 // {"crc" : "0x5a0d070b"}
245 type IPNeighborAddDel struct {
251 MacAddress []byte `struc:"[6]byte"`
252 DstAddress []byte `struc:"[16]byte"`
255 func (*IPNeighborAddDel) GetMessageName() string {
256 return "ip_neighbor_add_del"
258 func (*IPNeighborAddDel) GetMessageType() api.MessageType {
259 return api.RequestMessage
261 func (*IPNeighborAddDel) GetCrcString() string {
264 func NewIPNeighborAddDel() api.Message {
265 return &IPNeighborAddDel{}
268 // IPNeighborAddDelReply represents the VPP binary API message 'ip_neighbor_add_del_reply'.
269 // Generated from 'bin_api/ip.api.json', line 78:
271 // ["ip_neighbor_add_del_reply",
272 // ["u16", "_vl_msg_id"],
273 // ["u32", "context"],
274 // ["i32", "retval"],
275 // {"crc" : "0xe5b0f318"}
278 type IPNeighborAddDelReply struct {
282 func (*IPNeighborAddDelReply) GetMessageName() string {
283 return "ip_neighbor_add_del_reply"
285 func (*IPNeighborAddDelReply) GetMessageType() api.MessageType {
286 return api.ReplyMessage
288 func (*IPNeighborAddDelReply) GetCrcString() string {
291 func NewIPNeighborAddDelReply() api.Message {
292 return &IPNeighborAddDelReply{}
295 // SetIPFlowHash represents the VPP binary API message 'set_ip_flow_hash'.
296 // Generated from 'bin_api/ip.api.json', line 84:
298 // ["set_ip_flow_hash",
299 // ["u16", "_vl_msg_id"],
300 // ["u32", "client_index"],
301 // ["u32", "context"],
302 // ["u32", "vrf_id"],
303 // ["u8", "is_ipv6"],
309 // ["u8", "reverse"],
310 // {"crc" : "0x92ad3798"}
313 type SetIPFlowHash struct {
324 func (*SetIPFlowHash) GetMessageName() string {
325 return "set_ip_flow_hash"
327 func (*SetIPFlowHash) GetMessageType() api.MessageType {
328 return api.RequestMessage
330 func (*SetIPFlowHash) GetCrcString() string {
333 func NewSetIPFlowHash() api.Message {
334 return &SetIPFlowHash{}
337 // SetIPFlowHashReply represents the VPP binary API message 'set_ip_flow_hash_reply'.
338 // Generated from 'bin_api/ip.api.json', line 98:
340 // ["set_ip_flow_hash_reply",
341 // ["u16", "_vl_msg_id"],
342 // ["u32", "context"],
343 // ["i32", "retval"],
344 // {"crc" : "0x35a9e5eb"}
347 type SetIPFlowHashReply struct {
351 func (*SetIPFlowHashReply) GetMessageName() string {
352 return "set_ip_flow_hash_reply"
354 func (*SetIPFlowHashReply) GetMessageType() api.MessageType {
355 return api.ReplyMessage
357 func (*SetIPFlowHashReply) GetCrcString() string {
360 func NewSetIPFlowHashReply() api.Message {
361 return &SetIPFlowHashReply{}
364 // SwInterfaceIP6ndRaConfig represents the VPP binary API message 'sw_interface_ip6nd_ra_config'.
365 // Generated from 'bin_api/ip.api.json', line 104:
367 // ["sw_interface_ip6nd_ra_config",
368 // ["u16", "_vl_msg_id"],
369 // ["u32", "client_index"],
370 // ["u32", "context"],
371 // ["u32", "sw_if_index"],
372 // ["u8", "suppress"],
373 // ["u8", "managed"],
375 // ["u8", "ll_option"],
376 // ["u8", "send_unicast"],
379 // ["u8", "default_router"],
380 // ["u32", "max_interval"],
381 // ["u32", "min_interval"],
382 // ["u32", "lifetime"],
383 // ["u32", "initial_count"],
384 // ["u32", "initial_interval"],
385 // {"crc" : "0xec4a29f6"}
388 type SwInterfaceIP6ndRaConfig struct {
402 InitialInterval uint32
405 func (*SwInterfaceIP6ndRaConfig) GetMessageName() string {
406 return "sw_interface_ip6nd_ra_config"
408 func (*SwInterfaceIP6ndRaConfig) GetMessageType() api.MessageType {
409 return api.RequestMessage
411 func (*SwInterfaceIP6ndRaConfig) GetCrcString() string {
414 func NewSwInterfaceIP6ndRaConfig() api.Message {
415 return &SwInterfaceIP6ndRaConfig{}
418 // SwInterfaceIP6ndRaConfigReply represents the VPP binary API message 'sw_interface_ip6nd_ra_config_reply'.
419 // Generated from 'bin_api/ip.api.json', line 124:
421 // ["sw_interface_ip6nd_ra_config_reply",
422 // ["u16", "_vl_msg_id"],
423 // ["u32", "context"],
424 // ["i32", "retval"],
425 // {"crc" : "0x16e25c5b"}
428 type SwInterfaceIP6ndRaConfigReply struct {
432 func (*SwInterfaceIP6ndRaConfigReply) GetMessageName() string {
433 return "sw_interface_ip6nd_ra_config_reply"
435 func (*SwInterfaceIP6ndRaConfigReply) GetMessageType() api.MessageType {
436 return api.ReplyMessage
438 func (*SwInterfaceIP6ndRaConfigReply) GetCrcString() string {
441 func NewSwInterfaceIP6ndRaConfigReply() api.Message {
442 return &SwInterfaceIP6ndRaConfigReply{}
445 // SwInterfaceIP6ndRaPrefix represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix'.
446 // Generated from 'bin_api/ip.api.json', line 130:
448 // ["sw_interface_ip6nd_ra_prefix",
449 // ["u16", "_vl_msg_id"],
450 // ["u32", "client_index"],
451 // ["u32", "context"],
452 // ["u32", "sw_if_index"],
453 // ["u8", "address", 16],
454 // ["u8", "address_length"],
455 // ["u8", "use_default"],
456 // ["u8", "no_advertise"],
457 // ["u8", "off_link"],
458 // ["u8", "no_autoconfig"],
459 // ["u8", "no_onlink"],
461 // ["u32", "val_lifetime"],
462 // ["u32", "pref_lifetime"],
463 // {"crc" : "0x5db6555c"}
466 type SwInterfaceIP6ndRaPrefix struct {
468 Address []byte `struc:"[16]byte"`
480 func (*SwInterfaceIP6ndRaPrefix) GetMessageName() string {
481 return "sw_interface_ip6nd_ra_prefix"
483 func (*SwInterfaceIP6ndRaPrefix) GetMessageType() api.MessageType {
484 return api.RequestMessage
486 func (*SwInterfaceIP6ndRaPrefix) GetCrcString() string {
489 func NewSwInterfaceIP6ndRaPrefix() api.Message {
490 return &SwInterfaceIP6ndRaPrefix{}
493 // SwInterfaceIP6ndRaPrefixReply represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix_reply'.
494 // Generated from 'bin_api/ip.api.json', line 147:
496 // ["sw_interface_ip6nd_ra_prefix_reply",
497 // ["u16", "_vl_msg_id"],
498 // ["u32", "context"],
499 // ["i32", "retval"],
500 // {"crc" : "0x8050adb3"}
503 type SwInterfaceIP6ndRaPrefixReply struct {
507 func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName() string {
508 return "sw_interface_ip6nd_ra_prefix_reply"
510 func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType() api.MessageType {
511 return api.ReplyMessage
513 func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString() string {
516 func NewSwInterfaceIP6ndRaPrefixReply() api.Message {
517 return &SwInterfaceIP6ndRaPrefixReply{}
520 // IP6ndProxyAddDel represents the VPP binary API message 'ip6nd_proxy_add_del'.
521 // Generated from 'bin_api/ip.api.json', line 153:
523 // ["ip6nd_proxy_add_del",
524 // ["u16", "_vl_msg_id"],
525 // ["u32", "client_index"],
526 // ["u32", "context"],
527 // ["u32", "sw_if_index"],
529 // ["u8", "address", 16],
530 // {"crc" : "0xc56f802d"}
533 type IP6ndProxyAddDel struct {
536 Address []byte `struc:"[16]byte"`
539 func (*IP6ndProxyAddDel) GetMessageName() string {
540 return "ip6nd_proxy_add_del"
542 func (*IP6ndProxyAddDel) GetMessageType() api.MessageType {
543 return api.RequestMessage
545 func (*IP6ndProxyAddDel) GetCrcString() string {
548 func NewIP6ndProxyAddDel() api.Message {
549 return &IP6ndProxyAddDel{}
552 // IP6ndProxyAddDelReply represents the VPP binary API message 'ip6nd_proxy_add_del_reply'.
553 // Generated from 'bin_api/ip.api.json', line 162:
555 // ["ip6nd_proxy_add_del_reply",
556 // ["u16", "_vl_msg_id"],
557 // ["u32", "context"],
558 // ["i32", "retval"],
559 // {"crc" : "0x00ddc2d5"}
562 type IP6ndProxyAddDelReply struct {
566 func (*IP6ndProxyAddDelReply) GetMessageName() string {
567 return "ip6nd_proxy_add_del_reply"
569 func (*IP6ndProxyAddDelReply) GetMessageType() api.MessageType {
570 return api.ReplyMessage
572 func (*IP6ndProxyAddDelReply) GetCrcString() string {
575 func NewIP6ndProxyAddDelReply() api.Message {
576 return &IP6ndProxyAddDelReply{}
579 // IP6ndProxyDetails represents the VPP binary API message 'ip6nd_proxy_details'.
580 // Generated from 'bin_api/ip.api.json', line 168:
582 // ["ip6nd_proxy_details",
583 // ["u16", "_vl_msg_id"],
584 // ["u32", "client_index"],
585 // ["u32", "context"],
586 // ["u32", "sw_if_index"],
587 // ["u8", "address", 16],
588 // {"crc" : "0xf805ccc1"}
591 type IP6ndProxyDetails struct {
593 Address []byte `struc:"[16]byte"`
596 func (*IP6ndProxyDetails) GetMessageName() string {
597 return "ip6nd_proxy_details"
599 func (*IP6ndProxyDetails) GetMessageType() api.MessageType {
600 return api.RequestMessage
602 func (*IP6ndProxyDetails) GetCrcString() string {
605 func NewIP6ndProxyDetails() api.Message {
606 return &IP6ndProxyDetails{}
609 // IP6ndProxyDump represents the VPP binary API message 'ip6nd_proxy_dump'.
610 // Generated from 'bin_api/ip.api.json', line 176:
612 // ["ip6nd_proxy_dump",
613 // ["u16", "_vl_msg_id"],
614 // ["u32", "client_index"],
615 // ["u32", "context"],
616 // {"crc" : "0x21597d88"}
619 type IP6ndProxyDump struct {
622 func (*IP6ndProxyDump) GetMessageName() string {
623 return "ip6nd_proxy_dump"
625 func (*IP6ndProxyDump) GetMessageType() api.MessageType {
626 return api.RequestMessage
628 func (*IP6ndProxyDump) GetCrcString() string {
631 func NewIP6ndProxyDump() api.Message {
632 return &IP6ndProxyDump{}
635 // SwInterfaceIP6EnableDisable represents the VPP binary API message 'sw_interface_ip6_enable_disable'.
636 // Generated from 'bin_api/ip.api.json', line 182:
638 // ["sw_interface_ip6_enable_disable",
639 // ["u16", "_vl_msg_id"],
640 // ["u32", "client_index"],
641 // ["u32", "context"],
642 // ["u32", "sw_if_index"],
644 // {"crc" : "0x4a4e5405"}
647 type SwInterfaceIP6EnableDisable struct {
652 func (*SwInterfaceIP6EnableDisable) GetMessageName() string {
653 return "sw_interface_ip6_enable_disable"
655 func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType {
656 return api.RequestMessage
658 func (*SwInterfaceIP6EnableDisable) GetCrcString() string {
661 func NewSwInterfaceIP6EnableDisable() api.Message {
662 return &SwInterfaceIP6EnableDisable{}
665 // SwInterfaceIP6EnableDisableReply represents the VPP binary API message 'sw_interface_ip6_enable_disable_reply'.
666 // Generated from 'bin_api/ip.api.json', line 190:
668 // ["sw_interface_ip6_enable_disable_reply",
669 // ["u16", "_vl_msg_id"],
670 // ["u32", "context"],
671 // ["i32", "retval"],
672 // {"crc" : "0xeb8b4a40"}
675 type SwInterfaceIP6EnableDisableReply struct {
679 func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string {
680 return "sw_interface_ip6_enable_disable_reply"
682 func (*SwInterfaceIP6EnableDisableReply) GetMessageType() api.MessageType {
683 return api.ReplyMessage
685 func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string {
688 func NewSwInterfaceIP6EnableDisableReply() api.Message {
689 return &SwInterfaceIP6EnableDisableReply{}
692 // SwInterfaceIP6SetLinkLocalAddress represents the VPP binary API message 'sw_interface_ip6_set_link_local_address'.
693 // Generated from 'bin_api/ip.api.json', line 196:
695 // ["sw_interface_ip6_set_link_local_address",
696 // ["u16", "_vl_msg_id"],
697 // ["u32", "client_index"],
698 // ["u32", "context"],
699 // ["u32", "sw_if_index"],
700 // ["u8", "address", 16],
701 // {"crc" : "0x3db6d52b"}
704 type SwInterfaceIP6SetLinkLocalAddress struct {
706 Address []byte `struc:"[16]byte"`
709 func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string {
710 return "sw_interface_ip6_set_link_local_address"
712 func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType() api.MessageType {
713 return api.RequestMessage
715 func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string {
718 func NewSwInterfaceIP6SetLinkLocalAddress() api.Message {
719 return &SwInterfaceIP6SetLinkLocalAddress{}
722 // SwInterfaceIP6SetLinkLocalAddressReply represents the VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'.
723 // Generated from 'bin_api/ip.api.json', line 204:
725 // ["sw_interface_ip6_set_link_local_address_reply",
726 // ["u16", "_vl_msg_id"],
727 // ["u32", "context"],
728 // ["i32", "retval"],
729 // {"crc" : "0x0a781e17"}
732 type SwInterfaceIP6SetLinkLocalAddressReply struct {
736 func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName() string {
737 return "sw_interface_ip6_set_link_local_address_reply"
739 func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType() api.MessageType {
740 return api.ReplyMessage
742 func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString() string {
745 func NewSwInterfaceIP6SetLinkLocalAddressReply() api.Message {
746 return &SwInterfaceIP6SetLinkLocalAddressReply{}
749 // IPAddDelRoute represents the VPP binary API message 'ip_add_del_route'.
750 // Generated from 'bin_api/ip.api.json', line 210:
752 // ["ip_add_del_route",
753 // ["u16", "_vl_msg_id"],
754 // ["u32", "client_index"],
755 // ["u32", "context"],
756 // ["u32", "next_hop_sw_if_index"],
757 // ["u32", "table_id"],
758 // ["u32", "classify_table_index"],
759 // ["u32", "next_hop_table_id"],
760 // ["u8", "create_vrf_if_needed"],
762 // ["u8", "is_drop"],
763 // ["u8", "is_unreach"],
764 // ["u8", "is_prohibit"],
765 // ["u8", "is_ipv6"],
766 // ["u8", "is_local"],
767 // ["u8", "is_classify"],
768 // ["u8", "is_multipath"],
769 // ["u8", "is_resolve_host"],
770 // ["u8", "is_resolve_attached"],
771 // ["u8", "not_last"],
772 // ["u8", "next_hop_weight"],
773 // ["u8", "dst_address_length"],
774 // ["u8", "dst_address", 16],
775 // ["u8", "next_hop_address", 16],
776 // ["u8", "next_hop_n_out_labels"],
777 // ["u32", "next_hop_via_label"],
778 // ["u32", "next_hop_out_label_stack", 0, "next_hop_n_out_labels"],
779 // {"crc" : "0xa0ab24bf"}
782 type IPAddDelRoute struct {
783 NextHopSwIfIndex uint32
785 ClassifyTableIndex uint32
786 NextHopTableID uint32
787 CreateVrfIfNeeded uint8
797 IsResolveAttached uint8
800 DstAddressLength uint8
801 DstAddress []byte `struc:"[16]byte"`
802 NextHopAddress []byte `struc:"[16]byte"`
803 NextHopNOutLabels uint8 `struc:"sizeof=NextHopOutLabelStack"`
804 NextHopViaLabel uint32
805 NextHopOutLabelStack []uint32
808 func (*IPAddDelRoute) GetMessageName() string {
809 return "ip_add_del_route"
811 func (*IPAddDelRoute) GetMessageType() api.MessageType {
812 return api.RequestMessage
814 func (*IPAddDelRoute) GetCrcString() string {
817 func NewIPAddDelRoute() api.Message {
818 return &IPAddDelRoute{}
821 // IPAddDelRouteReply represents the VPP binary API message 'ip_add_del_route_reply'.
822 // Generated from 'bin_api/ip.api.json', line 239:
824 // ["ip_add_del_route_reply",
825 // ["u16", "_vl_msg_id"],
826 // ["u32", "context"],
827 // ["i32", "retval"],
828 // {"crc" : "0xea57492b"}
831 type IPAddDelRouteReply struct {
835 func (*IPAddDelRouteReply) GetMessageName() string {
836 return "ip_add_del_route_reply"
838 func (*IPAddDelRouteReply) GetMessageType() api.MessageType {
839 return api.ReplyMessage
841 func (*IPAddDelRouteReply) GetCrcString() string {
844 func NewIPAddDelRouteReply() api.Message {
845 return &IPAddDelRouteReply{}
848 // IPMrouteAddDel represents the VPP binary API message 'ip_mroute_add_del'.
849 // Generated from 'bin_api/ip.api.json', line 245:
851 // ["ip_mroute_add_del",
852 // ["u16", "_vl_msg_id"],
853 // ["u32", "client_index"],
854 // ["u32", "context"],
855 // ["u32", "next_hop_sw_if_index"],
856 // ["u32", "table_id"],
857 // ["u32", "entry_flags"],
858 // ["u32", "itf_flags"],
859 // ["u32", "rpf_id"],
860 // ["u16", "grp_address_length"],
861 // ["u8", "create_vrf_if_needed"],
863 // ["u8", "is_ipv6"],
864 // ["u8", "is_local"],
865 // ["u8", "grp_address", 16],
866 // ["u8", "src_address", 16],
867 // {"crc" : "0x8f5f21a8"}
870 type IPMrouteAddDel struct {
871 NextHopSwIfIndex uint32
876 GrpAddressLength uint16
877 CreateVrfIfNeeded uint8
881 GrpAddress []byte `struc:"[16]byte"`
882 SrcAddress []byte `struc:"[16]byte"`
885 func (*IPMrouteAddDel) GetMessageName() string {
886 return "ip_mroute_add_del"
888 func (*IPMrouteAddDel) GetMessageType() api.MessageType {
889 return api.RequestMessage
891 func (*IPMrouteAddDel) GetCrcString() string {
894 func NewIPMrouteAddDel() api.Message {
895 return &IPMrouteAddDel{}
898 // IPMrouteAddDelReply represents the VPP binary API message 'ip_mroute_add_del_reply'.
899 // Generated from 'bin_api/ip.api.json', line 263:
901 // ["ip_mroute_add_del_reply",
902 // ["u16", "_vl_msg_id"],
903 // ["u32", "context"],
904 // ["i32", "retval"],
905 // {"crc" : "0x8cabe02c"}
908 type IPMrouteAddDelReply struct {
912 func (*IPMrouteAddDelReply) GetMessageName() string {
913 return "ip_mroute_add_del_reply"
915 func (*IPMrouteAddDelReply) GetMessageType() api.MessageType {
916 return api.ReplyMessage
918 func (*IPMrouteAddDelReply) GetCrcString() string {
921 func NewIPMrouteAddDelReply() api.Message {
922 return &IPMrouteAddDelReply{}
925 // IPMfibDump represents the VPP binary API message 'ip_mfib_dump'.
926 // Generated from 'bin_api/ip.api.json', line 269:
929 // ["u16", "_vl_msg_id"],
930 // ["u32", "client_index"],
931 // ["u32", "context"],
932 // {"crc" : "0xee61390e"}
935 type IPMfibDump struct {
938 func (*IPMfibDump) GetMessageName() string {
939 return "ip_mfib_dump"
941 func (*IPMfibDump) GetMessageType() api.MessageType {
942 return api.RequestMessage
944 func (*IPMfibDump) GetCrcString() string {
947 func NewIPMfibDump() api.Message {
951 // IPMfibDetails represents the VPP binary API message 'ip_mfib_details'.
952 // Generated from 'bin_api/ip.api.json', line 275:
954 // ["ip_mfib_details",
955 // ["u16", "_vl_msg_id"],
956 // ["u32", "context"],
957 // ["u32", "table_id"],
958 // ["u32", "entry_flags"],
959 // ["u32", "rpf_id"],
960 // ["u8", "address_length"],
961 // ["u8", "grp_address", 4],
962 // ["u8", "src_address", 4],
964 // ["vl_api_fib_path_t", "path", 0, "count"],
965 // {"crc" : "0x395e5699"}
968 type IPMfibDetails struct {
973 GrpAddress []byte `struc:"[4]byte"`
974 SrcAddress []byte `struc:"[4]byte"`
975 Count uint32 `struc:"sizeof=Path"`
979 func (*IPMfibDetails) GetMessageName() string {
980 return "ip_mfib_details"
982 func (*IPMfibDetails) GetMessageType() api.MessageType {
983 return api.ReplyMessage
985 func (*IPMfibDetails) GetCrcString() string {
988 func NewIPMfibDetails() api.Message {
989 return &IPMfibDetails{}
992 // IP6MfibDump represents the VPP binary API message 'ip6_mfib_dump'.
993 // Generated from 'bin_api/ip.api.json', line 288:
996 // ["u16", "_vl_msg_id"],
997 // ["u32", "client_index"],
998 // ["u32", "context"],
999 // {"crc" : "0x0839e143"}
1002 type IP6MfibDump struct {
1005 func (*IP6MfibDump) GetMessageName() string {
1006 return "ip6_mfib_dump"
1008 func (*IP6MfibDump) GetMessageType() api.MessageType {
1009 return api.RequestMessage
1011 func (*IP6MfibDump) GetCrcString() string {
1014 func NewIP6MfibDump() api.Message {
1015 return &IP6MfibDump{}
1018 // IP6MfibDetails represents the VPP binary API message 'ip6_mfib_details'.
1019 // Generated from 'bin_api/ip.api.json', line 294:
1021 // ["ip6_mfib_details",
1022 // ["u16", "_vl_msg_id"],
1023 // ["u32", "context"],
1024 // ["u32", "table_id"],
1025 // ["u8", "address_length"],
1026 // ["u8", "grp_address", 16],
1027 // ["u8", "src_address", 16],
1028 // ["u32", "count"],
1029 // ["vl_api_fib_path_t", "path", 0, "count"],
1030 // {"crc" : "0x921b153f"}
1033 type IP6MfibDetails struct {
1036 GrpAddress []byte `struc:"[16]byte"`
1037 SrcAddress []byte `struc:"[16]byte"`
1038 Count uint32 `struc:"sizeof=Path"`
1042 func (*IP6MfibDetails) GetMessageName() string {
1043 return "ip6_mfib_details"
1045 func (*IP6MfibDetails) GetMessageType() api.MessageType {
1046 return api.ReplyMessage
1048 func (*IP6MfibDetails) GetCrcString() string {
1051 func NewIP6MfibDetails() api.Message {
1052 return &IP6MfibDetails{}
1055 // IPAddressDetails represents the VPP binary API message 'ip_address_details'.
1056 // Generated from 'bin_api/ip.api.json', line 305:
1058 // ["ip_address_details",
1059 // ["u16", "_vl_msg_id"],
1060 // ["u32", "client_index"],
1061 // ["u32", "context"],
1062 // ["u8", "ip", 16],
1063 // ["u8", "prefix_length"],
1064 // ["u32", "sw_if_index"],
1065 // ["u8", "is_ipv6"],
1066 // {"crc" : "0x190d4266"}
1069 type IPAddressDetails struct {
1070 IP []byte `struc:"[16]byte"`
1076 func (*IPAddressDetails) GetMessageName() string {
1077 return "ip_address_details"
1079 func (*IPAddressDetails) GetMessageType() api.MessageType {
1080 return api.RequestMessage
1082 func (*IPAddressDetails) GetCrcString() string {
1085 func NewIPAddressDetails() api.Message {
1086 return &IPAddressDetails{}
1089 // IPAddressDump represents the VPP binary API message 'ip_address_dump'.
1090 // Generated from 'bin_api/ip.api.json', line 315:
1092 // ["ip_address_dump",
1093 // ["u16", "_vl_msg_id"],
1094 // ["u32", "client_index"],
1095 // ["u32", "context"],
1096 // ["u32", "sw_if_index"],
1097 // ["u8", "is_ipv6"],
1098 // {"crc" : "0x632e859a"}
1101 type IPAddressDump struct {
1106 func (*IPAddressDump) GetMessageName() string {
1107 return "ip_address_dump"
1109 func (*IPAddressDump) GetMessageType() api.MessageType {
1110 return api.RequestMessage
1112 func (*IPAddressDump) GetCrcString() string {
1115 func NewIPAddressDump() api.Message {
1116 return &IPAddressDump{}
1119 // IPDetails represents the VPP binary API message 'ip_details'.
1120 // Generated from 'bin_api/ip.api.json', line 323:
1123 // ["u16", "_vl_msg_id"],
1124 // ["u32", "sw_if_index"],
1125 // ["u32", "context"],
1126 // ["u8", "is_ipv6"],
1127 // {"crc" : "0x695c8227"}
1130 type IPDetails struct {
1136 func (*IPDetails) GetMessageName() string {
1139 func (*IPDetails) GetMessageType() api.MessageType {
1140 return api.OtherMessage
1142 func (*IPDetails) GetCrcString() string {
1145 func NewIPDetails() api.Message {
1149 // IPDump represents the VPP binary API message 'ip_dump'.
1150 // Generated from 'bin_api/ip.api.json', line 330:
1153 // ["u16", "_vl_msg_id"],
1154 // ["u32", "client_index"],
1155 // ["u32", "context"],
1156 // ["u8", "is_ipv6"],
1157 // {"crc" : "0x3c1e33e0"}
1160 type IPDump struct {
1164 func (*IPDump) GetMessageName() string {
1167 func (*IPDump) GetMessageType() api.MessageType {
1168 return api.RequestMessage
1170 func (*IPDump) GetCrcString() string {
1173 func NewIPDump() api.Message {
1177 // MfibSignalDump represents the VPP binary API message 'mfib_signal_dump'.
1178 // Generated from 'bin_api/ip.api.json', line 337:
1180 // ["mfib_signal_dump",
1181 // ["u16", "_vl_msg_id"],
1182 // ["u32", "client_index"],
1183 // ["u32", "context"],
1184 // {"crc" : "0xbbbbd40d"}
1187 type MfibSignalDump struct {
1190 func (*MfibSignalDump) GetMessageName() string {
1191 return "mfib_signal_dump"
1193 func (*MfibSignalDump) GetMessageType() api.MessageType {
1194 return api.RequestMessage
1196 func (*MfibSignalDump) GetCrcString() string {
1199 func NewMfibSignalDump() api.Message {
1200 return &MfibSignalDump{}
1203 // MfibSignalDetails represents the VPP binary API message 'mfib_signal_details'.
1204 // Generated from 'bin_api/ip.api.json', line 343:
1206 // ["mfib_signal_details",
1207 // ["u16", "_vl_msg_id"],
1208 // ["u32", "client_index"],
1209 // ["u32", "context"],
1210 // ["u32", "sw_if_index"],
1211 // ["u32", "table_id"],
1212 // ["u16", "grp_address_len"],
1213 // ["u8", "grp_address", 16],
1214 // ["u8", "src_address", 16],
1215 // ["u16", "ip_packet_len"],
1216 // ["u8", "ip_packet_data", 256],
1217 // {"crc" : "0x6ba92c72"}
1220 type MfibSignalDetails struct {
1223 GrpAddressLen uint16
1224 GrpAddress []byte `struc:"[16]byte"`
1225 SrcAddress []byte `struc:"[16]byte"`
1227 IPPacketData []byte `struc:"[256]byte"`
1230 func (*MfibSignalDetails) GetMessageName() string {
1231 return "mfib_signal_details"
1233 func (*MfibSignalDetails) GetMessageType() api.MessageType {
1234 return api.RequestMessage
1236 func (*MfibSignalDetails) GetCrcString() string {
1239 func NewMfibSignalDetails() api.Message {
1240 return &MfibSignalDetails{}