ReactOS 0.4.16-dev-41-ge8c7597
|
#include "ndissys.h"
Go to the source code of this file.
Classes | |
struct | _DMA_CONTEXT |
Macros | |
#define | SERVICES_KEY L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\" |
#define | LINKAGE_KEY L"\\Linkage" |
#define | PARAMETERS_KEY L"\\Parameters\\" |
#define | WORKER_TEST 0 |
Typedefs | |
typedef struct _DMA_CONTEXT | DMA_CONTEXT |
typedef struct _DMA_CONTEXT * | PDMA_CONTEXT |
Variables | |
LIST_ENTRY | ProtocolListHead |
KSPIN_LOCK | ProtocolListLock |
#define LINKAGE_KEY L"\\Linkage" |
Definition at line 16 of file protocol.c.
#define PARAMETERS_KEY L"\\Parameters\\" |
Definition at line 17 of file protocol.c.
#define SERVICES_KEY L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\" |
Definition at line 15 of file protocol.c.
#define WORKER_TEST 0 |
Definition at line 22 of file protocol.c.
typedef struct _DMA_CONTEXT DMA_CONTEXT |
typedef struct _DMA_CONTEXT * PDMA_CONTEXT |
PADAPTER_BINDING NTAPI LocateAdapterBindingByName | ( | IN PPROTOCOL_BINDING | ProtocolBinding, |
IN PNDIS_STRING | AdapterName | ||
) |
Definition at line 878 of file protocol.c.
Referenced by ndisBindMiniportsToProtocol().
VOID NTAPI ndisBindMiniportsToProtocol | ( | OUT PNDIS_STATUS | Status, |
IN PPROTOCOL_BINDING | Protocol | ||
) |
Definition at line 908 of file protocol.c.
Referenced by NdisIPnPStartDevice(), NdisReEnumerateProtocolBindings(), and NdisRegisterProtocol().
VOID EXPORT NdisCloseAdapter | ( | OUT PNDIS_STATUS | Status, |
IN NDIS_HANDLE | NdisBindingHandle | ||
) |
Definition at line 703 of file protocol.c.
Referenced by BindAdapterByName(), LANUnregisterAdapter(), and UnbindAdapterByContext().
VOID EXPORT NdisCompleteBindAdapter | ( | IN NDIS_HANDLE | BindAdapterContext, |
IN NDIS_STATUS | Status, | ||
IN NDIS_STATUS | OpenStatus | ||
) |
Definition at line 193 of file protocol.c.
VOID EXPORT NdisCompleteUnbindAdapter | ( | IN NDIS_HANDLE | UnbindAdapterContext, |
IN NDIS_STATUS | Status | ||
) |
Definition at line 224 of file protocol.c.
VOID EXPORT NdisDeregisterProtocol | ( | OUT PNDIS_STATUS | Status, |
IN NDIS_HANDLE | NdisProtocolHandle | ||
) |
Definition at line 734 of file protocol.c.
Referenced by LANUnregisterProtocol().
VOID EXPORT NdisGetDriverHandle | ( | IN PNDIS_HANDLE | NdisBindingHandle, |
OUT PNDIS_HANDLE | NdisDriverHandle | ||
) |
Definition at line 1353 of file protocol.c.
NTSTATUS NTAPI NdisIPnPCancelStopDevice | ( | IN PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 172 of file protocol.c.
Referenced by NdisIDispatchPnp().
NTSTATUS NTAPI NdisIPnPQueryStopDevice | ( | IN PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 154 of file protocol.c.
Referenced by NdisIDispatchPnp().
NTSTATUS NTAPI NdisIPwrQueryPower | ( | IN PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 132 of file protocol.c.
NTSTATUS NTAPI NdisIPwrSetPower | ( | IN PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 111 of file protocol.c.
VOID EXPORT NdisOpenAdapter | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_STATUS | OpenErrorStatus, | ||
OUT PNDIS_HANDLE | NdisBindingHandle, | ||
OUT PUINT | SelectedMediumIndex, | ||
IN PNDIS_MEDIUM | MediumArray, | ||
IN UINT | MediumArraySize, | ||
IN NDIS_HANDLE | NdisProtocolHandle, | ||
IN NDIS_HANDLE | ProtocolBindingContext, | ||
IN PNDIS_STRING | AdapterName, | ||
IN UINT | OpenOptions, | ||
IN PSTRING AddressingInformation | OPTIONAL | ||
) |
Definition at line 764 of file protocol.c.
Referenced by BindAdapterByName(), and LANRegisterAdapter().
VOID NTAPI NdisReEnumerateProtocolBindings | ( | IN NDIS_HANDLE | NdisProtocolHandle | ) |
Definition at line 1340 of file protocol.c.
VOID EXPORT NdisRegisterProtocol | ( | OUT PNDIS_STATUS | Status, |
OUT PNDIS_HANDLE | NdisProtocolHandle, | ||
IN PNDIS_PROTOCOL_CHARACTERISTICS | ProtocolCharacteristics, | ||
IN UINT | CharacteristicsLength | ||
) |
Definition at line 1115 of file protocol.c.
Referenced by DriverEntry(), and LANRegisterProtocol().
VOID EXPORT NdisRequest | ( | OUT PNDIS_STATUS | Status, |
IN NDIS_HANDLE | NdisBindingHandle, | ||
IN PNDIS_REQUEST | NdisRequest | ||
) |
Definition at line 1239 of file protocol.c.
VOID EXPORT NdisReset | ( | OUT PNDIS_STATUS | Status, |
IN NDIS_HANDLE | NdisBindingHandle | ||
) |
Definition at line 1259 of file protocol.c.
VOID EXPORT NdisSend | ( | OUT PNDIS_STATUS | Status, |
IN NDIS_HANDLE | NdisBindingHandle, | ||
IN PNDIS_PACKET | Packet | ||
) |
Definition at line 1272 of file protocol.c.
Referenced by LANTransmit(), and NduDispatchWrite().
VOID EXPORT NdisSendPackets | ( | IN NDIS_HANDLE | NdisBindingHandle, |
IN PPNDIS_PACKET | PacketArray, | ||
IN UINT | NumberOfPackets | ||
) |
Definition at line 1293 of file protocol.c.
VOID EXPORT NdisTransferData | ( | OUT PNDIS_STATUS | Status, |
IN NDIS_HANDLE | NdisBindingHandle, | ||
IN NDIS_HANDLE | MacReceiveContext, | ||
IN UINT | ByteOffset, | ||
IN UINT | BytesToTransfer, | ||
IN OUT PNDIS_PACKET | Packet, | ||
OUT PUINT | BytesTransferred | ||
) |
Definition at line 1307 of file protocol.c.
Referenced by NduReceive(), and ProtocolReceive().
NDIS_STATUS ProIndicatePacket | ( | PLOGICAL_ADAPTER | Adapter, |
PNDIS_PACKET | Packet | ||
) |
Definition at line 243 of file protocol.c.
Referenced by MiniportWorker(), and ProSend().
NDIS_STATUS NTAPI ProRequest | ( | IN NDIS_HANDLE | MacBindingHandle, |
IN PNDIS_REQUEST | NdisRequest | ||
) |
Definition at line 308 of file protocol.c.
Referenced by NdisOpenAdapter(), and NdisRequest().
NDIS_STATUS NTAPI ProReset | ( | IN NDIS_HANDLE | MacBindingHandle | ) |
Definition at line 349 of file protocol.c.
Referenced by NdisOpenAdapter(), and NdisReset().
NDIS_STATUS NTAPI ProSend | ( | IN NDIS_HANDLE | MacBindingHandle, |
IN PNDIS_PACKET | Packet | ||
) |
Definition at line 473 of file protocol.c.
Referenced by NdisOpenAdapter(), and NdisSend().
NDIS_STATUS ProSendAndFreePnPEvent | ( | PLOGICAL_ADAPTER | Adapter, |
PNET_PNP_EVENT | PnPEvent, | ||
PIRP | Irp | ||
) |
Definition at line 66 of file protocol.c.
Referenced by NdisIPnPCancelStopDevice(), NdisIPnPQueryStopDevice(), NdisIPwrQueryPower(), and NdisIPwrSetPower().
VOID NTAPI ProSendPackets | ( | IN NDIS_HANDLE | NdisBindingHandle, |
IN PPNDIS_PACKET | PacketArray, | ||
IN UINT | NumberOfPackets | ||
) |
Definition at line 577 of file protocol.c.
Referenced by NdisIPnPStartDevice(), NdisOpenAdapter(), and NdisSendPackets().
NDIS_STATUS proSendPacketToMiniport | ( | PLOGICAL_ADAPTER | Adapter, |
PNDIS_PACKET | Packet | ||
) |
Definition at line 389 of file protocol.c.
Referenced by ProSend(), and ScatterGatherSendPacket().
PNET_PNP_EVENT ProSetupPnPEvent | ( | NET_PNP_EVENT_CODE | EventCode, |
PVOID | EventBuffer, | ||
ULONG | EventBufferLength | ||
) |
Definition at line 30 of file protocol.c.
Referenced by NdisIPnPCancelStopDevice(), NdisIPnPQueryStopDevice(), NdisIPwrQueryPower(), NdisIPwrSetPower(), and NdisRegisterProtocol().
NDIS_STATUS NTAPI ProTransferData | ( | IN NDIS_HANDLE | MacBindingHandle, |
IN NDIS_HANDLE | MacReceiveContext, | ||
IN UINT | ByteOffset, | ||
IN UINT | BytesToTransfer, | ||
IN OUT PNDIS_PACKET | Packet, | ||
OUT PUINT | BytesTransferred | ||
) |
Definition at line 639 of file protocol.c.
Referenced by NdisOpenAdapter(), and NdisTransferData().
VOID NTAPI ScatterGatherSendPacket | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PSCATTER_GATHER_LIST | ScatterGather, | ||
IN PVOID | Context | ||
) |
Definition at line 360 of file protocol.c.
Referenced by ProSend().
LIST_ENTRY ProtocolListHead |
Definition at line 19 of file protocol.c.
Referenced by DriverEntry(), NdisCompleteBindAdapter(), NdisIPnPStartDevice(), and NdisRegisterProtocol().
KSPIN_LOCK ProtocolListLock |
Definition at line 20 of file protocol.c.
Referenced by DriverEntry(), NdisCompleteBindAdapter(), NdisCompleteUnbindAdapter(), NdisDeregisterProtocol(), and NdisRegisterProtocol().