FD.io VPP
v21.01.1
Vector Packet Processing
|
This file defines vpp IP control-plane API messages which are generally called through a shared memory interface. More...
Go to the source code of this file.
Enumerations | |
enum | ip_reass_type { IP_REASS_TYPE_FULL = 0, IP_REASS_TYPE_SHALLOW_VIRTUAL = 0x1 } |
Variables | |
option | version = "3.0.1" |
import vnet interface_types | api |
typedef | ip_table |
An IP table. More... | |
bool | is_ip6 |
string | name [64] |
typedef | ip_route |
An IP route. More... | |
u32 | stats_index |
vl_api_prefix_t | prefix |
u8 | n_paths |
vl_api_fib_path_t | paths [n_paths] |
typedef | ip_mroute |
Add / del route request. More... | |
vl_api_mfib_entry_flags_t | entry_flags |
u32 | rpf_id |
typedef | punt_redirect |
Punt redirect type. More... | |
vl_api_interface_index_t | tx_sw_if_index |
vl_api_address_t | nh |
This file defines vpp IP control-plane API messages which are generally called through a shared memory interface.
Definition in file ip.api.
enum ip_reass_type |
typedef ip_mroute |
Add / del route request.
Adds a route, consisting both of the MFIB entry to match packets (which may already exist) and a path to send those packets down. Routes can be entered repeatedly to add multiple paths. Deletions are per-path.
client_index | - opaque cookie to identify the sender |
context | - sender context, to match reply w/ request |
table_id | - fib table /vrf associated with the route |
is_add | - true if adding a route; false if deleting one |
is_ipv6 | - true iff all the addresses are v6 |
entry_flags | - see fib_entry_flag_t |
itf_flags | - see mfib_entry_flags_t |
next_hop_afi | - see dpo_proto_t; the type of destination description |
src_address | - the source of the packet |
grp_address | - the group the packet is destined to |
nh_address | - the nexthop to forward the packet to |
next_hop_sw_if_index | - interface to emit packet on |
BIER AFIs use the BIER imposition ID. v4 and v6 AFIs use either the interface or the nexthop address.
Note that if the route is source-specific (S is supplied, not all 0s), the prefix match is treated as exact (prefixlen /32 or /128).
FIXME not complete yet
typedef ip_route |
An IP route.
table_id | The IP table the route is in |
stats_index | The index of the route in the stats segment |
prefix | the prefix for the route |
n_paths | The number of paths the route has |
paths | The paths of the route |
typedef ip_table |
An IP table.
is_ipv6 | - V4 or V6 table |
table_id | - table ID associated with the route This table ID will apply to both the unicast and multicast FIBs |
name | - A client provided name/tag for the table. If this is not set by the client, then VPP will generate something meaningful. |
typedef punt_redirect |
Punt redirect type.
rx_sw_if_index | - specify the original RX interface of traffic that should be redirected. ~0 means any interface. |
tx_sw_if_index | - the TX interface to which traffic should be redirected. |
nh | - the next-hop to redirect the traffic to. |
is_ipv6 | - 1 for IPv6 neighbor, 0 for IPv4 |