FD.io VPP  v16.06
Vector Packet Processing
vl_api_ip_add_del_route_t Struct Reference

Add / del route request. More...

Data Fields

u32 client_index
 
u32 context
 
u32 next_hop_sw_if_index
 
u32 vrf_id
 
u32 lookup_in_vrf
 
u32 resolve_attempts
 
u32 classify_table_index
 
u8 create_vrf_if_needed
 
u8 resolve_if_needed
 
u8 is_add
 
u8 is_drop
 
u8 is_ipv6
 
u8 is_local
 
u8 is_classify
 
u8 is_multipath
 
u8 not_last
 
u8 next_hop_weight
 
u8 dst_address_length
 
u8 dst_address [16]
 
u8 next_hop_address [16]
 

Detailed Description

Add / del route request.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
sw_if_index- software index of the new vlan's parent interface
vrf_id- fib table /vrf associated with the route
lookup_in_vrf-
resolve_attempts-
classify_table_index-
create_vrf_if_needed-
resolve_if_needed-
is_add- 1 if adding the route, 0 if deleting
is_drop-
is_ipv6- 0 if an ip4 route, else ip6
is_local-
is_classify-
is_multipath- Set to 1 if this is a multipath route, else 0
not_last- Is last or not last msg in group of multiple add/del msgs
next_hop_weight-
dst_address_length-
dst_address[16]-
next_hop_address[16]-

Definition at line 348 of file vpe.api.

Field Documentation

u32 vl_api_ip_add_del_route_t::classify_table_index

Definition at line 355 of file vpe.api.

u32 vl_api_ip_add_del_route_t::client_index

Definition at line 349 of file vpe.api.

u32 vl_api_ip_add_del_route_t::context

Definition at line 350 of file vpe.api.

u8 vl_api_ip_add_del_route_t::create_vrf_if_needed

Definition at line 356 of file vpe.api.

u8 vl_api_ip_add_del_route_t::dst_address[16]

Definition at line 368 of file vpe.api.

u8 vl_api_ip_add_del_route_t::dst_address_length

Definition at line 367 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_add

Definition at line 358 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_classify

Definition at line 362 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_drop

Definition at line 359 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_ipv6

Definition at line 360 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_local

Definition at line 361 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_multipath

Definition at line 364 of file vpe.api.

u32 vl_api_ip_add_del_route_t::lookup_in_vrf

Definition at line 353 of file vpe.api.

u8 vl_api_ip_add_del_route_t::next_hop_address[16]

Definition at line 369 of file vpe.api.

u32 vl_api_ip_add_del_route_t::next_hop_sw_if_index

Definition at line 351 of file vpe.api.

u8 vl_api_ip_add_del_route_t::next_hop_weight

Definition at line 366 of file vpe.api.

u8 vl_api_ip_add_del_route_t::not_last

Definition at line 365 of file vpe.api.

u32 vl_api_ip_add_del_route_t::resolve_attempts

Definition at line 354 of file vpe.api.

u8 vl_api_ip_add_del_route_t::resolve_if_needed

Definition at line 357 of file vpe.api.

u32 vl_api_ip_add_del_route_t::vrf_id

Definition at line 352 of file vpe.api.


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