Bewerken

Delen via


NET_EXTENSION_QUERY structure (netadapterpacket.h)

The NET_EXTENSION_QUERY structure represents a query for a packet or fragment extension.

Syntax

typedef struct _NET_EXTENSION_QUERY {
  ULONG              Size;
  PCWSTR             Name;
  ULONG              Version;
  NET_EXTENSION_TYPE Type;
} NET_EXTENSION_QUERY;

Members

Size

The size of this structure, in bytes.

Name

The name of the extension to be queried.

Version

The version of the extension to be queried.

Type

A NET_EXTENSION_TYPE value that specifies the type of extension being queried.

Remarks

Call NET_EXTENSION_QUERY_INIT to initialize this structure.

For more info about extensions, see Packet descriptors and extensions.

For a code example of querying extension offsets, see Transmit and receive queues.

Requirements

Requirement Value
Minimum UMDF version 2.33
Header netadapterpacket.h (include netadaptercx.h)

See also

Packet descriptors and extensions

Transmit and receive queues

NET_EXTENSION_QUERY_INIT

NET_EXTENSION_TYPE