NET_BUFFER_CURRENT_MDL_OFFSET - NtDoc

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

#define NET_BUFFER_CURRENT_MDL_OFFSET(_NB) ((_NB)->CurrentMdlOffset)

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-nblaccessors-net_buffer_current_mdl_offset)

NET_BUFFER_CURRENT_MDL_OFFSET macro

Description

NET_BUFFER_CURRENT_MDL_OFFSET is a macro that NDIS drivers use to get the CurrentMdlOffset member of a NET_BUFFER structure.

Syntax

#define NET_BUFFER_CURRENT_MDL_OFFSET(_NB) ((_NB)->CurrentMdlOffset)

Parameters

_NB

A pointer to a NET_BUFFER structure.

Return value

NET_BUFFER_CURRENT_MDL_OFFSET returns the value of the CurrentMdlOffset member of the indicated NET_BUFFER structure.

Remarks

The return value specifies the offset, in bytes, to the beginning of the used data space in the MDL that is specified by the CurrentMdl member of the NET_BUFFER structure.

See also

NET_BUFFER