ReactOS 0.4.16-dev-319-g6cf4263
|
#include <ndissys.h>
Go to the source code of this file.
UINT CopyBufferChainToBuffer | ( | PUCHAR | DstData, |
PNDIS_BUFFER | SrcBuffer, | ||
UINT | SrcOffset, | ||
UINT | Length | ||
) |
Definition at line 113 of file buffer.c.
Referenced by CopyPacketToBuffer(), and MiniIndicateReceivePacket().
UINT CopyBufferToBufferChain | ( | PNDIS_BUFFER | DstBuffer, |
UINT | DstOffset, | ||
PUCHAR | SrcData, | ||
UINT | Length | ||
) |
Definition at line 56 of file buffer.c.
Referenced by DispTdiQueryInformationExComplete(), InfoCopyOut(), and InfoTdiQueryListEntities().
UINT CopyPacketToBuffer | ( | PUCHAR | DstData, |
PNDIS_PACKET | SrcPacket, | ||
UINT | SrcOffset, | ||
UINT | Length | ||
) |
Definition at line 172 of file buffer.c.
Referenced by ARPReceive(), GetPacketTypeFromNdisPacket(), IPReceive(), IPv4Receive(), ProIndicatePacket(), and ReassembleDatagram().
UINT CopyPacketToBufferChain | ( | PNDIS_BUFFER | DstBuffer, |
UINT | DstOffset, | ||
PNDIS_PACKET | SrcPacket, | ||
UINT | SrcOffset, | ||
UINT | Length | ||
) |
Definition at line 208 of file buffer.c.
ULONG EXPORT NDIS_BUFFER_TO_SPAN_PAGES | ( | IN PNDIS_BUFFER | Buffer | ) |
Definition at line 314 of file buffer.c.
Referenced by NdisGetBufferPhysicalArraySize(), and NdisQueryPacket().
VOID EXPORT NdisAllocateBuffer | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_BUFFER * | Buffer, | ||
IN NDIS_HANDLE | PoolHandle, | ||
IN PVOID | VirtualAddress, | ||
IN UINT | Length | ||
) |
Definition at line 336 of file buffer.c.
Referenced by AllocateAndChainBuffer(), AllocatePacketWithBuffer(), AllocatePacketWithBufferX(), DcAllocateRcb(), ParaNdis_BindBufferToPacket(), and PrependPacket().
VOID EXPORT NdisAllocateBufferPool | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_HANDLE | PoolHandle, | ||
IN UINT | NumberOfDescriptors | ||
) |
Definition at line 372 of file buffer.c.
Referenced by BindAdapterByName(), DcAllocateReceiveBuffers(), DriverEntry(), InitNdisPools(), and ParaNdis_FinishSpecificInitialization().
VOID EXPORT NdisAllocatePacket | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_PACKET * | Packet, | ||
IN NDIS_HANDLE | PoolHandle | ||
) |
Definition at line 394 of file buffer.c.
Referenced by AllocatePacketWithBuffer(), AllocatePacketWithBufferX(), CreatePacketFromPoolBuffer(), DcAllocateRcb(), and ParaNdis_BindBufferToPacket().
VOID EXPORT NdisAllocatePacketPool | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_HANDLE | PoolHandle, | ||
IN UINT | NumberOfDescriptors, | ||
IN UINT | ProtocolReservedLength | ||
) |
Definition at line 421 of file buffer.c.
Referenced by BindAdapterByName(), DcAllocateReceiveBuffers(), InitNdisPools(), and ParaNdis_FinishSpecificInitialization().
VOID EXPORT NdisAllocatePacketPoolEx | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_HANDLE | PoolHandle, | ||
IN UINT | NumberOfDescriptors, | ||
IN UINT | NumberOfOverflowDescriptors, | ||
IN UINT | ProtocolReservedLength | ||
) |
Definition at line 449 of file buffer.c.
Referenced by DriverEntry(), and NdisAllocatePacketPool().
ULONG EXPORT NdisBufferLength | ( | IN PNDIS_BUFFER | Buffer | ) |
PVOID EXPORT NdisBufferVirtualAddress | ( | IN PNDIS_BUFFER | Buffer | ) |
VOID EXPORT NdisCopyBuffer | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_BUFFER * | Buffer, | ||
IN NDIS_HANDLE | PoolHandle, | ||
IN PVOID | MemoryDescriptor, | ||
IN UINT | Offset, | ||
IN UINT | Length | ||
) |
Definition at line 1110 of file buffer.c.
VOID EXPORT NdisCopyFromPacketToPacket | ( | IN PNDIS_PACKET | Destination, |
IN UINT | DestinationOffset, | ||
IN UINT | BytesToCopy, | ||
IN PNDIS_PACKET | Source, | ||
IN UINT | SourceOffset, | ||
OUT PUINT | BytesCopied | ||
) |
Definition at line 571 of file buffer.c.
Referenced by ProTransferData().
VOID EXPORT NdisCopyFromPacketToPacketSafe | ( | IN PNDIS_PACKET | Destination, |
IN UINT | DestinationOffset, | ||
IN UINT | BytesToCopy, | ||
IN PNDIS_PACKET | Source, | ||
IN UINT | SourceOffset, | ||
OUT PUINT | BytesCopied, | ||
IN MM_PAGE_PRIORITY | Priority | ||
) |
Definition at line 1202 of file buffer.c.
VOID EXPORT NdisDprAllocatePacket | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_PACKET * | Packet, | ||
IN NDIS_HANDLE | PoolHandle | ||
) |
VOID EXPORT NdisDprAllocatePacketNonInterlocked | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_PACKET * | Packet, | ||
IN NDIS_HANDLE | PoolHandle | ||
) |
Definition at line 683 of file buffer.c.
Referenced by NdisAllocatePacket(), and NdisDprAllocatePacket().
VOID EXPORT NdisDprFreePacket | ( | IN PNDIS_PACKET | Packet | ) |
Definition at line 736 of file buffer.c.
VOID EXPORT NdisDprFreePacketNonInterlocked | ( | IN PNDIS_PACKET | Packet | ) |
Definition at line 757 of file buffer.c.
Referenced by NdisDprFreePacket(), and NdisFreePacket().
VOID EXPORT NdisFreeBuffer | ( | IN PNDIS_BUFFER | Buffer | ) |
VOID EXPORT NdisFreeBufferPool | ( | IN NDIS_HANDLE | PoolHandle | ) |
Definition at line 777 of file buffer.c.
Referenced by BindAdapterByName(), CloseNdisPools(), DcFreeAdapter(), ParaNdis_FinalizeCleanup(), and TiUnload().
VOID EXPORT NdisFreePacket | ( | IN PNDIS_PACKET | Packet | ) |
Definition at line 828 of file buffer.c.
Referenced by CleanupAndFreePacket(), CreatePacketFromPoolBuffer(), DcFreeRcb(), FreeNdisPacket(), FreeNdisPacketX(), ParaNdis_BindBufferToPacket(), and ParaNdis_UnbindBufferFromPacket().
VOID EXPORT NdisFreePacketPool | ( | IN NDIS_HANDLE | PoolHandle | ) |
Definition at line 793 of file buffer.c.
Referenced by BindAdapterByName(), CloseNdisPools(), DcFreeAdapter(), InitNdisPools(), ParaNdis_FinalizeCleanup(), and TiUnload().
Definition at line 850 of file buffer.c.
VOID EXPORT NdisGetFirstBufferFromPacket | ( | IN PNDIS_PACKET | _Packet, |
OUT PNDIS_BUFFER * | _FirstBuffer, | ||
OUT PVOID * | _FirstBufferVA, | ||
OUT PUINT | _FirstBufferLength, | ||
OUT PUINT | _TotalBufferLength | ||
) |
Definition at line 873 of file buffer.c.
Referenced by CopyPacketToBuffer(), CopyPacketToBufferChain(), MiniIndicateReceivePacket(), NdisCopyFromPacketToPacket(), and ProtocolTransferDataComplete().
VOID EXPORT NdisGetFirstBufferFromPacketSafe | ( | IN PNDIS_PACKET | _Packet, |
OUT PNDIS_BUFFER * | _FirstBuffer, | ||
OUT PVOID * | _FirstBufferVA, | ||
OUT PUINT | _FirstBufferLength, | ||
OUT PUINT | _TotalBufferLength, | ||
IN MM_PAGE_PRIORITY | Priority | ||
) |
PVOID EXPORT NdisGetPacketCancelId | ( | IN PNDIS_PACKET | Packet | ) |
NDIS_HANDLE EXPORT NdisGetPoolFromPacket | ( | IN PNDIS_PACKET | Packet | ) |
VOID EXPORT NdisIMCopySendCompletePerPacketInfo | ( | IN PNDIS_PACKET | DstPacket, |
IN PNDIS_PACKET | SrcPacket | ||
) |
Definition at line 1281 of file buffer.c.
VOID EXPORT NdisIMCopySendPerPacketInfo | ( | IN PNDIS_PACKET | DstPacket, |
IN PNDIS_PACKET | SrcPacket | ||
) |
Definition at line 1308 of file buffer.c.
VOID EXPORT NdisQueryBuffer | ( | IN PNDIS_BUFFER | Buffer, |
OUT PVOID *VirtualAddress | OPTIONAL, | ||
OUT PUINT | Length | ||
) |
VOID EXPORT NdisQueryBufferSafe | ( | IN PNDIS_BUFFER | Buffer, |
OUT PVOID *VirtualAddress | OPTIONAL, | ||
OUT PUINT | Length, | ||
IN UINT | Priority | ||
) |
VOID EXPORT NdisUnchainBufferAtBack | ( | IN OUT PNDIS_PACKET | Packet, |
OUT PNDIS_BUFFER * | Buffer | ||
) |
Definition at line 1020 of file buffer.c.
VOID EXPORT NdisUnchainBufferAtFront | ( | IN OUT PNDIS_PACKET | Packet, |
OUT PNDIS_BUFFER * | Buffer | ||
) |
Definition at line 1069 of file buffer.c.
Referenced by CleanupAndFreePacket(), ParaNdis_IndicateReceivedPacket(), and ParaNdis_UnbindBufferFromPacket().
FORCEINLINE ULONG SkipToOffset | ( | IN PNDIS_BUFFER | Buffer, |
IN UINT | Offset, | ||
IN OUT PUCHAR * | Data, | ||
IN OUT PUINT | Size | ||
) |
Definition at line 15 of file buffer.c.
Referenced by CopyBufferChainToBuffer(), CopyBufferToBufferChain(), CopyPacketToBufferChain(), GetDataPtr(), NdisCopyFromPacketToPacket(), and NdisCopyFromPacketToPacketSafe().