FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ip.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2018 Cisco and/or its affiliates.
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /** \file
18 
19  This file defines vpp IP control-plane API messages which are generally
20  called through a shared memory interface.
21 */
22 
23 option version = "3.2.0";
24 
25 import "vnet/interface_types.api";
26 import "vnet/fib/fib_types.api";
27 import "vnet/ethernet/ethernet_types.api";
28 import "vnet/mfib/mfib_types.api";
29 import "vnet/interface_types.api";
30 
31 /** \brief An IP table
32  @param is_ipv6 - V4 or V6 table
33  @param table_id - table ID associated with the route
34  This table ID will apply to both the unicast
35  and multicast FIBs
36  @param name - A client provided name/tag for the table. If this is
37  not set by the client, then VPP will generate something
38  meaningful.
39 */
40 typedef ip_table
41 {
42  u32 table_id;
43  bool is_ip6;
44  string name[64];
45 };
46 
47 /** \brief Add / del table request
48  A table can be added multiple times, but need be deleted only once.
49  @param client_index - opaque cookie to identify the sender
50  @param context - sender context, to match reply w/ request
51 */
52 autoreply define ip_table_add_del
53 {
56  bool is_add [default=true];
57  vl_api_ip_table_t table;
58 };
59 
60 /** \brief Allocate an unused table
61  A table can be added multiple times.
62  If a large number of tables are in use (millions), this API might
63  fail to find a free ID with very low probability, and will return
64  EAGAIN. A subsequent attempt may be successful.
65  @param client_index - opaque cookie to identify the sender
66  @param context - sender context, to match reply w/ request
67  @param table - if table.table_id == ~0, vpp allocates an unused table_id and
68  proceeds as in ip_table_add_del with is_add = true
69  if table.table_id != ~0, vpp uses the table.table_id and
70  proceeds as in ip_table_add_del with is_add = true
71  table.table_id should never be 0
72 */
73 define ip_table_allocate
74 {
77 
78  vl_api_ip_table_t table;
79 };
80 
81 define ip_table_allocate_reply
82 {
85 
86  vl_api_ip_table_t table;
87 };
88 
89 /** \brief Dump IP all fib tables
90  @param client_index - opaque cookie to identify the sender
91  @param context - sender context, to match reply w/ request
92 */
93 define ip_table_dump
94 {
97 };
98 
99 /** \brief IP table replace being
100 
101  The use-case is that, for some unspecified reason, the control plane
102  has a very different set of entries it wants in the table than VPP
103  currently has. The CP would thus like to 'replace' VPP's current table
104  only by specifying what the new set of entries shall be, i.e. it is not
105  going to delete anything that already exists.
106  the CP declares the start of this procedure with this begin_replace
107  API Call, and when it has populated all the entries it wants, it calls
108  the below end_replace API. From this point on it is of course free
109  to add and delete entries as usual.
110  The underlying mechanism by which VPP implements this replace is
111  purposefully left unspecified.
112 
113  @param client_index - opaque cookie to identify the sender
114  @param context - sender context, to match reply w/ request
115  @param table - The table to resync
116 */
117 autoreply define ip_table_replace_begin
118 {
121  vl_api_ip_table_t table;
122 };
123 
124 /** \brief IP table replace end
125 
126  see replace start/
127 
128  @param client_index - opaque cookie to identify the sender
129  @param context - sender context, to match reply w/ request
130  @param table - The table that has converged
131 */
132 autoreply define ip_table_replace_end
133 {
136  vl_api_ip_table_t table;
137 };
138 
139 /** \brief IP table flush
140  Flush a table of all routes
141  @param client_index - opaque cookie to identify the sender
142  @param context - sender context, to match reply w/ request
143  @param table - The table to flush
144 */
145 autoreply define ip_table_flush
146 {
149  vl_api_ip_table_t table;
150 };
151 
152 /** \brief IP FIB table response
153  @param context - sender context
154  @param table - description of the table
155 */
156 define ip_table_details
157 {
159  vl_api_ip_table_t table;
160 };
161 
162 /** \brief An IP route
163  @param table_id The IP table the route is in
164  @param stats_index The index of the route in the stats segment
165  @param prefix the prefix for the route
166  @param n_paths The number of paths the route has
167  @param src The entity adding the route. either 0 for default
168  or a value returned from fib_source_sdd.
169  @param paths The paths of the route
170 */
171 typedef ip_route
172 {
173  u32 table_id;
175  vl_api_prefix_t prefix;
177  vl_api_fib_path_t paths[n_paths];
178 };
179 typedef ip_route_v2
180 {
181  u32 table_id;
183  vl_api_prefix_t prefix;
184  u8 n_paths;
186  vl_api_fib_path_t paths[n_paths];
187 };
188 
189 /** \brief Add / del route request
190  @param client_index - opaque cookie to identify the sender
191  @param context - sender context, to match reply w/ request
192  @param is_multipath - Set to 1 if these paths will be added/removed
193  to/from the existing set, or 0 to replace
194  the existing set.
195  is_add=0 & is_multipath=0 implies delete all paths
196  @param is_add - Are the paths being added or removed
197 */
198 define ip_route_add_del
199 {
202  bool is_add [default=true];
204  vl_api_ip_route_t route;
205 };
206 define ip_route_add_del_v2
207 {
208  option in_progress;
211  bool is_add [default=true];
213  vl_api_ip_route_v2_t route;
214 };
215 define ip_route_add_del_reply
216 {
220 };
221 define ip_route_add_del_v2_reply
222 {
223  option in_progress;
227 };
228 
229 /** \brief Dump IP routes from a table
230  @param client_index - opaque cookie to identify the sender
231  @param src The entity adding the route. either 0 for default
232  or a value returned from fib_source_sdd.
233  @param table - The table from which to dump routes (ony ID an AF are needed)
234 */
235 define ip_route_dump
236 {
239  vl_api_ip_table_t table;
240 };
241 define ip_route_v2_dump
242 {
243  option in_progress;
246  /* vl_api_fib_source_t src; */
248  vl_api_ip_table_t table;
249 };
250 
251 /** \brief IP FIB table entry response
252  @param route The route entry in the table
253 */
254 define ip_route_details
255 {
257  vl_api_ip_route_t route;
258 };
259 define ip_route_v2_details
260 {
261  option in_progress;
263  vl_api_ip_route_v2_t route;
264 };
265 
266 /** \brief Lookup IP route from a table
267  @param client_index - opaque cookie to identify the sender
268  @param table_id - The IP table to look the route up in
269  @param exact - 0 for normal route lookup, 1 for exact match only
270  @param prefix - The prefix (or host) for route lookup.
271 */
272 define ip_route_lookup
273 {
278  vl_api_prefix_t prefix;
279 };
280 define ip_route_lookup_v2
281 {
282  option in_progress;
287  vl_api_prefix_t prefix;
288 };
289 
290 /** \brief IP FIB table lookup response
291  @param retval - return code of the lookup
292  @param route - The route entry in the table if found
293 */
294 define ip_route_lookup_reply
295 {
298  vl_api_ip_route_t route;
299 };
300 define ip_route_lookup_v2_reply
301 {
302  option in_progress;
305  vl_api_ip_route_v2_t route;
306 };
307 
308 /** \brief Set the ip flow hash config for a fib request
309  @param client_index - opaque cookie to identify the sender
310  @param context - sender context, to match reply w/ request
311  @param vrf_id - vrf/fib id
312  @param is_ipv6 - if non-zero the fib is ip6, else ip4
313  @param src - if non-zero include src in flow hash
314  @param dst - if non-zero include dst in flow hash
315  @param sport - if non-zero include sport in flow hash
316  @param dport - if non-zero include dport in flow hash
317  @param proto -if non-zero include proto in flow hash
318  @param reverse - if non-zero include reverse in flow hash
319  @param symmetric - if non-zero include symmetry in flow hash
320 */
321 autoreply define set_ip_flow_hash
322 {
323  option deprecated;
327  bool is_ipv6;
328  bool src;
329  bool dst;
330  bool sport;
331  bool dport;
332  bool proto;
333  bool reverse;
334  bool symmetric;
335 };
336 
337 /**
338  @brief flow hash settings for an IP table
339  @param src - include src in flow hash
340  @param dst - include dst in flow hash
341  @param sport - include sport in flow hash
342  @param dport - include dport in flow hash
343  @param proto - include proto in flow hash
344  @param reverse - include reverse in flow hash
345  @param symmetric - include symmetry in flow hash
346  @param flowlabel - include flowlabel in flow hash
347 */
348 enumflag ip_flow_hash_config
349 {
350  IP_API_FLOW_HASH_SRC_IP = 0x01,
351  IP_API_FLOW_HASH_DST_IP = 0x02,
352  IP_API_FLOW_HASH_SRC_PORT = 0x04,
353  IP_API_FLOW_HASH_DST_PORT = 0x08,
354  IP_API_FLOW_HASH_PROTO = 0x10,
355  IP_API_FLOW_HASH_REVERSE = 0x20,
356  IP_API_FLOW_HASH_SYMETRIC = 0x40,
357  IP_API_FLOW_HASH_FLOW_LABEL = 0x80,
358 };
359 
360 autoreply define set_ip_flow_hash_v2
361 {
365  vl_api_address_family_t af;
366  vl_api_ip_flow_hash_config_t flow_hash_config;
367 };
368 
369 /** \brief Set the ip flow hash router ID
370  @param client_index - opaque cookie to identify the sender
371  @param context - sender context, to match reply w/ request
372  @param router_id - The ID of the router. Mixed into the hash.
373  Used to prevent polarisation across a network,
374  since each router is assumed to have a different ID
375 */
376 autoreply define set_ip_flow_hash_router_id
377 {
381 };
382 
383 /** \brief IPv6 interface enable / disable request
384  @param client_index - opaque cookie to identify the sender
385  @param context - sender context, to match reply w/ request
386  @param sw_if_index - interface used to reach neighbor
387  @param enable - if non-zero enable ip6 on interface, else disable
388 */
389 autoreply define sw_interface_ip6_enable_disable
390 {
393  vl_api_interface_index_t sw_if_index;
394  bool enable; /* set to true if enable */
395 };
396 
397 /** \brief Dump IP multicast fib table
398  @param client_index - opaque cookie to identify the sender
399 */
400 define ip_mtable_dump
401 {
404 };
405 define ip_mtable_details
406 {
409  vl_api_ip_table_t table;
410 };
411 
412 /** \brief Add / del route request
413 
414  Adds a route, consisting both of the MFIB entry to match packets
415  (which may already exist) and a path to send those packets down.
416  Routes can be entered repeatedly to add multiple paths. Deletions are
417  per-path.
418 
419  @param client_index - opaque cookie to identify the sender
420  @param context - sender context, to match reply w/ request
421  @param table_id - fib table /vrf associated with the route
422  @param is_add - true if adding a route; false if deleting one
423  @param is_ipv6 - true iff all the addresses are v6
424  @param entry_flags - see fib_entry_flag_t
425  @param itf_flags - see mfib_entry_flags_t
426  @param next_hop_afi - see dpo_proto_t; the type of destination description
427  @param src_address - the source of the packet
428  @param grp_address - the group the packet is destined to
429  @param nh_address - the nexthop to forward the packet to
430  @param next_hop_sw_if_index - interface to emit packet on
431 
432  BIER AFIs use the BIER imposition ID. v4 and v6 AFIs use either the
433  interface or the nexthop address.
434 
435  Note that if the route is source-specific (S is supplied, not all 0s),
436  the prefix match is treated as exact (prefixlen /32 or /128).
437 
438  FIXME not complete yet
439 */
440 typedef ip_mroute
441 {
442  u32 table_id;
443  vl_api_mfib_entry_flags_t entry_flags;
445  vl_api_mprefix_t prefix;
446  u8 n_paths;
447  vl_api_mfib_path_t paths[n_paths];
448 };
449 
450 define ip_mroute_add_del
451 {
454  bool is_add [default=true];
456  vl_api_ip_mroute_t route;
457 };
458 define ip_mroute_add_del_reply
459 {
463 };
464 
465 /** \brief Dump IP multicast fib table
466  @param table - The table from which to dump routes (ony ID an AF are needed)
467 */
468 define ip_mroute_dump
469 {
472  vl_api_ip_table_t table;
473 };
474 
475 /** \brief IP Multicast Route Details
476  @param route - Details of the route
477 */
478 define ip_mroute_details
479 {
481  vl_api_ip_mroute_t route;
482 };
483 
484 define ip_address_details
485 {
487  vl_api_interface_index_t sw_if_index;
488  vl_api_address_with_prefix_t prefix;
489 };
490 
491 define ip_address_dump
492 {
495  vl_api_interface_index_t sw_if_index;
496  bool is_ipv6;
497 };
498 
499 /** \brief IP unnumbered configurations
500  @param sw_if_index The interface that has unnumbered configuration
501  @param ip_sw_if_index The IP interface that it is unnumbered to
502 */
503 define ip_unnumbered_details
504 {
506  vl_api_interface_index_t sw_if_index;
507  vl_api_interface_index_t ip_sw_if_index;
508 };
509 
510 /** \brief Dump IP unnumbered configurations
511  @param sw_if_index ~0 for all interfaces, else the interface desired
512 */
513 define ip_unnumbered_dump
514 {
517  vl_api_interface_index_t sw_if_index [default=0xffffffff];
518 };
519 
520 define ip_details
521 {
523  vl_api_interface_index_t sw_if_index;
524  bool is_ipv6;
525 };
526 
527 define ip_dump
528 {
531  bool is_ipv6;
532 };
533 
534 define mfib_signal_dump
535 {
538 };
539 
540 define mfib_signal_details
541 {
543  vl_api_interface_index_t sw_if_index;
545  vl_api_mprefix_t prefix;
547  u8 ip_packet_data[256];
548 };
549 
550 /** \brief IP punt policer
551  @param client_index - opaque cookie to identify the sender
552  @param context - sender context, to match reply w/ request
553  @param is_add - 1 to add neighbor, 0 to delete
554  @param is_ipv6 - 1 for IPv6 neighbor, 0 for IPv4
555  @param policer_index - Index of policer to use
556 */
557 autoreply define ip_punt_police
558 {
562  bool is_add [default=true];
563  bool is_ip6;
564 };
565 
566 /** \brief Punt redirect type
567  @param rx_sw_if_index - specify the original RX interface of traffic
568  that should be redirected. ~0 means any interface.
569  @param tx_sw_if_index - the TX interface to which traffic should be
570  redirected.
571  @param nh - the next-hop to redirect the traffic to.
572  @param is_ipv6 - 1 for IPv6 neighbor, 0 for IPv4
573 */
574 typedef punt_redirect
575 {
576  vl_api_interface_index_t rx_sw_if_index;
577  vl_api_interface_index_t tx_sw_if_index;
578  vl_api_address_t nh;
579 };
580 
581 /** \brief IP punt redirect
582  @param client_index - opaque cookie to identify the sender
583  @param context - sender context, to match reply w/ request
584  @param punt - punt definition
585  @param is_add - 1 to add neighbor, 0 to delete
586 */
587 autoreply define ip_punt_redirect
588 {
589  option deprecated;
592  vl_api_punt_redirect_t punt;
593  bool is_add [default=true];
594 };
595 
596 define ip_punt_redirect_dump
597 {
600  vl_api_interface_index_t sw_if_index;
601  bool is_ipv6;
602 };
603 
604 define ip_punt_redirect_details
605 {
607  vl_api_punt_redirect_t punt;
608 };
609 
610 /** \brief Punt redirect type
611  @param rx_sw_if_index - specify the original RX interface of traffic
612  that should be redirected. ~0 means any interface.
613  @param af - Address family (ip4 or ip6)
614  @param paths - the TX paths to which traffic should be redirected.
615 */
616 typedef punt_redirect_v2
617 {
618  vl_api_interface_index_t rx_sw_if_index [default=0xffffffff];
619  vl_api_address_family_t af;
620  u32 n_paths;
621  vl_api_fib_path_t paths[n_paths];
622 };
623 
624 /** \brief Add IP punt redirect rule
625  @param client_index - opaque cookie to identify the sender
626  @param context - sender context, to match reply w/ request
627  @param punt - punt definition
628  @param is_add - 1 to add punt_redirect rule, 0 to delete
629 */
630 autoreply define add_del_ip_punt_redirect_v2
631 {
634  bool is_add [default=true];
635  vl_api_punt_redirect_v2_t punt;
636 };
637 
638 define ip_punt_redirect_v2_dump
639 {
642  vl_api_interface_index_t sw_if_index;
643  vl_api_address_family_t af;
644 };
645 
646 define ip_punt_redirect_v2_details
647 {
649  vl_api_punt_redirect_v2_t punt;
650 };
651 
652 autoreply define ip_container_proxy_add_del
653 {
656  vl_api_prefix_t pfx;
657  vl_api_interface_index_t sw_if_index;
658  bool is_add [default=true];
659 };
660 
661 define ip_container_proxy_dump
662 {
665 };
666 
667 define ip_container_proxy_details
668 {
670  vl_api_interface_index_t sw_if_index;
671  vl_api_prefix_t prefix;
672 };
673 
674 /** \brief Configure IP source and L4 port-range check
675  @param client_index - opaque cookie to identify the sender
676  @param context - sender context, to match reply w/ request
677  @param is_ip6 - 1 if source address type is IPv6
678  @param is_add - 1 if add, 0 if delete
679  @param ip - prefix to match
680  @param number_of_ranges - length of low_port and high_port arrays (must match)
681  @param low_ports[32] - up to 32 low end of port range entries (must have corresponding high_ports entry)
682  @param high_ports[32] - up to 32 high end of port range entries (must have corresponding low_ports entry)
683  @param vrf_id - fib table/vrf id to associate the source and port-range check with
684  @note To specify a single port set low_port and high_port entry the same
685 */
686 autoreply define ip_source_and_port_range_check_add_del
687 {
690  bool is_add [default=true];
691  vl_api_prefix_t prefix;
693  u16 low_ports[32];
694  u16 high_ports[32];
696 };
697 
698 /** \brief Set interface source and L4 port-range request
699  @param client_index - opaque cookie to identify the sender
700  @param context - sender context, to match reply w/ request
701  @param interface_id - interface index
702  @param tcp_vrf_id - VRF associated with source and TCP port-range check
703  @param udp_vrf_id - VRF associated with source and TCP port-range check
704 */
705 autoreply define ip_source_and_port_range_check_interface_add_del
706 {
709  bool is_add [default=true];
710  vl_api_interface_index_t sw_if_index;
715 };
716 
717 /** \brief IPv6 set link local address on interface request
718  @param client_index - opaque cookie to identify the sender
719  @param context - sender context, to match reply w/ request
720  @param sw_if_index - interface to set link local on
721  @param ip - the new link local address
722 */
723 autoreply define sw_interface_ip6_set_link_local_address
724 {
727  vl_api_interface_index_t sw_if_index;
728  vl_api_ip6_address_t ip;
729 };
730 
731 /** \brief IPv6 get link local address on interface request
732  @param client_index - opaque cookie to identify the sender
733  @param context - sender context, to match reply w/ request
734  @param sw_if_index - interface to set link local on
735 */
736 define sw_interface_ip6_get_link_local_address
737 {
740  vl_api_interface_index_t sw_if_index;
741 };
742 
743 /** \brief IPv6 link local address detail
744  @param context - sender context, to match reply w/ request
745  @param ip - the link local address
746 */
747 define sw_interface_ip6_get_link_local_address_reply
748 {
751  vl_api_ip6_address_t ip;
752 };
753 
754 /** \brief IOAM enable : Enable in-band OAM
755  @param id - profile id
756  @param seqno - To enable Seqno Processing
757  @param analyse - Enabling analysis of iOAM at decap node
758  @param pow_enable - Proof of Work enabled or not flag
759  @param trace_enable - iOAM Trace enabled or not flag
760 */
761 autoreply define ioam_enable
762 {
766  bool seqno;
767  bool analyse;
771 };
772 
773 /** \brief iOAM disable
774  @param client_index - opaque cookie to identify the sender
775  @param context - sender context, to match reply w/ request
776  @param index - MAP Domain index
777 */
778 autoreply define ioam_disable
779 {
783 };
784 
786 {
789 };
790 
791 autoreply define ip_reassembly_set
792 {
799  bool is_ip6;
800  vl_api_ip_reass_type_t type;
801 };
802 
803 define ip_reassembly_get
804 {
807  bool is_ip6;
808  vl_api_ip_reass_type_t type;
809 };
810 
811 define ip_reassembly_get_reply
812 {
819  bool is_ip6;
820 };
821 
822 /** \brief Enable/disable reassembly feature
823  @param client_index - opaque cookie to identify the sender
824  @param context - sender context, to match reply w/ request
825  @param sw_if_index - interface to enable/disable feature on
826  @param enable_ip4 - enable ip4 reassembly if non-zero, disable if 0
827  @param enable_ip6 - enable ip6 reassembly if non-zero, disable if 0
828 */
829 autoreply define ip_reassembly_enable_disable
830 {
833  vl_api_interface_index_t sw_if_index;
836  vl_api_ip_reass_type_t type;
837 };
838 
839 /**
840  @brief Set a Path MTU value. i.e. a MTU value for a given neighbour.
841  The neighbour can be described as attached (w/ interface and next-hop)
842  or remote (w/ table_id and next-hop);
843  @param client_index - opaque cookie to identify the sender
844  @param context - sender context, to match reply w/ request
845  @param table_id - table-ID for next-hop
846  @param nh - Next hop
847  @param path_mtu - value to set, 0 is disable.
848 */
849 typedef ip_path_mtu
850 {
851  u32 client_index;
854  vl_api_address_t nh;
856 };
857 autoreply define ip_path_mtu_update
858 {
861  vl_api_ip_path_mtu_t pmtu;
862 };
864 {
868 };
869 define ip_path_mtu_get_reply
870 {
874 };
875 define ip_path_mtu_details
876 {
878  vl_api_ip_path_mtu_t pmtu;
879 };
881  rpc ip_path_mtu_get returns ip_path_mtu_get_reply
882  stream ip_path_mtu_details;
883 };
884 
886 {
889 };
890 autoreply define ip_path_mtu_replace_end
891 {
894 };
895 
896 /*
897  * Local Variables:
898  * eval: (c-set-style "gnu")
899  * End:
900  */
stats_index
u32 stats_index
Definition: ip.api:174
vl_api_ip_dump_t
Definition: ip.api:527
vl_api_ip_mroute_add_del_t::context
u32 context
Definition: ip.api:453
vl_api_ip_route_lookup_v2_t
Definition: ip.api:280
vl_api_ip_table_flush_t::client_index
u32 client_index
Definition: ip.api:147
vl_api_ip_address_dump_t::client_index
u32 client_index
Definition: ip.api:493
vl_api_ip_reassembly_enable_disable_t::client_index
u32 client_index
Definition: ip.api:831
vl_api_ip_source_and_port_range_check_add_del_t::vrf_id
u32 vrf_id
Definition: ip.api:695
vl_api_ip_punt_redirect_v2_dump_t::af
vl_api_address_family_t af
Definition: ip.api:643
vl_api_ip_table_dump_t::context
u32 context
Definition: ip.api:96
vl_api_mfib_signal_details_t::context
u32 context
Definition: ip.api:542
vl_api_ip_route_add_del_reply_t
Definition: ip.api:215
vl_api_ip_path_mtu_get_reply_t
Definition: ip.api:869
vl_api_ip_table_allocate_t::context
u32 context
Definition: ip.api:76
vl_api_ip_punt_redirect_dump_t
Definition: ip.api:596
vl_api_sw_interface_ip6_enable_disable_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:393
vl_api_set_ip_flow_hash_v2_t::client_index
u32 client_index
Definition: ip.api:362
vl_api_ip_path_mtu_update_t::pmtu
vl_api_ip_path_mtu_t pmtu
Definition: ip.api:861
table_id
u32 table_id
Definition: ip.api:853
vl_api_ip_mroute_add_del_reply_t::stats_index
u32 stats_index
Definition: ip.api:462
vl_api_ip_reassembly_set_t::client_index
u32 client_index
Definition: ip.api:793
vl_api_ip_container_proxy_add_del_t::is_add
bool is_add[default=true]
Definition: ip.api:658
vl_api_ip_path_mtu_replace_end_t
Definition: ip.api:890
vl_api_ip_unnumbered_dump_t
Dump IP unnumbered configurations.
Definition: ip.api:513
vl_api_ip_path_mtu_replace_begin_t::client_index
u32 client_index
Definition: ip.api:887
vl_api_mfib_signal_details_t::ip_packet_data
u8 ip_packet_data[256]
Definition: ip.api:547
nh
vl_api_address_t nh
Definition: ip.api:578
vl_api_ip_source_and_port_range_check_add_del_t::context
u32 context
Definition: ip.api:689
vl_api_ip_table_replace_begin_t::context
u32 context
Definition: ip.api:120
vl_api_ip_address_dump_t
Definition: ip.api:491
ip_path_mtu_replace_end
int ip_path_mtu_replace_end(void)
Definition: ip_path_mtu.c:728
vl_api_ip_reassembly_set_t::timeout_ms
u32 timeout_ms
Definition: ip.api:795
vl_api_set_ip_flow_hash_t::sport
bool sport
Definition: ip.api:330
vl_api_ip_route_dump_t::context
u32 context
Definition: ip.api:238
vl_api_ip_path_mtu_update_t
Definition: ip.api:857
vl_api_ip_punt_police_t::policer_index
u32 policer_index
Definition: ip.api:561
vl_api_ip_table_allocate_reply_t
Definition: ip.api:81
vl_api_ioam_enable_t::node_id
u32 node_id
Definition: ip.api:770
vl_api_ip_punt_police_t
IP punt policer.
Definition: ip.api:557
vl_api_ip_address_details_t
Definition: ip.api:484
vl_api_ip_route_lookup_reply_t::retval
i32 retval
Definition: ip.api:297
vl_api_set_ip_flow_hash_v2_t
Definition: ip.api:360
vl_api_ip_mroute_add_del_t::is_add
bool is_add[default=true]
Definition: ip.api:454
vl_api_ioam_disable_t::context
u32 context
Definition: ip.api:781
vl_api_ip_table_add_del_t::context
u32 context
Definition: ip.api:55
ip_reass_type
ip_reass_type
Definition: ip.api:785
vl_api_ip_address_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:487
punt_redirect_v2
typedef punt_redirect_v2
Punt redirect type.
Definition: ip.api:617
vl_api_ip_mtable_dump_t::client_index
u32 client_index
Definition: ip.api:402
entry_flags
vl_api_mfib_entry_flags_t entry_flags
Definition: ip.api:443
ip_route_v2
typedef ip_route_v2
Definition: ip.api:180
vl_api_ip_route_dump_t::client_index
u32 client_index
Definition: ip.api:237
ip_path_mtu_replace_begin
int ip_path_mtu_replace_begin(void)
Definition: ip_path_mtu.c:718
vl_api_ip_path_mtu_get_reply_t::context
u32 context
Definition: ip.api:871
vl_api_ip_path_mtu_details_t::pmtu
vl_api_ip_path_mtu_t pmtu
Definition: ip.api:878
vl_api_ip_punt_redirect_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:600
vl_api_ip_unnumbered_dump_t::context
u32 context
Definition: ip.api:516
vl_api_ioam_disable_t
iOAM disable
Definition: ip.api:778
vl_api_ip_punt_redirect_v2_dump_t::client_index
u32 client_index
Definition: ip.api:640
vl_api_ip_punt_redirect_v2_details_t
Definition: ip.api:646
vl_api_ip_reassembly_get_reply_t::max_reassemblies
u32 max_reassemblies
Definition: ip.api:816
vl_api_ip_route_lookup_t::prefix
vl_api_prefix_t prefix
Definition: ip.api:278
vl_api_ip_route_v2_dump_t::table
vl_api_ip_table_t table
Definition: ip.api:248
vl_api_ip_mroute_dump_t
Dump IP multicast fib table.
Definition: ip.api:468
vl_api_ip_path_mtu_update_t::client_index
u32 client_index
Definition: ip.api:859
vl_api_ip_address_details_t::context
u32 context
Definition: ip.api:486
vl_api_ip_table_add_del_t::client_index
u32 client_index
Definition: ip.api:54
vl_api_ip_container_proxy_add_del_t::client_index
u32 client_index
Definition: ip.api:654
vl_api_set_ip_flow_hash_t::is_ipv6
bool is_ipv6
Definition: ip.api:327
vl_api_ip_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:523
u16
unsigned short u16
Definition: types.h:57
vl_api_mfib_signal_details_t::prefix
vl_api_mprefix_t prefix
Definition: ip.api:545
vl_api_ip_route_v2_dump_t
Definition: ip.api:241
vl_api_ip_source_and_port_range_check_add_del_t::low_ports
u16 low_ports[32]
Definition: ip.api:693
ip_path_mtu_get
static_always_inline ip_pmtu_t * ip_path_mtu_get(index_t index)
Definition: ip_path_mtu.h:115
vl_api_ip_mroute_dump_t::context
u32 context
Definition: ip.api:471
vl_api_mfib_signal_dump_t::client_index
u32 client_index
Definition: ip.api:536
vl_api_ip_unnumbered_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index[default=0xffffffff]
Definition: ip.api:517
vl_api_ip_route_dump_t
Dump IP routes from a table.
Definition: ip.api:235
vl_api_ip_route_details_t
IP FIB table entry response.
Definition: ip.api:254
vl_api_ip_punt_redirect_v2_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:642
vl_api_set_ip_flow_hash_t
Set the ip flow hash config for a fib request.
Definition: ip.api:321
vl_api_ip_table_replace_begin_t::table
vl_api_ip_table_t table
Definition: ip.api:121
vl_api_ip_mtable_dump_t
Dump IP multicast fib table.
Definition: ip.api:400
vl_api_ip_table_dump_t::client_index
u32 client_index
Definition: ip.api:95
vl_api_ip_punt_redirect_t::deprecated
option deprecated
Definition: ip.api:589
vl_api_ip_table_replace_begin_t::client_index
u32 client_index
Definition: ip.api:119
vl_api_ioam_enable_t::id
u16 id
Definition: ip.api:765
vl_api_ip_route_add_del_reply_t::retval
i32 retval
Definition: ip.api:218
vl_api_ip_reassembly_set_t::max_reassembly_length
u32 max_reassembly_length
Definition: ip.api:797
vl_api_ip_mroute_add_del_t::is_multipath
bool is_multipath
Definition: ip.api:455
vl_api_ip_table_details_t::context
u32 context
Definition: ip.api:158
vl_api_ip_source_and_port_range_check_interface_add_del_t::tcp_in_vrf_id
u32 tcp_in_vrf_id
Definition: ip.api:711
vl_api_add_del_ip_punt_redirect_v2_t::client_index
u32 client_index
Definition: ip.api:632
vl_api_ip_punt_redirect_dump_t::is_ipv6
bool is_ipv6
Definition: ip.api:601
vl_api_ip_punt_redirect_t::client_index
u32 client_index
Definition: ip.api:590
vl_api_set_ip_flow_hash_v2_t::context
u32 context
Definition: ip.api:363
vl_api_ip_punt_redirect_v2_details_t::context
u32 context
Definition: ip.api:648
vl_api_set_ip_flow_hash_router_id_t::context
u32 context
Definition: ip.api:379
ip_route
typedef ip_route
An IP route.
Definition: ip.api:172
vl_api_ip_route_lookup_v2_reply_t::in_progress
option in_progress
Definition: ip.api:302
vl_api_ip_reassembly_enable_disable_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:833
vl_api_ip_container_proxy_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:670
vl_api_ip_mroute_details_t::context
u32 context
Definition: ip.api:480
vl_api_ip_route_v2_dump_t::context
u32 context
Definition: ip.api:245
vl_api_ip_path_mtu_replace_begin_t::context
u32 context
Definition: ip.api:888
vl_api_ip_container_proxy_dump_t::context
u32 context
Definition: ip.api:664
i32
signed int i32
Definition: types.h:77
vl_api_ip_reassembly_get_reply_t::context
u32 context
Definition: ip.api:813
vl_api_ip_table_add_del_t::table
vl_api_ip_table_t table
Definition: ip.api:57
vl_api_ip_route_lookup_t::client_index
u32 client_index
Definition: ip.api:274
vl_api_ip_route_lookup_reply_t
IP FIB table lookup response.
Definition: ip.api:294
vl_api_ip_table_details_t::table
vl_api_ip_table_t table
Definition: ip.api:159
vl_api_set_ip_flow_hash_router_id_t
Set the ip flow hash router ID.
Definition: ip.api:376
vl_api_ip_reassembly_set_t::type
vl_api_ip_reass_type_t type
Definition: ip.api:800
vl_api_ip_punt_redirect_v2_dump_t::context
u32 context
Definition: ip.api:641
vl_api_ip_source_and_port_range_check_interface_add_del_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:710
vl_api_set_ip_flow_hash_t::dst
bool dst
Definition: ip.api:329
vl_api_ip_reassembly_enable_disable_t
Enable/disable reassembly feature.
Definition: ip.api:829
vl_api_ip_reassembly_get_t
Definition: ip.api:803
vl_api_ioam_enable_t::analyse
bool analyse
Definition: ip.api:767
vl_api_ip_table_replace_end_t::client_index
u32 client_index
Definition: ip.api:134
vl_api_ip_source_and_port_range_check_add_del_t
Configure IP source and L4 port-range check.
Definition: ip.api:686
vl_api_sw_interface_ip6_enable_disable_t::context
u32 context
Definition: ip.api:392
vl_api_ioam_enable_t::pot_enable
bool pot_enable
Definition: ip.api:768
vl_api_ip_mroute_add_del_t::route
vl_api_ip_mroute_t route
Definition: ip.api:456
vl_api_set_ip_flow_hash_t::client_index
u32 client_index
Definition: ip.api:324
vl_api_set_ip_flow_hash_t::context
u32 context
Definition: ip.api:325
vl_api_ip_route_add_del_v2_t::client_index
u32 client_index
Definition: ip.api:209
vl_api_ip_mroute_add_del_t
Definition: ip.api:450
vl_api_ip_punt_redirect_v2_dump_t
Definition: ip.api:638
vl_api_ip_table_replace_end_t::table
vl_api_ip_table_t table
Definition: ip.api:136
vl_api_ioam_disable_t::client_index
u32 client_index
Definition: ip.api:780
vl_api_ip_route_add_del_v2_t
Definition: ip.api:206
ip_path_mtu_update
int ip_path_mtu_update(const ip_address_t *nh, u32 table_id, u16 pmtu)
Definition: ip_path_mtu.c:647
vl_api_ioam_enable_t::client_index
u32 client_index
Definition: ip.api:763
vl_api_add_del_ip_punt_redirect_v2_t
Add IP punt redirect rule.
Definition: ip.api:630
vl_api_ip_route_lookup_reply_t::route
vl_api_ip_route_t route
Definition: ip.api:298
vl_api_ip_table_allocate_reply_t::retval
i32 retval
Definition: ip.api:84
vl_api_ip_route_v2_dump_t::src
u8 src
Definition: ip.api:247
vl_api_ip_source_and_port_range_check_interface_add_del_t::tcp_out_vrf_id
u32 tcp_out_vrf_id
Definition: ip.api:712
vl_api_ip_container_proxy_details_t::context
u32 context
Definition: ip.api:669
vl_api_ip_details_t
Definition: ip.api:520
vl_api_ip_container_proxy_add_del_t
Definition: ip.api:652
vl_api_ip_punt_redirect_details_t
Definition: ip.api:604
vl_api_mfib_signal_dump_t
Definition: ip.api:534
ip_punt_redirect
static uword ip_punt_redirect(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u8 arc_index, fib_protocol_t fproto)
Definition: ip_punt_drop.h:294
vl_api_ip_route_lookup_t
Lookup IP route from a table.
Definition: ip.api:272
vl_api_set_ip_flow_hash_v2_t::af
vl_api_address_family_t af
Definition: ip.api:365
vl_api_ip_mtable_dump_t::context
u32 context
Definition: ip.api:403
ip_mroute
typedef ip_mroute
Add / del route request.
Definition: ip.api:441
vl_api_ip_mtable_details_t
Definition: ip.api:405
vl_api_ip_reassembly_enable_disable_t::type
vl_api_ip_reass_type_t type
Definition: ip.api:836
tx_sw_if_index
vl_api_interface_index_t tx_sw_if_index
Definition: ip.api:577
vl_api_ip_route_v2_dump_t::client_index
u32 client_index
Definition: ip.api:244
vl_api_set_ip_flow_hash_v2_t::flow_hash_config
vl_api_ip_flow_hash_config_t flow_hash_config
Definition: ip.api:366
service
service
Definition: ip.api:880
vl_api_ip_route_v2_details_t::context
u32 context
Definition: ip.api:262
vl_api_ip_route_add_del_t::is_add
bool is_add[default=true]
Definition: ip.api:202
vl_api_ip_table_replace_end_t
IP table replace end.
Definition: ip.api:132
vl_api_ip_route_add_del_v2_reply_t::retval
i32 retval
Definition: ip.api:225
vl_api_ip_reassembly_get_reply_t::is_ip6
bool is_ip6
Definition: ip.api:819
vl_api_ip_punt_redirect_t::is_add
bool is_add[default=true]
Definition: ip.api:593
vl_api_ip_route_lookup_v2_t::exact
u8 exact
Definition: ip.api:286
vl_api_ip_route_add_del_t::client_index
u32 client_index
Definition: ip.api:200
vl_api_ip_route_add_del_reply_t::stats_index
u32 stats_index
Definition: ip.api:219
vl_api_ip_route_add_del_v2_reply_t::context
u32 context
Definition: ip.api:224
vl_api_mfib_signal_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:543
vl_api_ip_unnumbered_details_t::ip_sw_if_index
vl_api_interface_index_t ip_sw_if_index
Definition: ip.api:507
vl_api_ip_address_details_t::prefix
vl_api_address_with_prefix_t prefix
Definition: ip.api:488
vl_api_ip_container_proxy_dump_t::client_index
u32 client_index
Definition: ip.api:663
vl_api_ip_container_proxy_details_t::prefix
vl_api_prefix_t prefix
Definition: ip.api:671
vl_api_add_del_ip_punt_redirect_v2_t::context
u32 context
Definition: ip.api:633
vl_api_ip_source_and_port_range_check_add_del_t::client_index
u32 client_index
Definition: ip.api:688
vl_api_ip_address_dump_t::context
u32 context
Definition: ip.api:494
vl_api_sw_interface_ip6_enable_disable_t::enable
bool enable
Definition: ip.api:394
vl_api_ip_route_lookup_v2_t::table_id
u32 table_id
Definition: ip.api:285
vl_api_ip_reassembly_set_t::max_reassemblies
u32 max_reassemblies
Definition: ip.api:796
vl_api_ip_table_allocate_reply_t::table
vl_api_ip_table_t table
Definition: ip.api:86
vl_api_ip_unnumbered_dump_t::client_index
u32 client_index
Definition: ip.api:515
vl_api_ip_punt_police_t::client_index
u32 client_index
Definition: ip.api:559
vl_api_ip_unnumbered_details_t::context
u32 context
Definition: ip.api:505
vl_api_ip_reassembly_enable_disable_t::context
u32 context
Definition: ip.api:832
vl_api_ip_punt_redirect_t::punt
vl_api_punt_redirect_t punt
Definition: ip.api:592
version
option version
Definition: ip.api:23
vl_api_ip_table_allocate_reply_t::context
u32 context
Definition: ip.api:83
vl_api_ip_route_add_del_v2_reply_t::stats_index
u32 stats_index
Definition: ip.api:226
vl_api_ip_mtable_details_t::context
u32 context
Definition: ip.api:408
vl_api_ip_punt_police_t::is_add
bool is_add[default=true]
Definition: ip.api:562
vl_api_set_ip_flow_hash_t::deprecated
option deprecated
Definition: ip.api:323
vl_api_ip_punt_redirect_details_t::punt
vl_api_punt_redirect_t punt
Definition: ip.api:607
vl_api_mfib_signal_details_t::ip_packet_len
u16 ip_packet_len
Definition: ip.api:546
vl_api_ip_route_lookup_v2_t::prefix
vl_api_prefix_t prefix
Definition: ip.api:287
vl_api_ip_route_add_del_t::context
u32 context
Definition: ip.api:201
vl_api_sw_interface_ip6_enable_disable_t::client_index
u32 client_index
Definition: ip.api:391
vl_api_ip_route_add_del_v2_t::context
u32 context
Definition: ip.api:210
vl_api_ip_punt_redirect_t::context
u32 context
Definition: ip.api:591
vl_api_ip_punt_redirect_dump_t::context
u32 context
Definition: ip.api:599
vl_api_ip_reassembly_get_reply_t::retval
i32 retval
Definition: ip.api:814
n_paths
u8 n_paths
Definition: ip.api:176
vl_api_ip_table_replace_end_t::context
u32 context
Definition: ip.api:135
vl_api_ip_reassembly_get_reply_t::timeout_ms
u32 timeout_ms
Definition: ip.api:815
vl_api_ip_unnumbered_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:506
vl_api_ip_mroute_add_del_t::client_index
u32 client_index
Definition: ip.api:452
is_ip6
bool is_ip6
Definition: ip.api:43
vl_api_ip_unnumbered_details_t
IP unnumbered configurations.
Definition: ip.api:503
vl_api_ioam_enable_t
IOAM enable : Enable in-band OAM.
Definition: ip.api:761
vl_api_ip_route_lookup_t::context
u32 context
Definition: ip.api:275
vl_api_set_ip_flow_hash_t::proto
bool proto
Definition: ip.api:332
ip_flow_hash_config
enumflag ip_flow_hash_config
flow hash settings for an IP table
Definition: ip.api:349
vl_api_ip_reassembly_enable_disable_t::enable_ip4
bool enable_ip4
Definition: ip.api:834
vl_api_ip_reassembly_set_t::is_ip6
bool is_ip6
Definition: ip.api:799
vl_api_ip_path_mtu_get_reply_t::retval
i32 retval
Definition: ip.api:872
vl_api_ip_mroute_add_del_reply_t::context
u32 context
Definition: ip.api:460
vl_api_ip_mroute_dump_t::client_index
u32 client_index
Definition: ip.api:470
vl_api_ip_punt_redirect_v2_details_t::punt
vl_api_punt_redirect_v2_t punt
Definition: ip.api:649
vl_api_ip_path_mtu_get_t
Definition: ip.api:863
vl_api_set_ip_flow_hash_t::vrf_id
u32 vrf_id
Definition: ip.api:326
vl_api_ip_route_v2_dump_t::in_progress
option in_progress
Definition: ip.api:243
vl_api_ip_route_lookup_reply_t::context
u32 context
Definition: ip.api:296
vl_api_set_ip_flow_hash_t::src
bool src
Definition: ip.api:328
vl_api_mfib_signal_details_t::table_id
u32 table_id
Definition: ip.api:544
vl_api_ip_route_lookup_v2_reply_t::context
u32 context
Definition: ip.api:303
vl_api_set_ip_flow_hash_v2_t::table_id
u32 table_id
Definition: ip.api:364
punt_redirect
typedef punt_redirect
Punt redirect type.
Definition: ip.api:575
vl_api_ip_route_lookup_v2_reply_t::route
vl_api_ip_route_v2_t route
Definition: ip.api:305
vl_api_ip_dump_t::context
u32 context
Definition: ip.api:530
vl_api_ip_path_mtu_details_t::context
u32 context
Definition: ip.api:877
vl_api_ip_route_dump_t::table
vl_api_ip_table_t table
Definition: ip.api:239
vl_api_ip_path_mtu_replace_end_t::context
u32 context
Definition: ip.api:893
vl_api_ip_container_proxy_add_del_t::pfx
vl_api_prefix_t pfx
Definition: ip.api:656
vl_api_ioam_enable_t::trace_enable
bool trace_enable
Definition: ip.api:769
vl_api_ip_table_allocate_t::client_index
u32 client_index
Definition: ip.api:75
vl_api_ip_table_allocate_t::table
vl_api_ip_table_t table
Definition: ip.api:78
vl_api_ip_route_v2_details_t
Definition: ip.api:259
vl_api_ip_source_and_port_range_check_add_del_t::is_add
bool is_add[default=true]
Definition: ip.api:690
u32
unsigned int u32
Definition: types.h:88
vl_api_ip_container_proxy_details_t
Definition: ip.api:667
vl_api_ip_reassembly_get_t::type
vl_api_ip_reass_type_t type
Definition: ip.api:808
vl_api_ip_mroute_add_del_reply_t
Definition: ip.api:458
af
vl_api_address_family_t af
Definition: ip.api:619
vl_api_ip_table_allocate_t
Allocate an unused table A table can be added multiple times.
Definition: ip.api:73
vl_api_ip_address_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:495
vl_api_ip_mroute_details_t
IP Multicast Route Details.
Definition: ip.api:478
vl_api_ip_route_lookup_v2_reply_t::retval
i32 retval
Definition: ip.api:304
ip_path_mtu
typedef ip_path_mtu
Set a Path MTU value.
Definition: ip.api:850
vl_api_ioam_enable_t::seqno
bool seqno
Definition: ip.api:766
vl_api_ip_route_v2_details_t::in_progress
option in_progress
Definition: ip.api:261
vl_api_ip_reassembly_get_t::client_index
u32 client_index
Definition: ip.api:805
vl_api_ioam_enable_t::context
u32 context
Definition: ip.api:764
vl_api_ip_route_details_t::context
u32 context
Definition: ip.api:256
vl_api_ip_route_add_del_v2_t::route
vl_api_ip_route_v2_t route
Definition: ip.api:213
vl_api_ip_route_add_del_t::route
vl_api_ip_route_t route
Definition: ip.api:204
vl_api_set_ip_flow_hash_router_id_t::router_id
u32 router_id
Definition: ip.api:380
paths
vl_api_fib_path_t paths[n_paths]
Definition: ip.api:177
vl_api_ip_path_mtu_replace_begin_t
Definition: ip.api:885
vl_api_sw_interface_ip6_enable_disable_t
IPv6 interface enable / disable request.
Definition: ip.api:389
vl_api_ip_details_t::is_ipv6
bool is_ipv6
Definition: ip.api:524
vl_api_ip_table_flush_t::context
u32 context
Definition: ip.api:148
vl_api_ip_path_mtu_get_reply_t::cursor
u32 cursor
Definition: ip.api:873
vl_api_ip_dump_t::client_index
u32 client_index
Definition: ip.api:529
vl_api_ip_dump_t::is_ipv6
bool is_ipv6
Definition: ip.api:531
vl_api_ip_table_details_t
IP FIB table response.
Definition: ip.api:156
vl_api_ip_route_add_del_reply_t::context
u32 context
Definition: ip.api:217
vl_api_ip_container_proxy_add_del_t::context
u32 context
Definition: ip.api:655
vl_api_ioam_disable_t::id
u16 id
Definition: ip.api:782
vl_api_ip_route_add_del_v2_t::is_add
bool is_add[default=true]
Definition: ip.api:211
name
string name[64]
Definition: ip.api:44
vl_api_ip_reassembly_set_t
Definition: ip.api:791
u8
unsigned char u8
Definition: types.h:56
vl_api_ip_source_and_port_range_check_add_del_t::number_of_ranges
u8 number_of_ranges
Definition: ip.api:692
vl_api_ip_punt_police_t::is_ip6
bool is_ip6
Definition: ip.api:563
IP_REASS_TYPE_FULL
@ IP_REASS_TYPE_FULL
Definition: ip.api:787
rpf_id
u32 rpf_id
Definition: ip.api:444
vl_api_ip_route_lookup_v2_reply_t
Definition: ip.api:300
vl_api_ip_mroute_dump_t::table
vl_api_ip_table_t table
Definition: ip.api:472
vl_api_add_del_ip_punt_redirect_v2_t::punt
vl_api_punt_redirect_v2_t punt
Definition: ip.api:635
vl_api_ip_reassembly_get_reply_t::expire_walk_interval_ms
u32 expire_walk_interval_ms
Definition: ip.api:818
vl_api_ip_mtable_details_t::table
vl_api_ip_table_t table
Definition: ip.api:409
vl_api_ip_route_add_del_t
Add / del route request.
Definition: ip.api:198
vl_api_ip_source_and_port_range_check_interface_add_del_t::context
u32 context
Definition: ip.api:708
vl_api_ip_punt_police_t::context
u32 context
Definition: ip.api:560
vl_api_ip_table_flush_t
IP table flush Flush a table of all routes.
Definition: ip.api:145
vl_api_ip_source_and_port_range_check_interface_add_del_t
Set interface source and L4 port-range request.
Definition: ip.api:705
vl_api_ip_punt_redirect_details_t::context
u32 context
Definition: ip.api:606
vl_api_ip_route_add_del_v2_t::is_multipath
bool is_multipath
Definition: ip.api:212
vl_api_ip_reassembly_get_t::context
u32 context
Definition: ip.api:806
vl_api_mfib_signal_details_t
Definition: ip.api:540
vl_api_ip_reassembly_set_t::expire_walk_interval_ms
u32 expire_walk_interval_ms
Definition: ip.api:798
vl_api_ip_path_mtu_get_t::context
u32 context
Definition: ip.api:866
vl_api_ip_source_and_port_range_check_interface_add_del_t::is_add
bool is_add[default=true]
Definition: ip.api:709
vl_api_ip_route_add_del_v2_reply_t::in_progress
option in_progress
Definition: ip.api:223
context
u32 context
Definition: ip.api:852
vl_api_set_ip_flow_hash_t::symmetric
bool symmetric
Definition: ip.api:334
vl_api_ip_table_flush_t::table
vl_api_ip_table_t table
Definition: ip.api:149
vl_api_ip_punt_redirect_t
IP punt redirect.
Definition: ip.api:587
vl_api_ip_container_proxy_dump_t
Definition: ip.api:661
vl_api_ip_details_t::context
u32 context
Definition: ip.api:522
vl_api_ip_mroute_details_t::route
vl_api_ip_mroute_t route
Definition: ip.api:481
src
u8 src
Definition: ip.api:185
vl_api_ip_source_and_port_range_check_add_del_t::high_ports
u16 high_ports[32]
Definition: ip.api:694
vl_api_ip_route_v2_details_t::route
vl_api_ip_route_v2_t route
Definition: ip.api:263
vl_api_ip_address_dump_t::is_ipv6
bool is_ipv6
Definition: ip.api:496
vl_api_ip_table_dump_t
Dump IP all fib tables.
Definition: ip.api:93
vl_api_ip_container_proxy_add_del_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: ip.api:657
vl_api_ip_route_lookup_v2_t::in_progress
option in_progress
Definition: ip.api:282
vl_api_ip_mroute_add_del_reply_t::retval
i32 retval
Definition: ip.api:461
vl_api_ip_route_add_del_v2_reply_t
Definition: ip.api:221
vl_api_ip_source_and_port_range_check_add_del_t::prefix
vl_api_prefix_t prefix
Definition: ip.api:691
vl_api_ip_reassembly_get_reply_t::max_reassembly_length
u32 max_reassembly_length
Definition: ip.api:817
vl_api_ip_table_replace_begin_t
IP table replace being.
Definition: ip.api:117
vl_api_ip_route_lookup_t::exact
u8 exact
Definition: ip.api:277
path_mtu
u16 path_mtu
Definition: ip.api:855
vl_api_ip_path_mtu_replace_end_t::client_index
u32 client_index
Definition: ip.api:892
vl_api_set_ip_flow_hash_router_id_t::client_index
u32 client_index
Definition: ip.api:378
vl_api_ip_route_lookup_t::table_id
u32 table_id
Definition: ip.api:276
vl_api_ip_path_mtu_get_t::client_index
u32 client_index
Definition: ip.api:865
vl_api_ip_path_mtu_update_t::context
u32 context
Definition: ip.api:860
vl_api_ip_reassembly_enable_disable_t::enable_ip6
bool enable_ip6
Definition: ip.api:835
vl_api_ip_mtable_details_t::client_index
u32 client_index
Definition: ip.api:407
sw_if_index
vl_api_interface_index_t sw_if_index
Definition: wireguard.api:34
vl_api_mfib_signal_dump_t::context
u32 context
Definition: ip.api:537
vl_api_ip_path_mtu_get_t::cursor
u32 cursor
Definition: ip.api:867
vl_api_ip_source_and_port_range_check_interface_add_del_t::udp_out_vrf_id
u32 udp_out_vrf_id
Definition: ip.api:714
vl_api_ip_punt_redirect_dump_t::client_index
u32 client_index
Definition: ip.api:598
vl_api_ip_source_and_port_range_check_interface_add_del_t::client_index
u32 client_index
Definition: ip.api:707
vl_api_set_ip_flow_hash_t::dport
bool dport
Definition: ip.api:331
vl_api_ip_route_details_t::route
vl_api_ip_route_t route
Definition: ip.api:257
vl_api_ip_table_add_del_t::is_add
bool is_add[default=true]
Definition: ip.api:56
vl_api_ip_reassembly_get_t::is_ip6
bool is_ip6
Definition: ip.api:807
vl_api_ip_path_mtu_details_t
Definition: ip.api:875
IP_REASS_TYPE_SHALLOW_VIRTUAL
@ IP_REASS_TYPE_SHALLOW_VIRTUAL
Definition: ip.api:788
vl_api_ip_table_add_del_t
Add / del table request A table can be added multiple times, but need be deleted only once.
Definition: ip.api:52
vl_api_ip_route_add_del_t::is_multipath
bool is_multipath
Definition: ip.api:203
vl_api_set_ip_flow_hash_t::reverse
bool reverse
Definition: ip.api:333
vl_api_add_del_ip_punt_redirect_v2_t::is_add
bool is_add[default=true]
Definition: ip.api:634
vl_api_ip_source_and_port_range_check_interface_add_del_t::udp_in_vrf_id
u32 udp_in_vrf_id
Definition: ip.api:713
vl_api_ip_route_lookup_v2_t::client_index
u32 client_index
Definition: ip.api:283
vl_api_ip_route_lookup_v2_t::context
u32 context
Definition: ip.api:284
vl_api_ip_reassembly_get_reply_t
Definition: ip.api:811
prefix
vl_api_prefix_t prefix
Definition: ip.api:175
vl_api_ip_route_add_del_v2_t::in_progress
option in_progress
Definition: ip.api:208
vl_api_ip_reassembly_set_t::context
u32 context
Definition: ip.api:794
ip_table
typedef ip_table
An IP table.
Definition: ip.api:41