FD.io VPP  v20.01-48-g3e0dafb74
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 46 of file l2_vtr.h.

Field Documentation

◆ @383

union { ... }

◆ @385

union { ... }

◆ pop_bytes

u8 vtr_config_t::pop_bytes

Definition at line 63 of file l2_vtr.h.

◆ push_and_pop_bytes

u16 vtr_config_t::push_and_pop_bytes

Definition at line 65 of file l2_vtr.h.

◆ push_bytes

u8 vtr_config_t::push_bytes

Definition at line 62 of file l2_vtr.h.

◆ raw_tags

u64 vtr_config_t::raw_tags

Definition at line 55 of file l2_vtr.h.

◆ tags

ethernet_vlan_header_tv_t vtr_config_t::tags[2]

Definition at line 54 of file l2_vtr.h.


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