FD.io VPP  v19.01.2-3-gf61a1a8
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

union { ... }
union { ... }
u8 vtr_config_t::pop_bytes

Definition at line 62 of file l2_vtr.h.

u16 vtr_config_t::push_and_pop_bytes

Definition at line 64 of file l2_vtr.h.

u8 vtr_config_t::push_bytes

Definition at line 61 of file l2_vtr.h.

u64 vtr_config_t::raw_tags

Definition at line 54 of file l2_vtr.h.

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: