NdisFreeFragmentNetBufferList (Compact 2013)

3/26/2014

Call this 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

VOID
  NdisFreeFragmentNetBufferList(
    IN PNET_BUFFER_LIST  FragmentNetBufferList,
    IN ULONG  DataOffsetDelta,
    IN ULONG  FreeFragmentFlags
    );

Parameters

  • FragmentNetBufferList
    A pointer to a NET_BUFFER_LIST structure that was allocated by calling NdisAllocateFragmentNetBufferList.
  • 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.
  • 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

Header

ndis.h

See Also

Reference

NDIS NET_BUFFER Functions
NET_BUFFER
NET_BUFFER_LIST
NdisAllocateFragmentNetBufferList