FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
vl_api_sr_mpls_steering_add_del_t Struct Reference

MPLS SR steering add/del. More...

Data Fields

u32 client_index
u32 context
u8 is_del
u32 bsid
u32 table_id
u8 prefix_addr [16]
u32 mask_width
u8 traffic_type
u8 next_hop [16]
u8 nh_type
u32 color
u8 co_bits
u32 vpn_label

Detailed Description

MPLS SR steering add/del.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
bsidis the bindingSID of the SR Policy (~0 is no bsid)
table_idis the VRF where to install the FIB entry for the BSID
prefixis the IPv4/v6 address for L3 traffic type. If IPv4 (first 4B).
mask_widthis the mask for L3 traffic type
sw_if_indexis the incoming interface for L2 traffic
traffic_typedescribes the type of traffic
next_hopdescribes the next_hop (in case no BSID)
nh_typedescribes type of NH (IPv4=4, IPv6=6)
colordescribes the color
co_bitsare the CO_bits of the steering policy
vpn_labelis an additonal last VPN label. (~0 is no label)

Definition at line 89 of file sr_mpls.api.

Field Documentation

u32 vl_api_sr_mpls_steering_add_del_t::bsid

Definition at line 94 of file sr_mpls.api.

u32 vl_api_sr_mpls_steering_add_del_t::client_index

Definition at line 91 of file sr_mpls.api.

u8 vl_api_sr_mpls_steering_add_del_t::co_bits

Definition at line 102 of file sr_mpls.api.

u32 vl_api_sr_mpls_steering_add_del_t::color

Definition at line 101 of file sr_mpls.api.

u32 vl_api_sr_mpls_steering_add_del_t::context

Definition at line 92 of file sr_mpls.api.

u8 vl_api_sr_mpls_steering_add_del_t::is_del

Definition at line 93 of file sr_mpls.api.

u32 vl_api_sr_mpls_steering_add_del_t::mask_width

Definition at line 97 of file sr_mpls.api.

u8 vl_api_sr_mpls_steering_add_del_t::next_hop[16]

Definition at line 99 of file sr_mpls.api.

u8 vl_api_sr_mpls_steering_add_del_t::nh_type

Definition at line 100 of file sr_mpls.api.

u8 vl_api_sr_mpls_steering_add_del_t::prefix_addr[16]

Definition at line 96 of file sr_mpls.api.

u32 vl_api_sr_mpls_steering_add_del_t::table_id

Definition at line 95 of file sr_mpls.api.

u8 vl_api_sr_mpls_steering_add_del_t::traffic_type

Definition at line 98 of file sr_mpls.api.

u32 vl_api_sr_mpls_steering_add_del_t::vpn_label

Definition at line 103 of file sr_mpls.api.

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