FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
sr_steering_key_t Struct Reference

Steering db key. More...

Data Fields

union {
   struct {
      ip46_address_t   prefix
 IP address of the prefix. More...
 
      u32   mask_width
 Mask width of the prefix. More...
 
      u32   fib_table
 VRF of the prefix. More...
 
   }   l3
 
   struct {
      u32   sw_if_index
 Incoming software interface. More...
 
   }   l2
 
}; 
 
u8 traffic_type
 Traffic type (IPv4, IPv6, L2) More...
 
u8 padding [3]
 

Detailed Description

Steering db key.

L3 is IPv4/IPv6 + mask L2 is sf_if_index + vlan

Definition at line 161 of file sr.h.

Field Documentation

◆ @366

union { ... }

◆ fib_table

u32 sr_steering_key_t::fib_table

VRF of the prefix.

Definition at line 169 of file sr.h.

◆ l2

struct { ... } sr_steering_key_t::l2

◆ l3

struct { ... } sr_steering_key_t::l3

◆ mask_width

u32 sr_steering_key_t::mask_width

Mask width of the prefix.

Definition at line 168 of file sr.h.

◆ padding

u8 sr_steering_key_t::padding[3]

Definition at line 177 of file sr.h.

◆ prefix

ip46_address_t sr_steering_key_t::prefix

IP address of the prefix.

Definition at line 167 of file sr.h.

◆ sw_if_index

u32 sr_steering_key_t::sw_if_index

Incoming software interface.

Definition at line 173 of file sr.h.

◆ traffic_type

u8 sr_steering_key_t::traffic_type

Traffic type (IPv4, IPv6, L2)

Definition at line 176 of file sr.h.


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