// ntddndis.h
typedef struct _NDIS_SWITCH_PORT_PROPERTY_ISOLATION {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
NDIS_ISOLATION_MODE IsolationMode;
BOOLEAN AllowUntaggedTraffic;
UINT32 DefaultIsolationId;
} NDIS_SWITCH_PORT_PROPERTY_ISOLATION, *PNDIS_SWITCH_PORT_PROPERTY_ISOLATION;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_SWITCH_PORT_PROPERTY_ISOLATION structure is used to specify the isolation properties for a VM network adapter's port.
HeaderThe type, revision, and size of the NDIS_SWITCH_PORT_PROPERTY_ISOLATION structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The Type member of Header must be set to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_SWITCH_PORT_PROPERTY_ISOLATION structure, the Revision member of Header must be set to the following value:
Original version for NDIS 6.40 and later.
Set the Size member to NDIS_SIZEOF_NDIS_SWITCH_PORT_PROPERTY_ISOLATION_REVISION_1.
FlagsA ULONG value that contains a bitwise OR of flags. This member is reserved for NDIS.
IsolationModeAn NDIS_ISOLATION_MODE enumeration value that specifies the isolation mode.
AllowUntaggedTrafficSpecifies whether the VM network adapter port is allowed to send or receive untagged packets. If untagged packets are allowed, the VM network adapter miniport driver tags untagged packets with the default isolation ID specified by the DefaultIsolationId member. Otherwise, the miniport driver drops them.
DefaultIsolationIdThe default isolation ID that is applied to tagged packets if the AllowUntaggedTraffic member is TRUE.