FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
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.1.0" |
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_route_v2 |
u8 | src |
enumflag | ip_flow_hash_config |
flow hash settings for an IP table More... | |
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 |
typedef | ip_path_mtu |
Set a Path MTU value. More... | |
u32 | context |
u32 | table_id |
u16 | path_mtu |
service | |
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 |
enumflag ip_flow_hash_config |
flow hash settings for an IP table
src | - include src in flow hash |
dst | - include dst in flow hash |
sport | - include sport in flow hash |
dport | - include dport in flow hash |
proto | - include proto in flow hash |
reverse | - include reverse in flow hash |
symmetric | - include symmetry in flow hash |
flowlabel | - include flowlabel in flow hash |
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_path_mtu |
Set a Path MTU value.
i.e. a MTU value for a given neighbour. The neighbour can be described as attached (w/ interface and next-hop) or remote (w/ table_id and next-hop);
client_index | - opaque cookie to identify the sender |
context | - sender context, to match reply w/ request |
table_id | - table-ID for next-hop |
nh | - Next hop |
path_mtu | - value to set, 0 is disable. |
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 |
src | The entity adding the route. either 0 for default or a value returned from fib_source_sdd. |
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 |
service |