NDIS NET_BUFFER Functions (Compact 7)
3/12/2014
This section describes the NDIS NET_BUFFER functions.
In This Section
- NdisAdjustMdlLength
Modifies the length of the data that is associated with an MDL.
- NdisAdjustNetBufferCurrentMdl
Updates a NET_BUFFER structure based on the current data offset.
- NdisAdvanceNetBufferDataStart
Releases the used dataspace.
- NdisAdvanceNetBufferListDataStart
Releases dataspace.
- NdisAllocateCloneNetBufferList
Create a new clone NET_BUFFER_LIST structure.
- NdisAllocateFragmentNetBufferList
Creates a new fragmented NET_BUFFER_LIST structure.
- NdisAllocateMdl
Allocates an MDL that describes the memory buffer at the specified virtual address.
- NdisAllocateNetBuffer
Allocates and initializes a NET_BUFFER structure from a NET_BUFFER structure pool.
- NdisAllocateNetBufferAndNetBufferList
Allocates and initializes a NET_BUFFER_LIST structure that is initialized with a pre-allocated NET_BUFFER structure.
- NdisAllocateNetBufferList
Allocates and initializes a NET_BUFFER_LIST structure from a NET_BUFFER_LIST structure pool.
- NdisAllocateNetBufferListContext
Allocates more context space in the NET_BUFFER_LIST_CONTEXT structure of a NET_BUFFER_LIST structure.
- NdisAllocateNetBufferListPool
Allocates a pool of NET_BUFFER_LIST structures.
- NdisAllocateNetBufferMdlAndData
Allocates a NET_BUFFER structure together with the associated MDL and data.
- NdisAllocateNetBufferPool
Allocates a pool of NET_BUFFER structures.
- NdisAllocateReassembledNetBufferList
Reassembles a fragmented NET_BUFFER_LIST structure.
- NdisCopyFromNetBufferToNetBuffer
Copies data from a source NET_BUFFER structure to a destination NET_BUFFER structure.
- NdisCopyReceiveNetBufferListInfo
Copies the NET_BUFFER_LIST information.
- NdisCopySendNetBufferListInfo
Copies the NET_BUFFER_LIST information in a transmit NET_BUFFER_LIST structure.
- NdisFreeCloneNetBufferList
Frees a NET_BUFFER_LIST structure.
- NdisFreeFragmentNetBufferList
Frees a NET_BUFFER_LIST structure.
- NdisFreeNetBuffer
Frees a NET_BUFFER structure that was previously allocated from a NET_BUFFER structure.
- NdisFreeNetBufferList
Frees a NET_BUFFER_LIST structure that was previously allocated from a NET_BUFFER_LIST structure pool.
- NdisFreeNetBufferListContext
Releases context space in the NET_BUFFER_LIST_CONTEXT structure of a NET_BUFFER_LIST structure.
- NdisFreeNetBufferListPool
Frees a NET_BUFFER_LIST structure pool.
- NdisFreeNetBufferPool
Frees NET_BUFFER structure pools that are created with the NdisAllocateNetBufferPool function.
- NdisFreeReassembledNetBufferList
Frees a reassembled NET_BUFFER_LIST structure and the associated NET_BUFFER structure and MDL chain.
- NdisGetDataBuffer
Accesses a contiguous block of data from a NET_BUFFER structure.
- NdisGetNetBufferListProtocolId
Retrieves the protocol identifier from the NetBufferListInfo member of a NET_BUFFER_LIST structure.
- NdisGetPoolFromNetBuffer
Obtains the NET_BUFFER structure pool handle that is associated with a specified NET_BUFFER structure.
- NdisGetPoolFromNetBufferList
Gets the NET_BUFFER_LIST structure pool handle that is associated with a specified NET_BUFFER_LIST structure.
- NdisFreeMdl
Frees an MDL that was allocated by calling the NdisAllocateMdl function.
- NdisQueryNetBufferPhysicalCount
Returns the maximum number of physical breaks mapped by the buffer descriptors that are associated with the given NET_BUFFER structure.
- NdisRetreatNetBufferListDataStart
Increases the used dataspace in all the NET_BUFFER structures in a NET_BUFFER_LIST structure.
- NdisRetreatNetBufferDataStart
Accesses more used dataspace in the MDL chain of a NET_BUFFER structure.
- NetAllocateMdl
Allocates an MDL with an associated memory block of a specified size.
- NetFreeMdl
Frees an MDL that was previously allocated by the NetAllocateMdl function.