Bewerken

Delen via


NdisFreeFragmentNetBufferList function (ndis/nblapi.h)

Call the NdisFreeFragmentNetBufferList function to free a NET_BUFFER_LIST structure and all associated NET_BUFFER structures and MDL chains that were previously allocated by the calling NdisAllocateFragmentNetBufferList function.

Syntax

NDIS_EXPORTED_ROUTINE VOID NdisFreeFragmentNetBufferList(
  [in] NET_BUFFER_LIST *FragmentNetBufferList,
  [in] ULONG           DataOffsetDelta,
  [in] ULONG           FreeFragmentFlags
);

Parameters

[in] FragmentNetBufferList

A pointer to a NET_BUFFER_LIST structure that was allocated by calling NdisAllocateFragmentNetBufferList.

[in] DataOffsetDelta

The amount, in bytes, to advance (add to the data offset) the fragment NET_BUFFER structures before freeing them. This value should match the value of the DataOffsetDelta parameter that was passed to NdisAllocateFragmentNetBufferList when the NET_BUFFER_LIST structure was created.

[in] FreeFragmentFlags

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

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis/nblapi.h (include ndis.h)
Library Ndis.lib
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_NetBuffer_Function(ndis), NdisAllocateFragmentNetBufferList(ndis), NdisAllocateFragmentNetBufferList_InitFail(ndis)

See also

NET_BUFFER

NET_BUFFER_LIST

NdisAllocateFragmentNetBufferList