NetExtensionGetPacketIeee8021Q function (ieee8021q.h)
The NetExtensionGetPacketIeee8021Q function retrieves the IEEE 802.1Q information for a NET_PACKET.
Syntax
EXTERN_C_START NET_PACKET_IEEE8021Q * NetExtensionGetPacketIeee8021Q(
NET_EXTENSION const *Extension,
UINT32 Index
);
Parameters
Extension
A pointer to a NET_EXTENSION structure that describes the 802.1Q extension information for this packet queue.
Index
The index in the packet ring for the target NET_PACKET.
Return value
Returns a pointer to a NET_PACKET_IEEE8021Q structure that holds the 802.1Q information for this packet.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Minimum UMDF version | 2.33 |
Header | ieee8021q.h (include netadaptercx.h) |