FD.io VPP  v21.06-3-gbb25fbf28
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 222 of file sr.h.

Field Documentation

◆ @542

union { ... }

◆ fib_table

u32 sr_steering_key_t::fib_table

VRF of the prefix.

Definition at line 230 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 229 of file sr.h.

◆ padding

u8 sr_steering_key_t::padding[3]

Definition at line 238 of file sr.h.

◆ prefix

ip46_address_t sr_steering_key_t::prefix

IP address of the prefix.

Definition at line 228 of file sr.h.

◆ sw_if_index

u32 sr_steering_key_t::sw_if_index

Incoming software interface.

Definition at line 234 of file sr.h.

◆ traffic_type

u8 sr_steering_key_t::traffic_type

Traffic type (IPv4, IPv6, L2)

Definition at line 237 of file sr.h.


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