NDIS_SWITCH_PORT_VLAN_MODE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddndis.h

typedef enum _NDIS_SWITCH_PORT_VLAN_MODE {
  NdisSwitchPortVlanModeUnknown,
  NdisSwitchPortVlanModeAccess,
  NdisSwitchPortVlanModeTrunk,
  NdisSwitchPortVlanModePrivate,
  NdisSwitchPortVlanModeMax
} NDIS_SWITCH_PORT_VLAN_MODE, *PNDIS_SWITCH_PORT_VLAN_MODE;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-ntddndis-_ndis_switch_port_vlan_mode)

_NDIS_SWITCH_PORT_VLAN_MODE enumeration

Description

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.

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.

See also

NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY

NDIS_SWITCH_PORT_PROPERTY_VLAN