|
clib_error_t * | l2_vtr_init (vlib_main_t *vm) |
| Just a placeholder; ensures file is not eliminated by linker. More...
|
|
u32 | l2pbb_configure (vlib_main_t *vlib_main, vnet_main_t *vnet_main, u32 sw_if_index, u32 vtr_op, u8 *b_dmac, u8 *b_smac, u16 b_vlanid, u32 i_sid, u16 vlan_outer_tag) |
|
u32 | l2vtr_configure (vlib_main_t *vlib_main, vnet_main_t *vnet_main, u32 sw_if_index, u32 vtr_op, u32 push_dot1q, u32 vtr_tag1, u32 vtr_tag2) |
| Configure vtag tag rewrite on the given interface. More...
|
|
u32 | l2vtr_get (vlib_main_t *vlib_main, vnet_main_t *vnet_main, u32 sw_if_index, u32 *vtr_op, u32 *push_dot1q, u32 *vtr_tag1, u32 *vtr_tag2) |
| Get vtag tag rewrite on the given interface. More...
|
|
static clib_error_t * | int_l2_vtr (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set subinterface vtr enable/disable. More...
|
|
static clib_error_t * | int_l2_pbb_vtr (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set subinterface pbb vtr enable/disable. More...
|
|
Ethernet VLAN Tag Rewrite.
VLAN tag rewrite provides the ability to change the VLAN tags on a packet. Existing tags can be popped, new tags can be pushed, and existing tags can be swapped with new tags. The rewrite feature is attached to a subinterface as input and output operations. The input operation is explicitly configured. The output operation is the symmetric opposite and is automatically derived from the input operation.
Definition in file l2_vtr.c.