NDIS_NET_BUFFER_LIST_VIRTUAL_SUBNET_INFO structure (ndis.h)

Defines the group network virtualization information for a network buffer list (NBL).

Syntax

typedef struct _NDIS_NET_BUFFER_LIST_VIRTUAL_SUBNET_INFO {
  union {
    struct {
      UINT32 VirtualSubnetId : 24;
      UINT32 ReservedVsidBits : 8;
      UINT32 Reserved;
    };
    PVOID Value;
  };
} NDIS_NET_BUFFER_LIST_VIRTUAL_SUBNET_INFO, *PNDIS_NET_BUFFER_LIST_VIRTUAL_SUBNET_INFO;

Members

VirtualSubnetId

The originating virtual switch port ID for the network buffer list.

ReservedVsidBits

This member is reserved and should be set to zero.

Reserved

This member is reserved and should be set to zero.

Value

A member in the union that is contained in NDIS_NET_BUFFER_LIST_VIRTUAL_SUBNET_INFO. Value contains a pointer value that is type-compatible with the NetBufferListInfo member in the NET_BUFFER_LIST structure. (See the VirtualSubnetInfo constant in the NDIS_NET_BUFFER_LIST_INFO enumeration.)

Remarks

This structure is used in the NetBufferListInfo member in the NET_BUFFER_LIST structure.

In NDIS 6.40 (Windows Server 2012 R2) and later, a VirtualSubnetId can be configured on a VM network adapter port as an external virtual subnet to support a third-party network virtualization solution. A Hyper-V extensible Switch forwarding extension may then modify the packet headers, as required, during forwarding. Packets that are being modified must be cloned, and their ParentNetBufferList pointers must be set to the original NBL.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.30 and later.
Header ndis.h (include Ndis.h)

See also

Cloning Packet Traffic

Forwarding Extensions

NDIS_ISOLATION_MODE

NDIS_NET_BUFFER_LIST_INFO

NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY

NET_BUFFER_LIST

Overview of the Hyper-V Extensible Switch