FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vl_api_mpls_route_add_del_t Struct Reference

MPLS Route Add / del route. More...

+ Collaboration diagram for vl_api_mpls_route_add_del_t:

Data Fields

u32 client_index
 
u32 context
 
u32 mr_label
 
u8 mr_eos
 
u32 mr_table_id
 
u32 mr_classify_table_index
 
u8 mr_is_add
 
u8 mr_is_classify
 
u8 mr_is_multicast
 
u8 mr_is_multipath
 
u8 mr_is_resolve_host
 
u8 mr_is_resolve_attached
 
u8 mr_is_interface_rx
 
u8 mr_is_rpf_id
 
u8 mr_next_hop_proto
 
u8 mr_next_hop_weight
 
u8 mr_next_hop_preference
 
u8 mr_next_hop [16]
 
u8 mr_next_hop_n_out_labels
 
u32 mr_next_hop_sw_if_index
 
u32 mr_next_hop_table_id
 
u32 mr_next_hop_via_label
 
vl_api_fib_mpls_label_t mr_next_hop_out_label_stack [mr_next_hop_n_out_labels]
 

Detailed Description

MPLS Route Add / del route.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
mr_label- The MPLS label value
mr_eos- The End of stack bit
mr_table_id- The MPLS table-id the route is added in
mr_classify_table_index- If this is a classify route, this is the classify table index create them
mr_is_add- Is this a route add or delete
mr_is_classify- Is this route result a classify
mr_is_multicast- Is this a multicast route
mr_is_multipath- Is this route update a multipath - i.e. is this a path addition to an existing route
mr_is_resolve_host- Recurse resolution constraint via a host prefix
mr_is_resolve_attached- Recurse resolution constraint via attached prefix
mr_is_interface_rx- Interface Receive path
mr_is_interface_rx- RPF-ID Receive path. The next-hop interface is used as the RPF-ID
mr_next_hop_proto- The next-hop protocol, of type dpo_proto_t
mr_next_hop_weight- The weight, for UCMP
mr_next_hop[16]- the nextop address
mr_next_hop_sw_if_index- the next-hop SW interface
mr_next_hop_table_id- the next-hop table-id (if appropriate)
mr_next_hop_n_out_labels- the number of labels in the label stack
mr_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 147 of file mpls.api.

Field Documentation

◆ client_index

u32 vl_api_mpls_route_add_del_t::client_index

Definition at line 149 of file mpls.api.

◆ context

u32 vl_api_mpls_route_add_del_t::context

Definition at line 150 of file mpls.api.

◆ mr_classify_table_index

u32 vl_api_mpls_route_add_del_t::mr_classify_table_index

Definition at line 154 of file mpls.api.

◆ mr_eos

u8 vl_api_mpls_route_add_del_t::mr_eos

Definition at line 152 of file mpls.api.

◆ mr_is_add

u8 vl_api_mpls_route_add_del_t::mr_is_add

Definition at line 155 of file mpls.api.

◆ mr_is_classify

u8 vl_api_mpls_route_add_del_t::mr_is_classify

Definition at line 156 of file mpls.api.

◆ mr_is_interface_rx

u8 vl_api_mpls_route_add_del_t::mr_is_interface_rx

Definition at line 161 of file mpls.api.

◆ mr_is_multicast

u8 vl_api_mpls_route_add_del_t::mr_is_multicast

Definition at line 157 of file mpls.api.

◆ mr_is_multipath

u8 vl_api_mpls_route_add_del_t::mr_is_multipath

Definition at line 158 of file mpls.api.

◆ mr_is_resolve_attached

u8 vl_api_mpls_route_add_del_t::mr_is_resolve_attached

Definition at line 160 of file mpls.api.

◆ mr_is_resolve_host

u8 vl_api_mpls_route_add_del_t::mr_is_resolve_host

Definition at line 159 of file mpls.api.

◆ mr_is_rpf_id

u8 vl_api_mpls_route_add_del_t::mr_is_rpf_id

Definition at line 162 of file mpls.api.

◆ mr_label

u32 vl_api_mpls_route_add_del_t::mr_label

Definition at line 151 of file mpls.api.

◆ mr_next_hop

u8 vl_api_mpls_route_add_del_t::mr_next_hop[16]

Definition at line 166 of file mpls.api.

◆ mr_next_hop_n_out_labels

u8 vl_api_mpls_route_add_del_t::mr_next_hop_n_out_labels

Definition at line 167 of file mpls.api.

◆ mr_next_hop_out_label_stack

vl_api_fib_mpls_label_t vl_api_mpls_route_add_del_t::mr_next_hop_out_label_stack[mr_next_hop_n_out_labels]

Definition at line 171 of file mpls.api.

◆ mr_next_hop_preference

u8 vl_api_mpls_route_add_del_t::mr_next_hop_preference

Definition at line 165 of file mpls.api.

◆ mr_next_hop_proto

u8 vl_api_mpls_route_add_del_t::mr_next_hop_proto

Definition at line 163 of file mpls.api.

◆ mr_next_hop_sw_if_index

u32 vl_api_mpls_route_add_del_t::mr_next_hop_sw_if_index

Definition at line 168 of file mpls.api.

◆ mr_next_hop_table_id

u32 vl_api_mpls_route_add_del_t::mr_next_hop_table_id

Definition at line 169 of file mpls.api.

◆ mr_next_hop_via_label

u32 vl_api_mpls_route_add_del_t::mr_next_hop_via_label

Definition at line 170 of file mpls.api.

◆ mr_next_hop_weight

u8 vl_api_mpls_route_add_del_t::mr_next_hop_weight

Definition at line 164 of file mpls.api.

◆ mr_table_id

u32 vl_api_mpls_route_add_del_t::mr_table_id

Definition at line 153 of file mpls.api.


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