FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
vl_api_sw_interface_span_enable_disable_t Struct Reference

Enable/Disable span to mirror traffic from one interface to another. More...

Data Fields

u32 client_index
 
u32 context
 
u32 sw_if_index_from
 
u32 sw_if_index_to
 
u8 state
 
u8 is_l2
 

Detailed Description

Enable/Disable span to mirror traffic from one interface to another.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context which was passed in the request
sw_if_index_from- interface to be mirrored
sw_if_index_to- interface where the traffic is mirrored
state- 0 = disabled, 1 = rx enabled, 2 = tx enabled, 3 tx & rx enabled
is_l2- 0 = mirror at hw device level, 1 = mirror at L2

Definition at line 27 of file span.api.

Field Documentation

◆ client_index

u32 vl_api_sw_interface_span_enable_disable_t::client_index

Definition at line 28 of file span.api.

◆ context

u32 vl_api_sw_interface_span_enable_disable_t::context

Definition at line 29 of file span.api.

◆ is_l2

u8 vl_api_sw_interface_span_enable_disable_t::is_l2

Definition at line 33 of file span.api.

◆ state

u8 vl_api_sw_interface_span_enable_disable_t::state

Definition at line 32 of file span.api.

◆ sw_if_index_from

u32 vl_api_sw_interface_span_enable_disable_t::sw_if_index_from

Definition at line 30 of file span.api.

◆ sw_if_index_to

u32 vl_api_sw_interface_span_enable_disable_t::sw_if_index_to

Definition at line 31 of file span.api.


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