FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
vl_api_ip_mroute_add_del_t Struct Reference

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]
 

Detailed Description

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.

Template Parameters
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

Definition at line 473 of file ip.api.

Field Documentation

u32 vl_api_ip_mroute_add_del_t::bier_imp

Definition at line 482 of file ip.api.

u32 vl_api_ip_mroute_add_del_t::client_index

Definition at line 475 of file ip.api.

u32 vl_api_ip_mroute_add_del_t::context

Definition at line 476 of file ip.api.

u32 vl_api_ip_mroute_add_del_t::entry_flags

Definition at line 479 of file ip.api.

u8 vl_api_ip_mroute_add_del_t::grp_address[16]

Definition at line 488 of file ip.api.

u16 vl_api_ip_mroute_add_del_t::grp_address_length

Definition at line 483 of file ip.api.

u8 vl_api_ip_mroute_add_del_t::is_add

Definition at line 485 of file ip.api.

u8 vl_api_ip_mroute_add_del_t::is_ipv6

Definition at line 486 of file ip.api.

u8 vl_api_ip_mroute_add_del_t::is_local

Definition at line 487 of file ip.api.

u32 vl_api_ip_mroute_add_del_t::itf_flags

Definition at line 480 of file ip.api.

u8 vl_api_ip_mroute_add_del_t::next_hop_afi

Definition at line 484 of file ip.api.

u32 vl_api_ip_mroute_add_del_t::next_hop_sw_if_index

Definition at line 477 of file ip.api.

u8 vl_api_ip_mroute_add_del_t::nh_address[16]

Definition at line 490 of file ip.api.

u32 vl_api_ip_mroute_add_del_t::rpf_id

Definition at line 481 of file ip.api.

u8 vl_api_ip_mroute_add_del_t::src_address[16]

Definition at line 489 of file ip.api.

u32 vl_api_ip_mroute_add_del_t::table_id

Definition at line 478 of file ip.api.


The documentation for this struct was generated from the following file: