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:
- For checksum offload information, the client driver calls NetExtensionGetPacketChecksum.
- For Generic Segmentation Offload (GSO) information, the client driver calls NetExtensionGetPacketLso.
- For Receive Segment Coalescence (RSC) offload information, the client driver calls NetExtensionGetPacketRsc.
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 |