NET_PACKET_EXTENSION structure

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NET_PACKET_EXTENSION structure describes a packet extension for either a net adapter or one of its datapath queues.

Syntax

typedef struct _NET_PACKET_EXTENSION {
  ULONG  Size;
  PCWSTR Name;
  ULONG  Version;
  ULONG  Alignment;
  SIZE_T ExtensionSize;
} NET_PACKET_EXTENSION;

Members

Size

The size of this structure, in bytes.

Name

The name of the packet extension.

Version

The version of the packet extension.

Alignment

The alignment requirement for the extension.

ExtensionSize

The size, in bytes, of the packet extension.

Remarks

Call NET_PACKET_EXTENSION_INIT to initialize this structure.

This structure contains information about a packet extension, whereas the similarly named NET_PACKET_EXTENSION_QUERY structure represents a query for that extension.

For more information about packet extensions and available packet extension constants, see Packet descriptors and extensions.

Requirements

   
Minimum KMDF version 1.25
Header netadapterpacket.h (include netadaptercx.h)