NdisAdjustNetBufferCurrentMdl - NtDoc

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

NDIS_EXPORTED_ROUTINE VOID NdisAdjustNetBufferCurrentMdl(
  [in] NET_BUFFER *NetBuffer
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-nblapi-ndisadjustnetbuffercurrentmdl)

NdisAdjustNetBufferCurrentMdl function

Description

The NdisAdjustNetBufferCurrentMdl function updates a NET_BUFFER structure based on the current data offset.

Parameters

NetBuffer [in]

A pointer to a NET_BUFFER structure.

Remarks

The NdisAdjustNetBufferCurrentMdl function recalculates and sets the CurrentMdl and CurrentMdlOffset members of a NET_BUFFER structure based on the DataOffset member of the NET_BUFFER structure.

Callers of NdisAdjustNetBufferCurrentMdl can run at any IRQL, but typically run at IRQL <= DISPATCH_LEVEL.

See also

NET_BUFFER