|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <ntifs.h>#include <netiodef.h>#include <ws2def.h>#include <wsk.h>#include <ndis.h>#include <reactos/debug.h>#include <tdi.h>#include <tcpioctl.h>#include <tdikrnl.h>#include <tdiinfo.h>#include <tdi_proto.h>#include <tdiconn.h>
Go to the source code of this file.
Classes | |
| struct | _WSK_SOCKET_INTERNAL |
| struct | _NETIO_CONTEXT |
| struct | _LISTEN_CONTEXT |
Macros | |
| #define | NDEBUG |
| #define | TAG_NETIO 'OIEN' |
| #define | TAG_AFD_TDI_CONNECTION_INFORMATION 'cTfA' |
| #define | AFD_SHARE_UNIQUE 0x0L |
| #define | AFD_SHARE_REUSE 0x1L |
| #define | AFD_SHARE_WILDCARD 0x2L |
| #define | AFD_SHARE_EXCLUSIVE 0x3L |
| #define | FUNCTION_TRACE do { } while (0) |
Typedefs | |
| typedef struct _WSK_SOCKET_INTERNAL | WSK_SOCKET_INTERNAL |
| typedef struct _WSK_SOCKET_INTERNAL * | PWSK_SOCKET_INTERNAL |
| typedef struct _NETIO_CONTEXT | NETIO_CONTEXT |
| typedef struct _NETIO_CONTEXT * | PNETIO_CONTEXT |
| typedef struct _LISTEN_CONTEXT | LISTEN_CONTEXT |
| typedef struct _LISTEN_CONTEXT * | PLISTEN_CONTEXT |
Enumerations | |
| enum | direction { DIR_SEND , DIR_RECEIVE } |
Variables | |
| static PWSK_SOCKET_INTERNAL | SocketsToDereference = NULL |
| static KSPIN_LOCK | SocketsToDereferenceListLock = 0 |
| static volatile BOOLEAN | DereferenceSocketsThreadShouldRun = FALSE |
| static KEVENT | DereferenceSocketsEvent |
| static HANDLE | DereferenceSocketsThreadHandle |
| static WSK_PROVIDER_DATAGRAM_DISPATCH | UdpDispatch |
| static WSK_PROVIDER_CONNECTION_DISPATCH | TcpDispatch |
| static WSK_PROVIDER_DISPATCH | provider_dispatch |
| typedef struct _LISTEN_CONTEXT LISTEN_CONTEXT |
| typedef struct _NETIO_CONTEXT NETIO_CONTEXT |
| typedef struct _LISTEN_CONTEXT * PLISTEN_CONTEXT |
| typedef struct _NETIO_CONTEXT * PNETIO_CONTEXT |
| typedef struct _WSK_SOCKET_INTERNAL * PWSK_SOCKET_INTERNAL |
| Enumerator | |
|---|---|
| DIR_SEND | |
| DIR_RECEIVE | |
|
static |
Definition at line 414 of file netio.c.
Referenced by CreateSocket().
|
static |
Definition at line 425 of file netio.c.
|
static |
Definition at line 311 of file netio.c.
Referenced by ListenComplete(), NetioComplete(), SocketShutdown(), StartListening(), WskCloseSocket(), WskConnect(), and WskSendTo().
Definition at line 246 of file netio.c.
Referenced by StartSocketDereferenceThread().
|
static |
Definition at line 232 of file netio.c.
Referenced by DereferenceSocket(), and DereferenceSocketsThread().
| NTSTATUS NTAPI DriverEntry | ( | _In_ PDRIVER_OBJECT | DriverObject, |
| _In_ PUNICODE_STRING | RegistryPath | ||
| ) |
|
static |
Definition at line 474 of file netio.c.
|
static |
Definition at line 367 of file netio.c.
Referenced by WskConnect(), WskSendTo(), and WskStreamIo().
|
static |
Definition at line 466 of file netio.c.
Referenced by ListenComplete(), and WskControlSocket().
|
static |
Definition at line 137 of file netio.c.
Referenced by StartListening(), WskConnect(), WskSendTo(), and WskStreamIo().
Definition at line 641 of file netio.c.
Referenced by WskSocket().
|
static |
Definition at line 206 of file netio.c.
Referenced by DereferenceSocketSynchronous().
|
static |
Definition at line 153 of file netio.c.
Referenced by SocketDestroy(), WskCloseSocket(), and WskDisconnect().
|
static |
Definition at line 544 of file netio.c.
Referenced by RequeueListenThread().
Definition at line 286 of file netio.c.
Referenced by WskCaptureProviderNPI().
Definition at line 302 of file netio.c.
Referenced by WskReleaseProviderNPI().
|
static |
Definition at line 822 of file netio.c.
Referenced by WskConnect(), and WskSendTo().
|
static |
Definition at line 797 of file netio.c.
Referenced by TdiConnectionInfoFromSocketAddress(), and WskBind().
|
static |
Definition at line 848 of file netio.c.
| NTSTATUS WSKAPI WskCaptureProviderNPI | ( | _In_ PWSK_REGISTRATION | reg, |
| _In_ ULONG | wait, | ||
| _Out_ PWSK_PROVIDER_NPI | npi | ||
| ) |
Definition at line 1477 of file netio.c.
Definition at line 775 of file netio.c.
|
static |
Definition at line 1098 of file netio.c.
|
static |
|
static |
Definition at line 665 of file netio.c.
| VOID WSKAPI WskDeregister | ( | _In_ PWSK_REGISTRATION | reg | ) |
|
static |
|
static |
|
static |
|
static |
Definition at line 1270 of file netio.c.
|
static |
| NTSTATUS WSKAPI WskRegister | ( | _In_ PWSK_CLIENT_NPI | client_npi, |
| _Out_ PWSK_REGISTRATION | reg | ||
| ) |
| VOID WSKAPI WskReleaseProviderNPI | ( | _In_ PWSK_REGISTRATION | reg | ) |
|
static |
|
static |
|
static |
|
static |
Definition at line 888 of file netio.c.
|
static |
Definition at line 1309 of file netio.c.
Referenced by CreateSocket().
|
static |
|
static |
Definition at line 1190 of file netio.c.
Referenced by WskReceive(), and WskSend().
|
static |
Definition at line 243 of file netio.c.
Referenced by DereferenceSocket(), DereferenceSocketsThread(), StartSocketDereferenceThread(), and StopSocketDereferenceThread().
|
static |
Definition at line 244 of file netio.c.
Referenced by StartSocketDereferenceThread().
Definition at line 242 of file netio.c.
Referenced by DereferenceSocketsThread(), StartSocketDereferenceThread(), and StopSocketDereferenceThread().
|
static |
Definition at line 1456 of file netio.c.
Referenced by WskCaptureProviderNPI().
|
static |
Definition at line 240 of file netio.c.
Referenced by DereferenceSocket(), and DereferenceSocketsThread().
|
static |
Definition at line 241 of file netio.c.
Referenced by DereferenceSocket(), DereferenceSocketsThread(), and StartSocketDereferenceThread().
|
static |
Definition at line 1295 of file netio.c.
Referenced by WskSocket().
|
static |
Definition at line 1085 of file netio.c.
Referenced by WskSocket().