1 /* Hey Emacs use -*- mode: C -*- */
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:
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 This file defines vpp IP control-plane API messages which are generally
20 called through a shared memory interface.
23 option version = "3.2.0";
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";
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
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
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
52 autoreply define ip_table_add_del
56 bool is_add [default=true];
57 vl_api_ip_table_t table;
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
73 define ip_table_allocate
78 vl_api_ip_table_t table;
81 define ip_table_allocate_reply
86 vl_api_ip_table_t table;
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
99 /** \brief IP table replace being
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.
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
117 autoreply define ip_table_replace_begin
121 vl_api_ip_table_t table;
124 /** \brief IP table replace end
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
132 autoreply define ip_table_replace_end
136 vl_api_ip_table_t table;
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
145 autoreply define ip_table_flush
149 vl_api_ip_table_t table;
152 /** \brief IP FIB table response
153 @param context - sender context
154 @param table - description of the table
156 define ip_table_details
159 vl_api_ip_table_t table;
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
175 vl_api_prefix_t prefix;
177 vl_api_fib_path_t paths[n_paths];
183 vl_api_prefix_t prefix;
186 vl_api_fib_path_t paths[n_paths];
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
195 is_add=0 & is_multipath=0 implies delete all paths
196 @param is_add - Are the paths being added or removed
198 define ip_route_add_del
202 bool is_add [default=true];
204 vl_api_ip_route_t route;
206 define ip_route_add_del_v2
211 bool is_add [default=true];
213 vl_api_ip_route_v2_t route;
215 define ip_route_add_del_reply
221 define ip_route_add_del_v2_reply
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)
239 vl_api_ip_table_t table;
241 define ip_route_v2_dump
246 /* vl_api_fib_source_t src; */
248 vl_api_ip_table_t table;
251 /** \brief IP FIB table entry response
252 @param route The route entry in the table
254 define ip_route_details
257 vl_api_ip_route_t route;
259 define ip_route_v2_details
263 vl_api_ip_route_v2_t route;
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.
272 define ip_route_lookup
278 vl_api_prefix_t prefix;
280 define ip_route_lookup_v2
287 vl_api_prefix_t prefix;
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
294 define ip_route_lookup_reply
298 vl_api_ip_route_t route;
300 define ip_route_lookup_v2_reply
305 vl_api_ip_route_v2_t route;
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
321 autoreply define set_ip_flow_hash
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
348 enumflag ip_flow_hash_config
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,
360 autoreply define set_ip_flow_hash_v2
365 vl_api_address_family_t af;
366 vl_api_ip_flow_hash_config_t flow_hash_config;
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
376 autoreply define set_ip_flow_hash_router_id
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
389 autoreply define sw_interface_ip6_enable_disable
393 vl_api_interface_index_t sw_if_index;
394 bool enable; /* set to true if enable */
397 /** \brief Dump IP multicast fib table
398 @param client_index - opaque cookie to identify the sender
400 define ip_mtable_dump
405 define ip_mtable_details
409 vl_api_ip_table_t table;
412 /** \brief Add / del route request
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
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
432 BIER AFIs use the BIER imposition ID. v4 and v6 AFIs use either the
433 interface or the nexthop address.
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).
438 FIXME not complete yet
443 vl_api_mfib_entry_flags_t entry_flags;
445 vl_api_mprefix_t prefix;
447 vl_api_mfib_path_t paths[n_paths];
450 define ip_mroute_add_del
454 bool is_add [default=true];
456 vl_api_ip_mroute_t route;
458 define ip_mroute_add_del_reply
465 /** \brief Dump IP multicast fib table
466 @param table - The table from which to dump routes (ony ID an AF are needed)
468 define ip_mroute_dump
472 vl_api_ip_table_t table;
475 /** \brief IP Multicast Route Details
476 @param route - Details of the route
478 define ip_mroute_details
481 vl_api_ip_mroute_t route;
484 define ip_address_details
487 vl_api_interface_index_t sw_if_index;
488 vl_api_address_with_prefix_t prefix;
491 define ip_address_dump
495 vl_api_interface_index_t sw_if_index;
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
503 define ip_unnumbered_details
506 vl_api_interface_index_t sw_if_index;
507 vl_api_interface_index_t ip_sw_if_index;
510 /** \brief Dump IP unnumbered configurations
511 @param sw_if_index ~0 for all interfaces, else the interface desired
513 define ip_unnumbered_dump
517 vl_api_interface_index_t sw_if_index [default=0xffffffff];
523 vl_api_interface_index_t sw_if_index;
534 define mfib_signal_dump
540 define mfib_signal_details
543 vl_api_interface_index_t sw_if_index;
545 vl_api_mprefix_t prefix;
547 u8 ip_packet_data[256];
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
557 autoreply define ip_punt_police
562 bool is_add [default=true];
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
571 @param nh - the next-hop to redirect the traffic to.
572 @param is_ipv6 - 1 for IPv6 neighbor, 0 for IPv4
574 typedef punt_redirect
576 vl_api_interface_index_t rx_sw_if_index;
577 vl_api_interface_index_t tx_sw_if_index;
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
587 autoreply define ip_punt_redirect
592 vl_api_punt_redirect_t punt;
593 bool is_add [default=true];
596 define ip_punt_redirect_dump
600 vl_api_interface_index_t sw_if_index;
604 define ip_punt_redirect_details
607 vl_api_punt_redirect_t punt;
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.
616 typedef punt_redirect_v2
618 vl_api_interface_index_t rx_sw_if_index [default=0xffffffff];
619 vl_api_address_family_t af;
621 vl_api_fib_path_t paths[n_paths];
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
630 autoreply define add_del_ip_punt_redirect_v2
634 bool is_add [default=true];
635 vl_api_punt_redirect_v2_t punt;
638 define ip_punt_redirect_v2_dump
642 vl_api_interface_index_t sw_if_index;
643 vl_api_address_family_t af;
646 define ip_punt_redirect_v2_details
649 vl_api_punt_redirect_v2_t punt;
652 autoreply define ip_container_proxy_add_del
657 vl_api_interface_index_t sw_if_index;
658 bool is_add [default=true];
661 define ip_container_proxy_dump
667 define ip_container_proxy_details
670 vl_api_interface_index_t sw_if_index;
671 vl_api_prefix_t prefix;
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
686 autoreply define ip_source_and_port_range_check_add_del
690 bool is_add [default=true];
691 vl_api_prefix_t prefix;
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
705 autoreply define ip_source_and_port_range_check_interface_add_del
709 bool is_add [default=true];
710 vl_api_interface_index_t sw_if_index;
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
723 autoreply define sw_interface_ip6_set_link_local_address
727 vl_api_interface_index_t sw_if_index;
728 vl_api_ip6_address_t ip;
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
736 define sw_interface_ip6_get_link_local_address
740 vl_api_interface_index_t sw_if_index;
743 /** \brief IPv6 link local address detail
744 @param context - sender context, to match reply w/ request
745 @param ip - the link local address
747 define sw_interface_ip6_get_link_local_address_reply
751 vl_api_ip6_address_t ip;
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
761 autoreply define ioam_enable
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
778 autoreply define ioam_disable
787 IP_REASS_TYPE_FULL = 0,
788 IP_REASS_TYPE_SHALLOW_VIRTUAL = 0x1,
791 autoreply define ip_reassembly_set
796 u32 max_reassemblies;
797 u32 max_reassembly_length;
798 u32 expire_walk_interval_ms;
800 vl_api_ip_reass_type_t type;
803 define ip_reassembly_get
808 vl_api_ip_reass_type_t type;
811 define ip_reassembly_get_reply
816 u32 max_reassemblies;
817 u32 max_reassembly_length;
818 u32 expire_walk_interval_ms;
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
829 autoreply define ip_reassembly_enable_disable
833 vl_api_interface_index_t sw_if_index;
836 vl_api_ip_reass_type_t type;
839 /** enable/disable full reassembly of packets aimed at our addresses */
840 autoreply define ip_local_reass_enable_disable
848 /** get status of local reassembly */
849 define ip_local_reass_get
855 define ip_local_reass_get_reply
864 @brief Set a Path MTU value. i.e. a MTU value for a given neighbour.
865 The neighbour can be described as attached (w/ interface and next-hop)
866 or remote (w/ table_id and next-hop);
867 @param client_index - opaque cookie to identify the sender
868 @param context - sender context, to match reply w/ request
869 @param table_id - table-ID for next-hop
871 @param path_mtu - value to set, 0 is disable.
881 autoreply define ip_path_mtu_update
885 vl_api_ip_path_mtu_t pmtu;
887 define ip_path_mtu_get
893 define ip_path_mtu_get_reply
899 define ip_path_mtu_details
902 vl_api_ip_path_mtu_t pmtu;
905 rpc ip_path_mtu_get returns ip_path_mtu_get_reply
906 stream ip_path_mtu_details;
909 autoreply define ip_path_mtu_replace_begin
914 autoreply define ip_path_mtu_replace_end
925 description "packet fragmented";
931 description "packet smaller than MTU";
937 description "number of sent fragments";
939 cant_fragment_header {
943 description "can't fragment header";
949 description "can't fragment this packet";
955 description "malformed packet";
961 description "could not allocate buffer";
967 description "unknown error";
977 description "valid ip4 packets";
980 /* Errors signalled by ip4-input */
985 description "ip4 length < 20 bytes";
991 description "ip4 length > l2 length";
997 description "bad ip4 checksum";
1003 description "ip4 version != 4";
1009 description "ip4 options present";
1011 fragment_offset_one {
1015 description "ip4 fragment offset == 1";
1021 description "ip4 ttl <= 1";
1027 description "ip4 IHL < 5";
1030 /* Errors signalled by ip4-rewrite. */
1035 description "ip4 MTU exceeded and DF set";
1041 description "ip4 destination lookup miss";
1047 description "ip4 source lookup miss";
1053 description "ip4 drop";
1059 description "ip4 punt";
1065 description "ip4 egress interface same as ingress";
1068 /* errors signalled by ip4-local. */
1073 description "unknown ip protocol";
1079 description "bad tcp checksum";
1085 description "bad udp checksum";
1091 description "inconsistent udp/ip lengths";
1094 /* spoofed packets in ip4-rewrite-local */
1095 spoofed_local_packets {
1099 description "ip4 spoofed local-address packet drops";
1102 /* Errors signalled by ip4-inacl */
1107 description "input ACL table-miss drops";
1109 inacl_session_deny {
1113 description "input ACL session deny drops";
1116 /* Errors singalled by ip4-outacl */
1121 description "output ACL table-miss drops";
1123 outacl_session_deny {
1127 description "output ACL session deny drops";
1130 /* Errors from mfib-forward */
1135 description "Multicast RPF check failed";
1138 /* Errors signalled by ip4-reassembly */
1139 reass_duplicate_fragment {
1143 description "duplicate/overlapping fragments";
1145 reass_limit_reached {
1149 description "drops due to concurrent reassemblies limit";
1151 reass_fragment_chain_too_long {
1155 description "fragment chain too long (drop)";
1161 description "out of buffers (drop)";
1163 reass_malformed_packet {
1167 description "malformed packets";
1169 reass_internal_error {
1173 description "drops due to internal reassembly error";
1179 description "fragments dropped due to reassembly timeout";
1181 reass_to_custom_app {
1185 description "send to custom drop app";
1191 description "successful reassemblies";
1193 reass_fragments_reassembled {
1197 description "fragments reassembled";
1199 reass_fragments_rcvd {
1203 description "fragments received";
1205 reass_unsupp_ip_prot {
1209 description "unsupported ip protocol";
1214 * IPv6 Error/info counters
1217 /* Must be first. */
1222 description "valid ip6 packets";
1225 /* Errors signalled by ip6-input */
1230 description "ip6 length < 40 bytes";
1236 description "ip6 length > l2 length";
1242 description "ip6 version != 6";
1248 description "ip6 ttl <= 1";
1251 /* Errors signalled by ip6-rewrite. */
1256 description "ip6 MTU exceeded";
1262 description "ip6 destination lookup miss";
1268 description "ip6 source lookup miss";
1274 description "ip6 drop";
1280 description "ip6 punt";
1283 /* errors signalled by ip6-local. */
1288 description "unknown ip protocol";
1294 description "bad udp checksum";
1300 description "bad icmp checksum";
1306 description "inconsistent udp/ip lengths";
1308 /* Errors signalled by udp6-lookup. */
1313 description "no listener for udp port";
1316 /* spoofed packets in ip6-rewrite-local */
1317 spoofed_local_packets {
1321 description "ip6 spoofed local-address packet drops";
1324 /* Errors signalled by ip6-inacl */
1329 description "input ACL table-miss drops";
1331 inacl_session_deny {
1335 description "input ACL session deny drops";
1338 /* Errors singalled by ip6-outacl */
1343 description "output ACL table-miss drops";
1345 outacl_session_deny {
1349 description "output ACL session deny drops";
1352 /* Errors from mfib-forward */
1357 description "Multicast RPF check failed";
1360 /* Errors signalled by ip6-reassembly */
1361 reass_missing_upper {
1365 description "missing-upper layer drops";
1367 reass_duplicate_fragment {
1371 description "duplicate fragments";
1373 reass_overlapping_fragment {
1377 description "overlapping fragments";
1379 reass_limit_reached {
1383 description "drops due to concurrent reassemblies limit";
1385 reass_fragment_chain_too_long {
1389 description "fragment chain too long (drop)";
1395 description "out of buffers (drop)";
1401 description "fragments dropped due to reassembly timeout";
1403 reass_internal_error {
1407 description "drops due to internal reassembly error";
1409 reass_invalid_frag_len {
1413 description "invalid fragment length";
1415 reass_to_custom_app {
1419 description "send to custom drop app";
1425 description "no fragmentation header";
1427 reass_invalid_frag_size {
1431 description "drop due to invalid fragment size";
1437 description "successful reassemblies";
1439 reass_fragments_reassembled {
1443 description "fragments reassembled";
1445 reass_fragments_rcvd {
1449 description "fragments received";
1451 reass_unsupp_ip_proto {
1455 description "unsupported ip protocol";
1464 description "valid packets";
1470 description "unknown type";
1472 invalid_code_for_type {
1476 description "invalid code for type";
1478 invalid_hop_limit_for_type {
1482 description "hop_limit != 255";
1484 length_too_small_for_type {
1488 description "payload length too small for type";
1490 options_with_odd_length {
1494 description "total option length not multiple of 8 bytes";
1496 option_with_zero_length {
1500 description "option has zero length";
1506 description "echo replies sent";
1512 description "icmp6 dst address lookup misses";
1518 description "destination unreachable response sent";
1524 description "hop limit exceeded response sent";
1526 param_problem_sent {
1530 description "parameter problem response sent";
1536 description "error message dropped";
1545 description "valid packets";
1551 description "unknown type";
1553 invalid_code_for_type {
1557 description "invalid code for type";
1559 invalid_hop_limit_for_type {
1563 description "hop_limit != 255";
1565 length_too_small_for_type {
1569 description "payload length too small for type";
1571 options_with_odd_length {
1575 description "total option length not multiple of 8 bytes";
1577 option_with_zero_length {
1581 description "option has zero length";
1587 description "echo replies sent";
1589 neighbor_solicitation_source_not_on_link {
1593 description "neighbor solicitations from source not on link";
1595 neighbor_solicitation_source_unknown {
1599 description "neighbor solicitations for unknown targets";
1601 neighbor_advertisements_tx {
1605 description "neighbor advertisements sent";
1607 neighbor_advertisements_rx {
1611 description "neighbor advertisements received";
1613 router_solicitation_source_not_on_link {
1617 description "router solicitations from source not on link";
1619 router_solicitation_unsupported_intf {
1623 description "neighbor discovery unsupported interface";
1625 router_solicitation_radv_not_config {
1629 description "neighbor discovery not configured";
1631 router_advertisement_source_not_link_local {
1635 description "router advertisement source not link local";
1637 router_advertisements_tx {
1641 description "router advertisements sent";
1643 router_advertisements_rx {
1647 description "router advertisements received";
1653 description "icmp6 dst address lookup misses";
1659 description "destination unreachable response sent";
1661 packet_too_big_sent {
1665 description "packet too big response sent";
1671 description "hop limit exceeded response sent";
1673 param_problem_sent {
1677 description "parameter problem response sent";
1683 description "error message dropped";
1689 description "buffer allocation failure";
1694 "/err/ip-frag" "ip_frag";
1695 "/err/mpls-frag" "ip_frag";
1696 "/err/ip4-mpls-label-disposition-pipe" "ip4";
1697 "/err/ip4-mpls-label-disposition-uniform" "ip4";
1698 "/err/ip4-local" "ip4";
1699 "/err/ip4-input" "ip4";
1700 "/err/ip4-full-reassembly" "ip4";
1701 "/err/ip4-local-full-reassembly" "ip4";
1702 "/err/ip4-full-reassembly-feature" "ip4";
1703 "/err/ip4-full-reassembly-custom" "ip4";
1704 "/err/ip4-full-reassembly-expire-walk" "ip4";
1705 "/err/ip4-sv-reassembly" "ip4";
1706 "/err/ip4-sv-reassembly-feature" "ip4";
1707 "/err/ip4-sv-reassembly-output-feature" "ip4";
1708 "/err/ip4-sv-reassembly-custom-next" "ip4";
1709 "/err/ip4-sv-reassembly-expire-walk" "ip4";
1710 "/err/ip6-mpls-label-disposition-pipe" "ip6";
1711 "/err/ip6-mpls-label-disposition-uniform" "ip6";
1712 "/err/ip6-local" "ip6";
1713 "/err/ip6-input" "ip6";
1714 "/err/ip6-full-reassembly" "ip6";
1715 "/err/ip6-local-full-reassembly" "ip6";
1716 "/err/ip6-full-reassembly-feature" "ip6";
1717 "/err/ip6-full-reassembly-custom" "ip6";
1718 "/err/ip6-full-reassembly-expire-walk" "ip6";
1719 "/err/ip6-sv-reassembly" "ip6";
1720 "/err/ip6-sv-reassembly-feature" "ip6";
1721 "/err/ip6-sv-reassembly-output-feature" "ip6";
1722 "/err/ip6-sv-reassembly-custom-next" "ip6";
1723 "/err/ip6-sv-reassembly-expire-walk" "ip6";
1724 "/err/ip4-icmp-input" "icmp4";
1725 "/err/ip4-icmp-error" "icmp4";
1726 "/err/ip6-icmp-input" "icmp6";
1727 "/err/ip6-icmp-error" "icmp6";
1732 * eval: (c-set-style "gnu")