// nblaccessors.h
#define NET_BUFFER_CURRENT_MDL(_NB) ((_NB)->CurrentMdl)
View the official Windows Driver Kit DDI reference
No description available.
NET_BUFFER_CURRENT_MDL is a macro that NDIS drivers use to get the CurrentMdl member of a NET_BUFFER_DATA structure in a NET_BUFFER structure.
#define NET_BUFFER_CURRENT_MDL(_NB) ((_NB)->CurrentMdl)
_NB
A pointer to a NET_BUFFER structure.
NET_BUFFER_CURRENT_MDL returns the value of the CurrentMdl member of the indicated NET_BUFFER structure.
The return value is a pointer to the first MDL that the current driver is using. This pointer provides an optimization that improves performance by skipping over any MDLs that the current driver is not using.