FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
vtr_config_t Struct Reference

Per-interface vlan tag rewrite configuration There will be one instance of this struct for each sw_if_index for both input vtr and output vtr. More...

+ Collaboration diagram for vtr_config_t:

Data Fields

union {
   ethernet_vlan_header_tv_t   tags [2]
 
   u64   raw_tags
 
}; 
 
union {
   struct {
      u8   push_bytes
 
      u8   pop_bytes
 
   } 
 
   u16   push_and_pop_bytes
 
}; 
 

Detailed Description

Per-interface vlan tag rewrite configuration There will be one instance of this struct for each sw_if_index for both input vtr and output vtr.

Definition at line 45 of file l2_vtr.h.

Field Documentation

◆ @251

union { ... }

◆ @253

union { ... }

◆ pop_bytes

u8 vtr_config_t::pop_bytes

Definition at line 62 of file l2_vtr.h.

◆ push_and_pop_bytes

u16 vtr_config_t::push_and_pop_bytes

Definition at line 64 of file l2_vtr.h.

◆ push_bytes

u8 vtr_config_t::push_bytes

Definition at line 61 of file l2_vtr.h.

◆ raw_tags

u64 vtr_config_t::raw_tags

Definition at line 54 of file l2_vtr.h.

◆ tags

ethernet_vlan_header_tv_t vtr_config_t::tags[2]

Definition at line 53 of file l2_vtr.h.


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