// ntddndis.h
typedef enum _NDIS_SWITCH_PORT_PVLAN_MODE {
NdisSwitchPortPvlanModeUndefined,
NdisSwitchPortPvlanModeIsolated,
NdisSwitchPortPvlanModeCommunity,
NdisSwitchPortPvlanModePromiscuous
} NDIS_SWITCH_PORT_PVLAN_MODE, *PNDIS_SWITCH_PORT_PVLAN_MODE;
View the official Windows Driver Kit DDI reference
No description available.
The NDIS_SWITCH_PORT_PVLAN_MODE enumeration specifies the operation mode of a private virtual local area network (PVLAN) policy property. This property is specified for a port on the Hyper-V extensible switch.
NdisSwitchPortPvlanModeUndefined
This value specifies an undefined PVLAN operation mode.
NdisSwitchPortPvlanModeIsolated
This value specifies a port that operates in PVLAN isolated mode. In isolated mode, the port can receive traffic only on the primary VLAN. It sends traffic on the secondary VLAN.
NdisSwitchPortPvlanModeCommunity
This value specifies a port that operates in PVLAN community mode. In community mode, the port can receive traffic on the primary and secondary VLAN. However, the port can send traffic only on its secondary VLAN.
NdisSwitchPortPvlanModePromiscuous
This value specifies a port that operates in PVLAN promiscuous mode. In promiscuous mode, the port can receive traffic on a defined set of primary and secondary VLANs. However, the port can send traffic only on its primary VLAN.
The PvlanMode member of the NDIS_SWITCH_PORT_PROPERTY_VLAN structure is an NDIS_SWITCH_PORT_VLAN_MODE enumeration data type.
For more information about extensible switch port policies, see Hyper-V Extensible Switch Policies.
NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY
NDIS_SWITCH_PORT_PROPERTY_VLAN