NET_BUFFER_DATA_PHYSICAL_ADDRESS macro (ndis/nblaccessors.h)

The NET_BUFFER_DATA_PHYSICAL_ADDRESS macro retrieves the DataPhysicalAddress member of a NET_BUFFER structure.

Syntax

#define NET_BUFFER_DATA_PHYSICAL_ADDRESS(_NB) ((_NB)->DataPhysicalAddress)

Parameters

_NB

A pointer to a NET_BUFFER structure.

Return value

NET_BUFFER_DATA_PHYSICAL_ADDRESS returns the DataPhysicalAddress member of a NET_BUFFER structure.

Remarks

NDIS network drivers should use the NET_BUFFER_DATA_PHYSICAL_ADDRESS macro to get the DataPhysicalAddress member of a NET_BUFFER structure.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.1 and later.
Target Platform Universal
Header ndis/nblaccessors.h (include ndis.h)

See also

NET_BUFFER