FD.io VPP  v17.04.2-2-ga8f93f8
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 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
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_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_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 425 of file ip.api.

Field Documentation

u32 vl_api_ip_add_del_route_t::classify_table_index

Definition at line 431 of file ip.api.

u32 vl_api_ip_add_del_route_t::client_index

Definition at line 427 of file ip.api.

u32 vl_api_ip_add_del_route_t::context

Definition at line 428 of file ip.api.

u8 vl_api_ip_add_del_route_t::create_vrf_if_needed

Definition at line 433 of file ip.api.

u8 vl_api_ip_add_del_route_t::dst_address[16]

Definition at line 448 of file ip.api.

u8 vl_api_ip_add_del_route_t::dst_address_length

Definition at line 447 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_add

Definition at line 434 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_classify

Definition at line 440 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_drop

Definition at line 435 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_ipv6

Definition at line 438 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_local

Definition at line 439 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_multipath

Definition at line 441 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_prohibit

Definition at line 437 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_resolve_attached

Definition at line 443 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_resolve_host

Definition at line 442 of file ip.api.

u8 vl_api_ip_add_del_route_t::is_unreach

Definition at line 436 of file ip.api.

u8 vl_api_ip_add_del_route_t::next_hop_address[16]

Definition at line 449 of file ip.api.

u8 vl_api_ip_add_del_route_t::next_hop_n_out_labels

Definition at line 450 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 452 of file ip.api.

u32 vl_api_ip_add_del_route_t::next_hop_sw_if_index

Definition at line 429 of file ip.api.

u32 vl_api_ip_add_del_route_t::next_hop_table_id

Definition at line 432 of file ip.api.

u32 vl_api_ip_add_del_route_t::next_hop_via_label

Definition at line 451 of file ip.api.

u8 vl_api_ip_add_del_route_t::next_hop_weight

Definition at line 446 of file ip.api.

u8 vl_api_ip_add_del_route_t::not_last

Definition at line 445 of file ip.api.

u32 vl_api_ip_add_del_route_t::table_id

Definition at line 430 of file ip.api.

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