// ndis.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
Defines the group network virtualization information for a network buffer list (NBL).
VirtualSubnetIdThe originating virtual switch port ID for the network buffer list.
ReservedVsidBitsThis member is reserved and should be set to zero.
ReservedThis member is reserved and should be set to zero.
ValueA 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.)
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.
NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY
Overview of the Hyper-V Extensible Switch