// extension.h
void * NetExtensionGetData(
NET_EXTENSION const *Extension,
UINT32 Index
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetExtensionGetData function retrieves packet extension data for a net packet.
ExtensionA pointer to a NET_EXTENSION structure that describes the requested extension information for this packet queue.
IndexThe index in the packet ring for the target NET_PACKET.
Returns a pointer to the structure that holds the extension information for this packet.
Client drivers should not call this function directly. Instead, they should call the appropriate wrapper function for the type of extension they are getting:
Packet descriptors and extensions