FD.io VPP  v17.10-9-gd594711
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 table_id
 
u32 classify_table_index
 
u32 next_hop_table_id
 
u8 create_vrf_if_needed
 
u8 is_add
 
u8 is_drop
 
u8 is_unreach
 
u8 is_prohibit
 
u8 is_ipv6
 
u8 is_local
 
u8 is_classify
 
u8 is_multipath
 
u8 is_resolve_host
 
u8 is_resolve_attached
 
u8 not_last
 
u8 next_hop_weight
 
u8 next_hop_preference
 
u8 dst_address_length
 
u8 dst_address [16]
 
u8 next_hop_address [16]
 
u8 next_hop_n_out_labels
 
u32 next_hop_via_label
 
u32 next_hop_out_label_stack [next_hop_n_out_labels]
 

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-
classify_table_index-
create_vrf_if_needed-
is_add- 1 if adding the route, 0 if deleting
is_drop- Drop the packet
is_unreach- Drop the packet and rate limit send ICMP unreachable
is_prohibit- Drop the packet and rate limit send ICMP prohibited
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]-
next_hop_n_out_labels- the number of labels in the label stack
next_hop_out_label_stack- the next-hop output label stack, outer most first
next_hop_via_label- The next-hop is a resolved via a local label

Definition at line 381 of file ip.api.

Field Documentation

u32 vl_api_ip_add_del_route_t::classify_table_index

Definition at line 387 of file ip.api.

u32 vl_api_ip_add_del_route_t::client_index

Definition at line 383 of file ip.api.

u32 vl_api_ip_add_del_route_t::context

Definition at line 384 of file ip.api.

u8 vl_api_ip_add_del_route_t::create_vrf_if_needed

Definition at line 389 of file ip.api.

u8 vl_api_ip_add_del_route_t::dst_address[16]

Definition at line 405 of file ip.api.

u8 vl_api_ip_add_del_route_t::dst_address_length

Definition at line 404 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_add

Definition at line 390 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_classify

Definition at line 396 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_drop

Definition at line 391 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_ipv6

Definition at line 394 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_local

Definition at line 395 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_multipath

Definition at line 397 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_prohibit

Definition at line 393 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_resolve_attached

Definition at line 399 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_resolve_host

Definition at line 398 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_unreach

Definition at line 392 of file ip.api.

u8 vl_api_ip_add_del_route_t::next_hop_address[16]

Definition at line 406 of file ip.api.

u8 vl_api_ip_add_del_route_t::next_hop_n_out_labels

Definition at line 407 of file ip.api.

u32 vl_api_ip_add_del_route_t::next_hop_out_label_stack[next_hop_n_out_labels]

Definition at line 409 of file ip.api.

u8 vl_api_ip_add_del_route_t::next_hop_preference

Definition at line 403 of file ip.api.

u32 vl_api_ip_add_del_route_t::next_hop_sw_if_index

Definition at line 385 of file ip.api.

u32 vl_api_ip_add_del_route_t::next_hop_table_id

Definition at line 388 of file ip.api.

u32 vl_api_ip_add_del_route_t::next_hop_via_label

Definition at line 408 of file ip.api.

u8 vl_api_ip_add_del_route_t::next_hop_weight

Definition at line 402 of file ip.api.

u8 vl_api_ip_add_del_route_t::not_last

Definition at line 401 of file ip.api.

u32 vl_api_ip_add_del_route_t::table_id

Definition at line 386 of file ip.api.


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