FD.io VPP  v17.04-9-g99c0734
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 160 of file sr.h.

Field Documentation

union { ... }
u32 sr_steering_key_t::fib_table

VRF of the prefix.

Definition at line 168 of file sr.h.

struct { ... } sr_steering_key_t::l2
struct { ... } sr_steering_key_t::l3
u32 sr_steering_key_t::mask_width

Mask width of the prefix.

Definition at line 167 of file sr.h.

u8 sr_steering_key_t::padding[3]

Definition at line 176 of file sr.h.

ip46_address_t sr_steering_key_t::prefix

IP address of the prefix.

Definition at line 166 of file sr.h.

u32 sr_steering_key_t::sw_if_index

Incoming software interface.

Definition at line 172 of file sr.h.

u8 sr_steering_key_t::traffic_type

Traffic type (IPv4, IPv6, L2)

Definition at line 175 of file sr.h.


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