FD.io VPP  v19.01.3-6-g70449b9b9
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 461 of file ip.api.

Field Documentation

◆ bier_imp

u32 vl_api_ip_mroute_add_del_t::bier_imp

Definition at line 470 of file ip.api.

◆ client_index

u32 vl_api_ip_mroute_add_del_t::client_index

Definition at line 463 of file ip.api.

◆ context

u32 vl_api_ip_mroute_add_del_t::context

Definition at line 464 of file ip.api.

◆ entry_flags

u32 vl_api_ip_mroute_add_del_t::entry_flags

Definition at line 467 of file ip.api.

◆ grp_address

u8 vl_api_ip_mroute_add_del_t::grp_address[16]

Definition at line 476 of file ip.api.

◆ grp_address_length

u16 vl_api_ip_mroute_add_del_t::grp_address_length

Definition at line 471 of file ip.api.

◆ is_add

u8 vl_api_ip_mroute_add_del_t::is_add

Definition at line 473 of file ip.api.

◆ is_ipv6

u8 vl_api_ip_mroute_add_del_t::is_ipv6

Definition at line 474 of file ip.api.

◆ is_local

u8 vl_api_ip_mroute_add_del_t::is_local

Definition at line 475 of file ip.api.

◆ itf_flags

u32 vl_api_ip_mroute_add_del_t::itf_flags

Definition at line 468 of file ip.api.

◆ next_hop_afi

u8 vl_api_ip_mroute_add_del_t::next_hop_afi

Definition at line 472 of file ip.api.

◆ next_hop_sw_if_index

u32 vl_api_ip_mroute_add_del_t::next_hop_sw_if_index

Definition at line 465 of file ip.api.

◆ nh_address

u8 vl_api_ip_mroute_add_del_t::nh_address[16]

Definition at line 478 of file ip.api.

◆ rpf_id

u32 vl_api_ip_mroute_add_del_t::rpf_id

Definition at line 469 of file ip.api.

◆ src_address

u8 vl_api_ip_mroute_add_del_t::src_address[16]

Definition at line 477 of file ip.api.

◆ table_id

u32 vl_api_ip_mroute_add_del_t::table_id

Definition at line 466 of file ip.api.


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