NetRxQueueGetExtension - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netrxqueue.h

void NetRxQueueGetExtension(
  [_In_]  NETPACKETQUEUE            PacketQueue,
  [_In_]  const NET_EXTENSION_QUERY *Query,
  [_Out_] NET_EXTENSION             *Extension
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netrxqueue-netrxqueuegetextension)

NetRxQueueGetExtension function

Description

The NetRxQueueGetExtension function retrieves a packet extension for all packets in a receive (Rx) queue.

Parameters

PacketQueue [_In_]

The receive queue object.

Query [_In_]

A pointer to a driver-allocated and initialized NET_EXTENSION_QUERY structure that contains information about the desired packet extension.

Extension [_Out_]

A handle to a driver-allocated NET_EXTENSION structure that receives the packet extension.

Remarks

Client drivers typically call this function from their EvtNetAdapterCreateRxQueue callback function after queue creation. To prevent frequent extension queries, store the extension returned by this function in your queue context space.

See also

Packet descriptors and extensions