FD.io VPP  v16.09
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 368 of file vpe.api.

Field Documentation

u32 vl_api_ip_add_del_route_t::classify_table_index

Definition at line 376 of file vpe.api.

u32 vl_api_ip_add_del_route_t::client_index

Definition at line 370 of file vpe.api.

u32 vl_api_ip_add_del_route_t::context

Definition at line 371 of file vpe.api.

u8 vl_api_ip_add_del_route_t::create_vrf_if_needed

Definition at line 377 of file vpe.api.

u8 vl_api_ip_add_del_route_t::dst_address[16]

Definition at line 389 of file vpe.api.

u8 vl_api_ip_add_del_route_t::dst_address_length

Definition at line 388 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_add

Definition at line 379 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_classify

Definition at line 383 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_drop

Definition at line 380 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_ipv6

Definition at line 381 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_local

Definition at line 382 of file vpe.api.

u8 vl_api_ip_add_del_route_t::is_multipath

Definition at line 385 of file vpe.api.

u32 vl_api_ip_add_del_route_t::lookup_in_vrf

Definition at line 374 of file vpe.api.

u8 vl_api_ip_add_del_route_t::next_hop_address[16]

Definition at line 390 of file vpe.api.

u32 vl_api_ip_add_del_route_t::next_hop_sw_if_index

Definition at line 372 of file vpe.api.

u8 vl_api_ip_add_del_route_t::next_hop_weight

Definition at line 387 of file vpe.api.

u8 vl_api_ip_add_del_route_t::not_last

Definition at line 386 of file vpe.api.

u32 vl_api_ip_add_del_route_t::resolve_attempts

Definition at line 375 of file vpe.api.

u8 vl_api_ip_add_del_route_t::resolve_if_needed

Definition at line 378 of file vpe.api.

u32 vl_api_ip_add_del_route_t::vrf_id

Definition at line 373 of file vpe.api.


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