FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Add / del route request. More...
Data Fields | |
u32 | client_index |
u32 | context |
u32 | next_hop_sw_if_index |
u32 | table_id |
u32 | entry_flags |
u32 | itf_flags |
u32 | rpf_id |
u32 | bier_imp |
u16 | grp_address_length |
u8 | next_hop_afi |
u8 | is_add |
u8 | is_ipv6 |
u8 | is_local |
u8 | grp_address [16] |
u8 | src_address [16] |
u8 | nh_address [16] |
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