Ethernet MAC VLAN Filter FlagEthernet MAC Control Codes

Specify whether to compare only the VLAN Identifier.

Macros

#define ARM_ETH_MAC_VLAN_FILTER_ID_ONLY   (1UL << 16)
 Compare only the VLAN Identifier (12-bit)
 

Description

Specify whether to compare only the VLAN Identifier.

The function ARM_ETH_MAC_Control with control = ARM_ETH_MAC_VLAN_FILTER configures the VLAN Filter for received frames as specified with arg.

By default the complete VLAN Tag (16-bit) is compared. When ARM_ETH_MAC_VLAN_FILTER_ID_ONLY is specified then only the VLAN Identifier (12-bit) is compared.

Specifying arg=0 disables the VLAN Filter.

Macro Definition Documentation

#define ARM_ETH_MAC_VLAN_FILTER_ID_ONLY   (1UL << 16)

Compare only the VLAN Identifier (12-bit)