Bewerken

Delen via


NetExtensionGetData function (extension.h)

The NetExtensionGetData function retrieves packet extension data for a net packet.

Syntax

void * NetExtensionGetData(
  NET_EXTENSION const *Extension,
  UINT32              Index
);

Parameters

Extension

A pointer to a NET_EXTENSION structure that describes the requested extension information for this packet queue.

Index

The index in the packet ring for the target NET_PACKET.

Return value

Returns a pointer to the structure that holds the extension information for this packet.

Remarks

Client drivers should not call this function directly. Instead, they should call the appropriate wrapper function for the type of extension they are getting:

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.29
Minimum UMDF version 2.33
Header extension.h (include netadaptercx.h)
IRQL Any level as long as target memory is resident