|
ReactOS 0.4.17-dev-934-g091855f
|
#include <msafd.h>#include <winuser.h>#include <wchar.h>
Go to the source code of this file.
| int CreateContext | ( | PSOCKET_INFORMATION | Socket | ) |
Definition at line 3983 of file dllmain.c.
Referenced by WSPSocket().
Definition at line 4483 of file dllmain.c.
Definition at line 1434 of file dllmain.c.
Referenced by MsafdConnectAPC(), WSPAccept(), WSPConnect(), and WSPGetSockOpt().
| int GetSocketInformation | ( | PSOCKET_INFORMATION | Socket, |
| ULONG | AfdInformationClass, | ||
| PBOOLEAN Boolean | OPTIONAL, | ||
| PULONG Ulong | OPTIONAL, | ||
| PLARGE_INTEGER LargeInteger | OPTIONAL, | ||
| LPWSAOVERLAPPED Overlapped | OPTIONAL, | ||
| LPWSAOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine | OPTIONAL | ||
| ) |
Definition at line 3712 of file dllmain.c.
Referenced by WSPCloseSocket(), WSPIoctl(), WSPSetSockOpt(), and WSPSocket().
| PSOCKET_INFORMATION GetSocketStructure | ( | SOCKET | Handle | ) |
Definition at line 3960 of file dllmain.c.
Referenced by MsafdConnectAPC(), MsafdUpdateConnectionContext(), WSPAccept(), WSPAcceptEx(), WSPAsyncSelect(), WSPBind(), WSPCloseSocket(), WSPConnect(), WSPConnectEx(), WSPDuplicateSocket(), WSPEnumNetworkEvents(), WSPEventSelect(), WSPGetOverlappedResult(), WSPGetPeerName(), WSPGetSockName(), WSPGetSockOpt(), WSPIoctl(), WSPListen(), WSPRecv(), WSPRecvFrom(), WSPSelect(), WSPSend(), WSPSendTo(), WSPSetSockOpt(), and WSPShutdown().
|
static |
Definition at line 1964 of file dllmain.c.
Referenced by WSPConnect().
|
static |
Definition at line 3693 of file dllmain.c.
Referenced by GetSocketInformation(), and SetSocketInformation().
Definition at line 3105 of file dllmain.c.
Referenced by WSPSetSockOpt().
Definition at line 614 of file dllmain.c.
Referenced by CreateContext(), GetSocketInformation(), MsafdUpdateConnectionContext(), SetSocketInformation(), WSPAccept(), WSPBind(), WSPCloseSocket(), WSPConnect(), WSPEnumNetworkEvents(), WSPEventSelect(), WSPGetPeerName(), WSPGetSockName(), WSPListen(), WSPRecv(), WSPRecvFrom(), WSPSelect(), WSPSend(), WSPSendTo(), and WSPShutdown().
| int SetSocketInformation | ( | PSOCKET_INFORMATION | Socket, |
| ULONG | AfdInformationClass, | ||
| PBOOLEAN Boolean | OPTIONAL, | ||
| PULONG Ulong | OPTIONAL, | ||
| PLARGE_INTEGER LargeInteger | OPTIONAL, | ||
| LPWSAOVERLAPPED Overlapped | OPTIONAL, | ||
| LPWSAOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine | OPTIONAL | ||
| ) |
Definition at line 3838 of file dllmain.c.
Referenced by WSPAsyncSelect(), WSPEventSelect(), WSPIoctl(), and WSPSetSockOpt().
| VOID SockAsyncSelectCompletionRoutine | ( | PVOID | Context, |
| PIO_STATUS_BLOCK | IoStatusBlock | ||
| ) |
Definition at line 4190 of file dllmain.c.
Referenced by SockGetAsyncSelectHelperAfdHandle(), and SockProcessAsyncSelect().
Definition at line 4094 of file dllmain.c.
Referenced by SockCreateOrReferenceAsyncThread().
Definition at line 4033 of file dllmain.c.
Referenced by SockReenableAsyncSelectEvent(), and WSPAsyncSelect().
Definition at line 4128 of file dllmain.c.
Referenced by WSPAsyncSelect().
| VOID SockProcessAsyncSelect | ( | PSOCKET_INFORMATION | Socket, |
| PASYNC_DATA | AsyncData | ||
| ) |
Definition at line 4319 of file dllmain.c.
Referenced by SockAsyncSelectCompletionRoutine(), and SockProcessQueuedAsyncSelect().
| VOID SockProcessQueuedAsyncSelect | ( | PVOID | Context, |
| PIO_STATUS_BLOCK | IoStatusBlock | ||
| ) |
Definition at line 4402 of file dllmain.c.
Referenced by SockReenableAsyncSelectEvent(), and WSPAsyncSelect().
| VOID SockReenableAsyncSelectEvent | ( | IN PSOCKET_INFORMATION | Socket, |
| IN ULONG | Event | ||
| ) |
Definition at line 4436 of file dllmain.c.
Referenced by MsafdConnectAPC(), MsafdRecvAPC(), MsafdSendAPC(), MsafdUpdateConnectionContext(), WSPAccept(), WSPConnect(), WSPGetOverlappedResult(), WSPRecv(), WSPRecvFrom(), WSPSend(), and WSPSendTo().
Definition at line 537 of file dllmain.c.
Referenced by MsafdConnectAPC(), MsafdReturnWithErrno(), MsafdUpdateConnectionContext(), WSPAccept(), WSPAcceptEx(), WSPBind(), WSPConnect(), WSPConnectEx(), WSPEnumNetworkEvents(), WSPGetOverlappedResult(), WSPListen(), WSPShutdown(), and WSPSocket().
| _Must_inspect_result_ SOCKET WSPAPI WSPAccept | ( | _In_ SOCKET | Handle, |
| _Out_writes_bytes_to_opt_ *, *addrlen struct sockaddr FAR * | SocketAddress, | ||
| _Inout_opt_ LPINT | SocketAddressLength, | ||
| _In_opt_ LPCONDITIONPROC | lpfnCondition, | ||
| _In_opt_ DWORD_PTR | dwCallbackData, | ||
| _Out_ LPINT | lpErrno | ||
| ) |
Definition at line 1451 of file dllmain.c.
Referenced by WSPStartup().
| BOOL WSPAPI WSPAcceptEx | ( | _In_ SOCKET | sListenSocket, |
| _In_ SOCKET | sAcceptSocket, | ||
| _Out_ PVOID | lpOutputBuffer, | ||
| _In_ DWORD | dwReceiveDataLength, | ||
| _In_ DWORD | dwLocalAddressLength, | ||
| _In_ DWORD | dwRemoteAddressLength, | ||
| _Out_ LPDWORD | lpdwBytesReceived, | ||
| _Inout_ LPOVERLAPPED | lpOverlapped | ||
| ) |
Definition at line 1847 of file dllmain.c.
Referenced by WSPIoctl().
| INT WSPAPI WSPAddressToString | ( | IN LPSOCKADDR | lpsaAddress, |
| IN DWORD | dwAddressLength, | ||
| IN LPWSAPROTOCOL_INFOW | lpProtocolInfo, | ||
| OUT LPWSTR | lpszAddressString, | ||
| IN OUT LPDWORD | lpdwAddressStringLength, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 3496 of file dllmain.c.
Referenced by WSPStartup().
| INT WSPAPI WSPBind | ( | SOCKET | Handle, |
| const struct sockaddr * | SocketAddress, | ||
| int | SocketAddressLength, | ||
| LPINT | lpErrno | ||
| ) |
Definition at line 860 of file dllmain.c.
Referenced by WSPConnect(), WSPRecvFrom(), WSPSendTo(), and WSPStartup().
Definition at line 3680 of file dllmain.c.
Referenced by WSPStartup(), and WsTpWSPCleanup().
Definition at line 637 of file dllmain.c.
Referenced by WSPAccept(), and WSPStartup().
| int WSPAPI WSPConnect | ( | SOCKET | Handle, |
| const struct sockaddr * | SocketAddress, | ||
| int | SocketAddressLength, | ||
| LPWSABUF | lpCallerData, | ||
| LPWSABUF | lpCalleeData, | ||
| LPQOS | lpSQOS, | ||
| LPQOS | lpGQOS, | ||
| LPINT | lpErrno | ||
| ) |
Definition at line 2017 of file dllmain.c.
Referenced by WSPStartup().
| BOOL WSPAPI WSPConnectEx | ( | _In_ SOCKET | Handle, |
| _In_ const struct sockaddr * | SocketAddress, | ||
| _In_ int | SocketAddressLength, | ||
| _In_ PVOID | lpSendBuffer, | ||
| _In_ DWORD | dwSendDataLength, | ||
| _Out_ LPDWORD | lpdwBytesSent, | ||
| _Inout_ LPOVERLAPPED | lpOverlapped | ||
| ) |
Definition at line 2298 of file dllmain.c.
Referenced by WSPIoctl().
| INT WSPAPI WSPDuplicateSocket | ( | IN SOCKET | Handle, |
| IN DWORD | dwProcessId, | ||
| OUT LPWSAPROTOCOL_INFOW | lpProtocolInfo, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 449 of file dllmain.c.
Referenced by WSPStartup().
| VOID WSPAPI WSPGetAcceptExSockaddrs | ( | IN PVOID | lpOutputBuffer, |
| IN DWORD | dwReceiveDataLength, | ||
| IN DWORD | dwLocalAddressLength, | ||
| IN DWORD | dwRemoteAddressLength, | ||
| OUT struct sockaddr ** | LocalSockaddr, | ||
| OUT LPINT | LocalSockaddrLength, | ||
| OUT struct sockaddr ** | RemoteSockaddr, | ||
| OUT LPINT | RemoteSockaddrLength | ||
| ) |
Definition at line 1934 of file dllmain.c.
Referenced by WSPIoctl().
| INT WSPAPI WSPGetPeerName | ( | IN SOCKET | s, |
| OUT LPSOCKADDR | Name, | ||
| IN OUT LPINT | NameLength, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 2579 of file dllmain.c.
Referenced by WSPStartup().
| INT WSPAPI WSPGetSockName | ( | IN SOCKET | Handle, |
| OUT LPSOCKADDR | Name, | ||
| IN OUT LPINT | NameLength, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 2477 of file dllmain.c.
Referenced by WSPStartup().
| INT WSPAPI WSPGetSockOpt | ( | IN SOCKET | Handle, |
| IN INT | Level, | ||
| IN INT | OptionName, | ||
| OUT CHAR FAR * | OptionValue, | ||
| IN OUT LPINT | OptionLength, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 2925 of file dllmain.c.
Referenced by WSPStartup().
| INT WSPAPI WSPIoctl | ( | IN SOCKET | Handle, |
| IN DWORD | dwIoControlCode, | ||
| IN LPVOID | lpvInBuffer, | ||
| IN DWORD | cbInBuffer, | ||
| OUT LPVOID | lpvOutBuffer, | ||
| IN DWORD | cbOutBuffer, | ||
| OUT LPDWORD | lpcbBytesReturned, | ||
| IN LPWSAOVERLAPPED | lpOverlapped, | ||
| IN LPWSAOVERLAPPED_COMPLETION_ROUTINE | lpCompletionRoutine, | ||
| IN LPWSATHREADID | lpThreadId, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 2682 of file dllmain.c.
Referenced by WSPStartup().
Definition at line 998 of file dllmain.c.
Referenced by WSPStartup().
| int WSPAPI WSPSelect | ( | IN int | nfds, |
| IN OUT fd_set *readfds | OPTIONAL, | ||
| IN OUT fd_set *writefds | OPTIONAL, | ||
| IN OUT fd_set *exceptfds | OPTIONAL, | ||
| IN const struct timeval *timeout | OPTIONAL, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 1082 of file dllmain.c.
Referenced by select(), WSPAccept(), and WSPStartup().
| INT WSPAPI WSPSetSockOpt | ( | IN SOCKET | s, |
| IN INT | level, | ||
| IN INT | optname, | ||
| IN CONST CHAR FAR * | optval, | ||
| IN INT | optlen, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 3214 of file dllmain.c.
Referenced by WSPStartup().
Definition at line 2397 of file dllmain.c.
Referenced by WSPStartup().
| SOCKET WSPAPI WSPSocket | ( | int | AddressFamily, |
| int | SocketType, | ||
| int | Protocol, | ||
| LPWSAPROTOCOL_INFOW | lpProtocolInfo, | ||
| GROUP | g, | ||
| DWORD | dwFlags, | ||
| LPINT | lpErrno | ||
| ) |
Definition at line 48 of file dllmain.c.
Referenced by WSPAccept(), and WSPStartup().
| _Must_inspect_result_ int WSPAPI WSPStartup | ( | _In_ WORD | wVersionRequested, |
| _In_ LPWSPDATA | lpWSPData, | ||
| _In_ LPWSAPROTOCOL_INFOW | lpProtocolInfo, | ||
| _In_ WSPUPCALLTABLE | UpcallTable, | ||
| _Out_ LPWSPPROC_TABLE | lpProcTable | ||
| ) |
Definition at line 3431 of file dllmain.c.
| INT WSPAPI WSPStringToAddress | ( | IN LPWSTR | AddressString, |
| IN INT | AddressFamily, | ||
| IN LPWSAPROTOCOL_INFOW | lpProtocolInfo, | ||
| OUT LPSOCKADDR | lpAddress, | ||
| IN OUT LPINT | lpAddressLength, | ||
| OUT LPINT | lpErrno | ||
| ) |
Definition at line 3556 of file dllmain.c.
Referenced by WSPStartup().
| DWORD CatalogEntryId |
Definition at line 21 of file dllmain.c.
Referenced by WSAAddressToStringA(), WSAAddressToStringW(), WSAStringToAddressA(), WSAStringToAddressW(), WSPStartup(), and WsTcGetEntryFromCatalogEntryId().
| HANDLE GlobalHeap |
Definition at line 19 of file dllmain.c.
Referenced by DllMain(), ExitThreadApc(), GetSocketInformation(), MsafdConnectAPC(), MsafdInfoAPC(), MsafdRecvAPC(), MsafdSendAPC(), SetSocketInformation(), SockGetTdiName(), SockLoadHelperDll(), SockLoadTransportList(), SockLoadTransportMapping(), WahCreateHandleContextTable(), WahDestroyHandleContextTable(), WahInsertHandleContext(), WahOpenHandleHelper(), Ws2HelpDllMain(), WSPAccept(), WSPBind(), WSPCloseSocket(), WSPConnect(), WSPDuplicateSocket(), WSPGetPeerName(), WSPGetSockName(), WSPRecv(), WSPRecvFrom(), WSPSelect(), WSPSend(), WSPSendTo(), and WSPSocket().
| LPWPUCOMPLETEOVERLAPPEDREQUEST lpWPUCompleteOverlappedRequest |
Definition at line 28 of file dllmain.c.
Referenced by SockAsyncThread(), SockCreateOrReferenceAsyncThread(), SockGetAsyncSelectHelperAfdHandle(), SockReenableAsyncSelectEvent(), and WSPAsyncSelect().
| HANDLE SockAsyncHelperAfdHandle |
Definition at line 27 of file dllmain.c.
Referenced by SockGetAsyncSelectHelperAfdHandle(), and SockProcessAsyncSelect().
| BOOLEAN SockAsyncSelectCalled |
Definition at line 29 of file dllmain.c.
Referenced by SockGetAsyncSelectHelperAfdHandle().
| ULONG SockAsyncThreadRefCount |
Definition at line 26 of file dllmain.c.
Referenced by SockCreateOrReferenceAsyncThread().
| PSOCKET_INFORMATION SocketListHead = NULL |
Definition at line 23 of file dllmain.c.
Referenced by GetSocketStructure(), WSPCloseSocket(), and WSPSocket().
| CRITICAL_SECTION SocketListLock |
Definition at line 24 of file dllmain.c.
Referenced by DllMain(), GetSocketStructure(), WSPCloseSocket(), and WSPSocket().
| LIST_ENTRY SockHelpersListHead = { NULL, NULL } |
Definition at line 25 of file dllmain.c.
Referenced by DllMain(), SockGetTdiName(), and SockLoadHelperDll().
| WSPUPCALLTABLE Upcalls |
Definition at line 20 of file dllmain.c.
Referenced by SockAsyncSelectCompletionRoutine(), WSPSocket(), and WSPStartup().