ETHFW API Guide
EthFwVlan_Cfg Struct Reference

Detailed Description

Static VLAN configuration.

Data Fields

const EthFwVlan_VlanCfgvlanCfg
 
uint32_t numStaticVlans
 
uint32_t dfltVlanIdSwitchPorts
 
uint32_t dfltVlanIdMacOnlyPorts
 
uint32_t switchPortMask
 
uint32_t macOnlyPortMask
 
uint32_t defaultPortMask
 
uint32_t defaultVirtPortMask
 
bool dVlanSwtFwdEn
 

Field Documentation

◆ vlanCfg

const EthFwVlan_VlanCfg* EthFwVlan_Cfg::vlanCfg

Pointer to the static VLANs parameters

◆ numStaticVlans

uint32_t EthFwVlan_Cfg::numStaticVlans

Number of static VLANs in EthFwVlan_Cfg::vlanCfg

◆ dfltVlanIdSwitchPorts

uint32_t EthFwVlan_Cfg::dfltVlanIdSwitchPorts

Default VLAN id used by Ethernet Firmware for switch ports (non MAC-only)

◆ dfltVlanIdMacOnlyPorts

uint32_t EthFwVlan_Cfg::dfltVlanIdMacOnlyPorts

Default VLAN id used by Ethernet Firmware for MAC-only ports

◆ switchPortMask

uint32_t EthFwVlan_Cfg::switchPortMask

Port mask of ports in switch mode (non MAC-only)

◆ macOnlyPortMask

uint32_t EthFwVlan_Cfg::macOnlyPortMask

Port mask of ports in MAC-only mode

◆ defaultPortMask

uint32_t EthFwVlan_Cfg::defaultPortMask

Default port mask for all ports in switch mode

◆ defaultVirtPortMask

uint32_t EthFwVlan_Cfg::defaultVirtPortMask

Default virtual port mask for all ports in switch mode

◆ dVlanSwtFwdEn

bool EthFwVlan_Cfg::dVlanSwtFwdEn

Whether forwarding to all Switch ports for dynamic VLANs is enabled