NET_BUFFER_DATA_LENGTH - NtDoc

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

#define NET_BUFFER_DATA_LENGTH(_NB) ((_NB)->DataLength)

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NET_BUFFER_DATA_LENGTH macro

Description

NET_BUFFER_DATA_LENGTH is a macro that NDIS drivers use to get the amount of used data space in a NET_BUFFER structure.

Syntax

#define NET_BUFFER_DATA_LENGTH(_NB) ((_NB)->DataLength)

Parameters

_NB

A pointer to a NET_BUFFER structure.

Return value

NET_BUFFER_DATA_LENGTH returns the amount of used data space in a NET_BUFFER structure.

Remarks

NET_BUFFER_DATA_LENGTH gets the return value from the DataLength member of the NET_BUFFER structure.

See also

NET_BUFFER