FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_l2_interface_vlan_tag_rewrite_t Struct Reference

L2 interface vlan tag rewrite configure request. More...

Data Fields

u32 client_index
u32 context
vl_api_interface_index_t sw_if_index
u32 vtr_op
u32 push_dot1q
u32 tag1
u32 tag2

Detailed Description

L2 interface vlan tag rewrite configure request.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
sw_if_index- interface the operation is applied to
vtr_op- Choose from l2_vtr_op_t enum values
push_dot1q- first pushed flag dot1q id set, else dot1ad
tag1- Needed for any push or translate vtr op
tag2- Needed for any push 2 or translate x-2 vtr ops

Definition at line 442 of file l2.api.

Field Documentation

◆ client_index

u32 vl_api_l2_interface_vlan_tag_rewrite_t::client_index

Definition at line 444 of file l2.api.

◆ context

u32 vl_api_l2_interface_vlan_tag_rewrite_t::context

Definition at line 445 of file l2.api.

◆ push_dot1q

u32 vl_api_l2_interface_vlan_tag_rewrite_t::push_dot1q

Definition at line 448 of file l2.api.

◆ sw_if_index

vl_api_interface_index_t vl_api_l2_interface_vlan_tag_rewrite_t::sw_if_index

Definition at line 446 of file l2.api.

◆ tag1

u32 vl_api_l2_interface_vlan_tag_rewrite_t::tag1

Definition at line 449 of file l2.api.

◆ tag2

u32 vl_api_l2_interface_vlan_tag_rewrite_t::tag2

Definition at line 450 of file l2.api.

◆ vtr_op

u32 vl_api_l2_interface_vlan_tag_rewrite_t::vtr_op

Definition at line 447 of file l2.api.

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