Bewerken

Delen via


nblapi.h header

This header is used by network. For more information, see:

nblapi.h contains the following programming interfaces:

Functions

 
NdisAdjustNetBufferCurrentMdl

The NdisAdjustNetBufferCurrentMdl function updates a NET_BUFFER structure based on the current data offset.
NdisAdvanceNetBufferDataStart

Call the NdisAdvanceNetBufferDataStart function to release the used data space that was added with the NdisRetreatNetBufferDataStart function.
NdisAdvanceNetBufferListDataStart

Call the NdisAdvanceNetBufferListDataStart function to release data space that was claimed in previous calls to the NdisRetreatNetBufferListDataStart function.
NdisAllocateCloneNetBufferList

Call the NdisAllocateCloneNetBufferList function to create a new clone NET_BUFFER_LIST structure.
NdisAllocateFragmentNetBufferList

Call the NdisAllocateFragmentNetBufferList function to create a new fragmented NET_BUFFER_LIST structure based upon the data in an existing NET_BUFFER_LIST structure.
NdisAllocateNetBuffer

Call the NdisAllocateNetBuffer function to allocate and initialize a NET_BUFFER structure from a NET_BUFFER structure pool.
NdisAllocateNetBufferAndNetBufferList

Call the NdisAllocateNetBufferAndNetBufferList function to allocate and initialize a NET_BUFFER_LIST structure that is initialized with a preallocated NET_BUFFER structure.
NdisAllocateNetBufferList

Call the NdisAllocateNetBufferList function to allocate and initialize a NET_BUFFER_LIST structure from a NET_BUFFER_LIST structure pool.
NdisAllocateNetBufferListContext

Call the NdisAllocateNetBufferListContext function to allocate more context space in the NET_BUFFER_LIST_CONTEXT structure of a NET_BUFFER_LIST structure.
NdisAllocateNetBufferListPool

Call the NdisAllocateNetBufferListPool function to allocate a pool of NET_BUFFER_LIST structures.
NdisAllocateNetBufferMdlAndData

NDIS drivers call the NdisAllocateNetBufferMdlAndData function to allocate a NET_BUFFER structure along with the associated MDL and data.
NdisAllocateNetBufferPool

Call the NdisAllocateNetBufferPool function to allocate a pool of NET_BUFFER structures.
NdisAllocateReassembledNetBufferList

Call the NdisAllocateReassembledNetBufferList function to reassemble a fragmented NET_BUFFER_LIST structure.
NdisCopyFromNetBufferToNetBuffer

Call the NdisCopyFromNetBufferToNetBuffer function to copy data from a source NET_BUFFER structure to a destination NET_BUFFER structure.
NdisCopyReceiveNetBufferListInfo

Intermediate drivers call the NdisCopyReceiveNetBufferListInfo function to copy the NET_BUFFER_LIST information in a received NET_BUFFER_LIST structure.
NdisCopySendNetBufferListInfo

Intermediate drivers call the NdisCopySendNetBufferListInfo function to copy the NET_BUFFER_LIST information in a transmit NET_BUFFER_LIST structure.
NdisFreeCloneNetBufferList

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

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.
NdisFreeNetBuffer

Call the NdisFreeNetBuffer function to free a NET_BUFFER structure that was previously allocated from a NET_BUFFER structure pool with the NdisAllocateNetBuffer function.
NdisFreeNetBufferList

Call the NdisFreeNetBufferList function to free a NET_BUFFER_LIST structure that was previously allocated from a NET_BUFFER_LIST structure pool.
NdisFreeNetBufferListContext

Call the NdisFreeNetBufferListContext function to release context space in the NET_BUFFER_LIST_CONTEXT structure of a NET_BUFFER_LIST structure.
NdisFreeNetBufferListPool

Call the NdisFreeNetBufferListPool function to free a NET_BUFFER_LIST structure pool.
NdisFreeNetBufferPool

Call the NdisFreeNetBufferPool function to free NET_BUFFER structure pools that are created with the NdisAllocateNetBufferPool function.
NdisFreeReassembledNetBufferList

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

Call the NdisGetDataBuffer function to gain access to a contiguous block of data from a NET_BUFFER structure.
NdisGetNetBufferListProtocolId

The NdisGetNetBufferListProtocolId function retrieves the protocol identifier from the NetBufferListInfo member of a NET_BUFFER_LIST structure.
NdisGetPoolFromNetBuffer

Call the NdisGetPoolFromNetBuffer function to get the NET_BUFFER structure pool handle that is associated with a specified NET_BUFFER structure.
NdisGetPoolFromNetBufferList

Call the NdisGetPoolFromNetBufferList function to get the NET_BUFFER_LIST structure pool handle that is associated with a specified NET_BUFFER_LIST structure.
NdisQueryNetBufferPhysicalCount

The NdisQueryNetBufferPhysicalCount function returns the maximum number of physical breaks mapped by the buffer descriptors that are associated with the given NET_BUFFER structure.
NdisRetreatNetBufferDataStart

Call the NdisRetreatNetBufferDataStart function to access more used data space in the MDL chain of a NET_BUFFER structure.
NdisRetreatNetBufferListDataStart

Call the NdisRetreatNetBufferListDataStart function to increase the used data space in all the NET_BUFFER structures in a NET_BUFFER_LIST structure.

Callback functions

 
NET_BUFFER_ALLOCATE_MDL

The NetAllocateMdl function allocates an MDL with an associated memory block of a specified size.
NET_BUFFER_FREE_MDL

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

Structures

 
NET_BUFFER_LIST_POOL_PARAMETERS

The NET_BUFFER_LIST_POOL_PARAMETERS structure defines the parameters for a pool of NET_BUFFER_LIST structures.