NET_BUFFER_FREE_MDL - NtDoc

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

NET_BUFFER_FREE_MDL NetBufferFreeMdl;

VOID NetBufferFreeMdl(
  [in] MDL *Mdl
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-nblapi-net_buffer_free_mdl)

Description

The NetFreeMdl function frees an MDL that was previously allocated by the NetAllocateMdl function.

Parameters

Mdl [in]

A pointer to the MDL that is to be freed.

Remarks

If the NDIS driver specifies an entry point for the NetFreeMdl function at the FreeMdl parameter of the NdisAdvanceNetBufferDataStart function, NDIS calls NetFreeMdl to free an MDL and memory.

NetFreeMdl frees the MDL and memory that were allocated by the NetAllocateMdl function.

When NetFreeMdl frees the memory, it should use the same memory management mechanism that was used in NetAllocateMdl to allocate the memory.

NDIS calls NetFreeMdl at IRQL <= DISPATCH_LEVEL.

See also

NdisAdvanceNetBufferDataStart

NetAllocateMdl