NdisFreeReassembledNetBufferList function

Call the NdisFreeReassembledNetBufferList function to free a reassembled NET_BUFFER_LIST structure and the associated NET_BUFFER structure and MDL chain.

Syntax

void NdisFreeReassembledNetBufferList(
  PNET_BUFFER_LIST ReassembledNetBufferList,
  ULONG            DataOffsetDelta,
  ULONG            FreeReassembleFlags
);

Parameters

ReassembledNetBufferList

A pointer to a NET_BUFFER_LIST structure that the driver allocated by calling the NdisAllocateReassembledNetBufferList function.

DataOffsetDelta

The number of bytes to advance (add to) the DataOffset member of the reassembled NET_BUFFER structure before freeing the structure. This value should match DataOffsetDelta that the driver passed to NdisAllocateReassembledNetBufferList.

FreeReassembleFlags

NDIS flags that can be combined with an OR operation. Set this parameter to zero. There are currently no flags defined for this function.

Return Value

None

Remarks

NdisFreeReassembledNetBufferList frees a reassembled NET_BUFFER_LIST structure that the caller allocated by calling NdisAllocateReassembledNetBufferList.

Requirements

   
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL "<= DISPATCH_LEVEL"
DDI compliance rules Irql_NetBuffer_Function

See Also

NET_BUFFER

NET_BUFFER_LIST

NdisAllocateReassembledNetBufferList