// nblaccessors.h
#define NET_BUFFER_PROTOCOL_RESERVED(_NB) ((_NB)->ProtocolReserved)
View the official Windows Driver Kit DDI referenceNo description available.
NET_BUFFER_PROTOCOL_RESERVED is a macro that NDIS drivers use to get the ProtocolReserved member of a NET_BUFFER structure.
#define NET_BUFFER_PROTOCOL_RESERVED(_NB) ((_NB)->ProtocolReserved)
_NBA pointer to a NET_BUFFER structure.
NET_BUFFER_PROTOCOL_RESERVED returns the value of the ProtocolReserved member of the specified NET_BUFFER structure.
Protocol drivers and NDIS intermediate drivers can use this area for their own purposes. Protocol drivers typically use ProtocolReserved to maintain NET_BUFFER structure context information for outstanding transfers.
[!NOTE] Only one driver can use ProtocolReserved. Therefore, if another driver has used ProtocolReserved, an intermediate driver cannot use it.