FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
vl_api_l2_flags_t Struct Reference

Set interface L2 flags (such as L2_LEARN, L2_FWD, L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits). More...

Data Fields

u32 client_index
 
u32 context
 
u32 sw_if_index
 
u8 is_set
 
u32 feature_bitmap
 

Detailed Description

Set interface L2 flags (such as L2_LEARN, L2_FWD, L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits).

This can be used to disable one or more of the features represented by the flag bits on an interface to override what is set as default for all interfaces in the bridge domain

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
sw_if_index- interface
is_set- if non-zero, set the bits, else clear them
feature_bitmap- non-zero bits (as above) to set or clear

Definition at line 206 of file l2.api.

Field Documentation

◆ client_index

u32 vl_api_l2_flags_t::client_index

Definition at line 208 of file l2.api.

◆ context

u32 vl_api_l2_flags_t::context

Definition at line 209 of file l2.api.

◆ feature_bitmap

u32 vl_api_l2_flags_t::feature_bitmap

Definition at line 212 of file l2.api.

◆ is_set

u8 vl_api_l2_flags_t::is_set

Definition at line 211 of file l2.api.

◆ sw_if_index

u32 vl_api_l2_flags_t::sw_if_index

Definition at line 210 of file l2.api.


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