ReactOS 0.4.16-dev-297-gc569aee
|
#include "ParaNdis5.h"
Go to the source code of this file.
Classes | |
struct | _tagSendEntry |
Macros | |
#define | SEND_ENTRY_FLAG_READY 0x0001 |
#define | SEND_ENTRY_TSO_USED 0x0002 |
#define | SEND_ENTRY_NO_INDIRECT 0x0004 |
#define | SEND_ENTRY_TCP_CS 0x0008 |
#define | SEND_ENTRY_UDP_CS 0x0010 |
#define | SEND_ENTRY_IP_CS 0x0020 |
#define | IDXTOUSE 0 |
#define | REF_MINIPORT(Packet) ((PVOID *)(Packet->MiniportReservedEx + IDXTOUSE * sizeof(PVOID))) |
Typedefs | |
typedef struct _tagSendEntry | tSendEntry |
#define IDXTOUSE 0 |
Definition at line 66 of file ParaNdis5-Impl.c.
Definition at line 67 of file ParaNdis5-Impl.c.
#define SEND_ENTRY_FLAG_READY 0x0001 |
Definition at line 40 of file ParaNdis5-Impl.c.
#define SEND_ENTRY_IP_CS 0x0020 |
Definition at line 45 of file ParaNdis5-Impl.c.
#define SEND_ENTRY_NO_INDIRECT 0x0004 |
Definition at line 42 of file ParaNdis5-Impl.c.
#define SEND_ENTRY_TCP_CS 0x0008 |
Definition at line 43 of file ParaNdis5-Impl.c.
#define SEND_ENTRY_TSO_USED 0x0002 |
Definition at line 41 of file ParaNdis5-Impl.c.
#define SEND_ENTRY_UDP_CS 0x0010 |
Definition at line 44 of file ParaNdis5-Impl.c.
typedef struct _tagSendEntry tSendEntry |
|
static |
Definition at line 706 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_PacketMapper().
|
static |
Definition at line 595 of file ParaNdis5-Impl.c.
Referenced by ParaNdis5_CancelSendPackets(), ParaNdis5_SendPackets(), ParaNdis5_StopSend(), and ParaNdis_ProcessTx().
|
static |
Definition at line 233 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_FinishSpecificInitialization().
|
static |
Definition at line 579 of file ParaNdis5-Impl.c.
Referenced by InitializeTransferParameters(), and ParaNdis5_SendPackets().
|
static |
Definition at line 909 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_ProcessTx().
|
static |
Definition at line 371 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_BindBufferToPacket(), and ParaNdis_UnbindBufferFromPacket().
|
static |
Definition at line 153 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_FinishSpecificInitialization().
|
static |
Definition at line 193 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_FinishSpecificInitialization().
Definition at line 1303 of file ParaNdis5-Impl.c.
Referenced by DriverEntry().
VOID NTAPI ParaNdis5_HandleDPC | ( | IN NDIS_HANDLE | MiniportAdapterContext | ) |
Definition at line 1445 of file ParaNdis5-Impl.c.
Referenced by DriverEntry().
VOID NTAPI ParaNdis5_ReturnPacket | ( | IN NDIS_HANDLE | MiniportAdapterContext, |
IN PNDIS_PACKET | Packet | ||
) |
Definition at line 1077 of file ParaNdis5-Impl.c.
Referenced by DriverEntry().
VOID NTAPI ParaNdis5_SendPackets | ( | IN NDIS_HANDLE | MiniportAdapterContext, |
IN PPNDIS_PACKET | PacketArray, | ||
IN UINT | NumberOfPackets | ||
) |
Definition at line 1243 of file ParaNdis5-Impl.c.
Referenced by DriverEntry().
NDIS_STATUS ParaNdis5_StopReceive | ( | PARANDIS_ADAPTER * | pContext, |
BOOLEAN | bStop, | ||
ONPAUSECOMPLETEPROC | Callback | ||
) |
Definition at line 1410 of file ParaNdis5-Impl.c.
Referenced by ParaNdis5_Halt(), ParaNdis5_Initialize(), ParaNdis_Resume(), and ParaNdis_Suspend().
NDIS_STATUS ParaNdis5_StopSend | ( | PARANDIS_ADAPTER * | pContext, |
BOOLEAN | bStop, | ||
ONPAUSECOMPLETEPROC | Callback | ||
) |
Definition at line 1348 of file ParaNdis5-Impl.c.
Referenced by ParaNdis5_Halt(), ParaNdis5_Initialize(), ParaNdis_Resume(), and ParaNdis_Suspend().
PVOID ParaNdis_AllocateMemory | ( | PARANDIS_ADAPTER * | pContext, |
ULONG | ulRequiredSize | ||
) |
Definition at line 78 of file ParaNdis5-Impl.c.
Referenced by AllocatePairOfBuffersOnInit(), CreateOffloadInfo5Internal(), ParaNdis5_Initialize(), ParaNdis5_Reset(), ParaNdis_DoSubmitPacket(), ParaNdis_OnSetPower(), ParaNdis_ProcessRxPath(), ParaNdis_VirtIONetInit(), PrepareSendEntry(), and ReadNicConfiguration().
BOOLEAN ParaNdis_BindBufferToPacket | ( | PARANDIS_ADAPTER * | pContext, |
pIONetDescriptor | pBufferDesc | ||
) |
Definition at line 390 of file ParaNdis5-Impl.c.
Referenced by AllocatePairOfBuffersOnInit().
VOID ParaNdis_FinalizeCleanup | ( | PARANDIS_ADAPTER * | pContext | ) |
Definition at line 348 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_CleanupContext().
NDIS_STATUS NTAPI ParaNdis_FinishSpecificInitialization | ( | PARANDIS_ADAPTER * | pContext | ) |
Definition at line 275 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_FinishInitialization().
VOID ParaNdis_FreePhysicalMemory | ( | PARANDIS_ADAPTER * | pContext, |
tCompletePhysicalAddress * | pAddresses | ||
) |
Definition at line 220 of file ParaNdis5-Impl.c.
Referenced by AllocatePairOfBuffersOnInit(), VirtIONetFreeBufferDescriptor(), and VirtIONetRelease().
VOID ParaNdis_IndicateConnect | ( | PARANDIS_ADAPTER * | pContext, |
BOOLEAN | bConnected, | ||
BOOLEAN | bForce | ||
) |
Definition at line 123 of file ParaNdis5-Impl.c.
Referenced by OnResetWorkItem(), ParaNdis5_Initialize(), ParaNdis_PowerOff(), and ParaNdis_ReportLinkStatus().
VOID ParaNdis_IndicateReceivedBatch | ( | PARANDIS_ADAPTER * | pContext, |
tPacketIndicationType * | pBatch, | ||
ULONG | nofPackets | ||
) |
Definition at line 568 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_ProcessRxPath().
tPacketIndicationType ParaNdis_IndicateReceivedPacket | ( | PARANDIS_ADAPTER * | pContext, |
PVOID | dataBuffer, | ||
PULONG | pLength, | ||
BOOLEAN | bPrepareOnly, | ||
pIONetDescriptor | pBuffersDesc | ||
) |
Definition at line 465 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_ProcessRxPath().
BOOLEAN ParaNdis_InitialAllocatePhysicalMemory | ( | PARANDIS_ADAPTER * | pContext, |
tCompletePhysicalAddress * | pAddresses | ||
) |
Definition at line 174 of file ParaNdis5-Impl.c.
Referenced by AllocatePairOfBuffersOnInit(), and ParaNdis_VirtIONetInit().
VOID ParaNdis_OnTransmitBufferReleased | ( | PARANDIS_ADAPTER * | pContext, |
IONetDescriptor * | pDesc | ||
) |
Definition at line 688 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_VirtIONetReleaseTransmitBuffers().
NDIS_HANDLE ParaNdis_OpenNICConfiguration | ( | PARANDIS_ADAPTER * | pContext | ) |
Definition at line 98 of file ParaNdis5-Impl.c.
Referenced by ReadNicConfiguration().
tCopyPacketResult ParaNdis_PacketCopier | ( | PNDIS_PACKET | Packet, |
PVOID | dest, | ||
ULONG | maxSize, | ||
PVOID | refValue, | ||
BOOLEAN | bPreview | ||
) |
Definition at line 616 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_DoCopyPacketData(), ParaNdis_DoSubmitPacket(), ParaNdis_PacketMapper(), and PrepareSendEntry().
VOID ParaNdis_PacketMapper | ( | PARANDIS_ADAPTER * | pContext, |
PNDIS_PACKET | packet, | ||
PVOID | ReferenceValue, | ||
struct VirtIOBufferDescriptor * | buffers, | ||
pIONetDescriptor | pDesc, | ||
tMapperResult * | pMapperResult | ||
) |
Definition at line 743 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_DoSubmitPacket().
BOOLEAN ParaNdis_ProcessTx | ( | PARANDIS_ADAPTER * | pContext, |
BOOLEAN | IsDpc, | ||
BOOLEAN | IsInterrupt | ||
) |
Definition at line 941 of file ParaNdis5-Impl.c.
Referenced by ParaNdis5_SendPackets(), and ParaNdis_DPCWorkBody().
void ParaNdis_RestoreDeviceConfigurationAfterReset | ( | PARANDIS_ADAPTER * | pContext | ) |
VOID ParaNdis_SetPowerState | ( | PARANDIS_ADAPTER * | pContext, |
NDIS_DEVICE_POWER_STATE | newState | ||
) |
Definition at line 140 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_CleanupContext(), ParaNdis_FinishInitialization(), ParaNdis_PowerOff(), and ParaNdis_PowerOn().
BOOLEAN ParaNdis_SynchronizeWithInterrupt | ( | PARANDIS_ADAPTER * | pContext, |
ULONG | messageId, | ||
tSynchronizedProcedure | procedure, | ||
PVOID | parameter | ||
) |
Definition at line 1464 of file ParaNdis5-Impl.c.
Referenced by ParaNdis_DPCWorkBody().
void ParaNdis_UnbindBufferFromPacket | ( | PARANDIS_ADAPTER * | pContext, |
pIONetDescriptor | pBufferDesc | ||
) |
Definition at line 432 of file ParaNdis5-Impl.c.
Referenced by VirtIONetFreeBufferDescriptor().
|
static |
Definition at line 1089 of file ParaNdis5-Impl.c.
Referenced by ParaNdis5_SendPackets().