NetExtensionGetFragmentVirtualAddress - NtDoc

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

EXTERN_C_START NET_FRAGMENT_VIRTUAL_ADDRESS * NetExtensionGetFragmentVirtualAddress(
  NET_EXTENSION const *Extension,
  UINT32              Index
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-virtualaddress-netextensiongetfragmentvirtualaddress)

NetExtensionGetFragmentVirtualAddress function

Description

The NetExtensionGetFragmentVirtualAddress function retrieves the virtual address extension information for a net fragment.

Parameters

Extension

A pointer to a NET_EXTENSION structure that describes the virtual address extension information for this fragment.

Index

The index in the fragment ring for the target NET_FRAGMENT.

Return value

Returns a pointer to a NET_FRAGMENT_VIRTUAL_ADDRESS structure that contains the virtual address information for the fragment.

Remarks

NIC client drivers typically query offsets for fragment extensions during datapath queue creation, then store them in their queue context space so they don't have to query them too often. For an example of this, see Transmit and receive queues. Clients can retrieve the virtual address offset from the queue context to pass to NetExtensionGetFragmentVirtualAddress.

This function is a wrapper function around NetExtensionGetData.

See also

Transmit and receive queues

Packet descriptors and extensions

NetExtensionGetData