NDIS_SWITCH_PORT_VLAN_MODE enumeration

The NDIS_SWITCH_PORT_VLAN_MODE enumeration specifies the operation mode of the virtual local area network (VLAN) policy property of a Hyper-V extensible switch port.

Syntax


typedef enum  { 
  NdisSwitchPortVlanModeUnknown  = 0,
  NdisSwitchPortVlanModeAccess   = 1,
  NdisSwitchPortVlanModeTrunk    = 2,
  NdisSwitchPortVlanModePrivate  = 3,
  NdisSwitchPortVlanModeMax      = 4
} NDIS_SWITCH_PORT_VLAN_MODE, *PNDIS_SWITCH_PORT_VLAN_MODE;

Constants

NdisSwitchPortVlanModeUnknown

This value specifies an undefined VLAN operation mode.

NdisSwitchPortVlanModeAccess

This value specifies an operation mode in which packets from a single VLAN can be sent or received over the port. These packets can be forwarded from other ports on the extensible switch.

NdisSwitchPortVlanModeTrunk

This value specifies an operation mode where the port acts as a VLAN trunk. In this mode, packets from multiple VLANs as well as non-VLAN packets can be sent or received over the port. These packets can be forwarded from other ports on the extensible switch.

NdisSwitchPortVlanModePrivate

This value specifies an operation mode where packets from a single VLAN can be sent or received over the port. These packets cannot be forwarded from other ports on the extensible switch.

NdisSwitchPortVlanModeMax

The maximum value for this enumeration. This value might change in future versions of the NDIS header files and binaries.

Remarks

The OperationMode 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.

Requirements

Version

Supported in NDIS 6.30 and later.

Header

Ntddndis.h (include Ndis.h)

See also

NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY
NDIS_SWITCH_PORT_PROPERTY_VLAN

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft