NET_BUFFER_LIST_PROTOCOL_RESERVED macro (ndis/nblaccessors.h)

NET_BUFFER_LIST_PROTOCOL_RESERVED is a macro that NDIS drivers use to access the ProtocolReserved member of a NET_BUFFER_LIST structure.

Syntax

#define NET_BUFFER_PROTOCOL_RESERVED(_NB) ((_NB)->ProtocolReserved)

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return value

NET_BUFFER_LIST_PROTOCOL_RESERVED returns a pointer to the start of the ProtocolReserved member of the indicated NET_BUFFER_LIST structure.

Remarks

Protocol drivers and NDIS intermediate drivers can use ProtocolReserved for their own purposes.

Note

Only one driver can use ProtocolReserved . Therefore, if another driver has used ProtocolReserved, an intermediate driver cannot use it.

Requirements

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

See also

NET_BUFFER_LIST