FD.io VPP  v21.10.1-2-g0a485f517
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
 
vl_api_interface_index_t sw_if_index
 
bool 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 245 of file l2.api.

Field Documentation

◆ client_index

u32 vl_api_l2_flags_t::client_index

Definition at line 247 of file l2.api.

◆ context

u32 vl_api_l2_flags_t::context

Definition at line 248 of file l2.api.

◆ feature_bitmap

u32 vl_api_l2_flags_t::feature_bitmap

Definition at line 251 of file l2.api.

◆ is_set

bool vl_api_l2_flags_t::is_set

Definition at line 250 of file l2.api.

◆ sw_if_index

vl_api_interface_index_t vl_api_l2_flags_t::sw_if_index

Definition at line 249 of file l2.api.


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