ReactOS 0.4.16-dev-533-gc7d1aa3
|
#include "precomp.h"
#include "lwip/pbuf.h"
#include "lwip/ip.h"
#include "lwip/init.h"
#include "lwip/arch.h"
#include <lwip_glue/lwip_glue.h>
Go to the source code of this file.
Variables | |
LONG | TCP_IPIdentification = 0 |
static BOOLEAN | TCPInitialized = FALSE |
PORT_SET | TCPPorts |
NPAGED_LOOKASIDE_LIST | TdiBucketLookasideList |
static IO_WORKITEM_ROUTINE | DisconnectWorker |
Definition at line 90 of file tcp.c.
Referenced by TCPAllocateConnectionEndpoint().
VOID NTAPI DisconnectTimeoutDpc | ( | PKDPC | Dpc, |
PVOID | DeferredContext, | ||
PVOID | SystemArgument1, | ||
PVOID | SystemArgument2 | ||
) |
Definition at line 80 of file tcp.c.
Referenced by TCPAllocateConnectionEndpoint().
_Use_decl_annotations_ VOID NTAPI DisconnectWorker | ( | _Unreferenced_parameter_ PDEVICE_OBJECT | DeviceObject, |
_In_ PVOID | Context | ||
) |
Definition at line 35 of file tcp.c.
PCONNECTION_ENDPOINT TCPAllocateConnectionEndpoint | ( | PVOID | ClientContext | ) |
Definition at line 107 of file tcp.c.
Referenced by DispTdiListen(), FileOpenConnection(), and TCPSocketObject::TCPSocketObject().
Definition at line 636 of file tcp.c.
Referenced by FileOpenAddress(), TCPConnect(), and TCPListen().
NTSTATUS TCPClose | ( | PCONNECTION_ENDPOINT | Connection | ) |
Definition at line 177 of file tcp.c.
Referenced by FileCloseAddress(), FileCloseConnection(), main(), and TCPSocketObject::~TCPSocketObject().
NTSTATUS TCPConnect | ( | PCONNECTION_ENDPOINT | Connection, |
PTDI_CONNECTION_INFORMATION | ConnInfo, | ||
PTDI_CONNECTION_INFORMATION | ReturnInfo, | ||
PTCP_COMPLETION_ROUTINE | Complete, | ||
PVOID | Context | ||
) |
Definition at line 301 of file tcp.c.
Referenced by DispTdiConnect(), and TCPSocketObject::TCPSocketObject().
NTSTATUS TCPDisconnect | ( | PCONNECTION_ENDPOINT | Connection, |
UINT | Flags, | ||
PLARGE_INTEGER | Timeout, | ||
PTDI_CONNECTION_INFORMATION | ConnInfo, | ||
PTDI_CONNECTION_INFORMATION | ReturnInfo, | ||
PTCP_COMPLETION_ROUTINE | Complete, | ||
PVOID | Context | ||
) |
Definition at line 426 of file tcp.c.
Referenced by DispTdiDisconnect().
NTSTATUS TCPGetSockAddress | ( | PCONNECTION_ENDPOINT | Connection, |
PTRANSPORT_ADDRESS | Address, | ||
BOOLEAN | GetRemote | ||
) |
Definition at line 657 of file tcp.c.
Referenced by InfoTdiQueryGetConnectionTcpTable(), TCPConnect(), and TCPListen().
NTSTATUS TCPGetSocketStatus | ( | PCONNECTION_ENDPOINT | Connection, |
PULONG | State | ||
) |
Definition at line 749 of file tcp.c.
Referenced by InfoTdiQueryGetConnectionTcpTable().
VOID TCPReceive | ( | PIP_INTERFACE | Interface, |
PIP_PACKET | IPPacket | ||
) |
Definition at line 192 of file tcp.c.
Referenced by TCPStartup().
NTSTATUS TCPReceiveData | ( | PCONNECTION_ENDPOINT | Connection, |
PNDIS_BUFFER | Buffer, | ||
ULONG | ReceiveLength, | ||
PULONG | BytesReceived, | ||
ULONG | ReceiveFlags, | ||
PTCP_COMPLETION_ROUTINE | Complete, | ||
PVOID | Context | ||
) |
Definition at line 528 of file tcp.c.
Referenced by DispTdiReceive().
BOOLEAN TCPRemoveIRP | ( | PCONNECTION_ENDPOINT | Endpoint, |
PIRP | Irp | ||
) |
Definition at line 695 of file tcp.c.
Referenced by DispCancelRequest().
NTSTATUS TCPSendData | ( | PCONNECTION_ENDPOINT | Connection, |
PCHAR | BufferData, | ||
ULONG | SendLength, | ||
PULONG | BytesSent, | ||
ULONG | Flags, | ||
PTCP_COMPLETION_ROUTINE | Complete, | ||
PVOID | Context | ||
) |
Definition at line 579 of file tcp.c.
Referenced by DispTdiSend(), TCPSocketObject::recv(), and TCPSocketObject::send().
NTSTATUS TCPSetNoDelay | ( | PCONNECTION_ENDPOINT | Connection, |
BOOLEAN | Set | ||
) |
Definition at line 734 of file tcp.c.
Referenced by SetConnectionInfo().
Definition at line 243 of file tcp.c.
Referenced by TiUnload().
NTSTATUS TCPSocket | ( | PCONNECTION_ENDPOINT | Connection, |
UINT | Family, | ||
UINT | Type, | ||
UINT | Proto | ||
) |
Definition at line 153 of file tcp.c.
Referenced by DispTdiListen(), FileOpenConnection(), and TCPSocketObject::TCPSocketObject().
Definition at line 208 of file tcp.c.
Referenced by DriverEntry().
Definition at line 267 of file tcp.c.
Referenced by DisconnectWorker(), InternalErrorEventHandler(), TCPCheckPeerForAccept(), TCPConnect(), TCPConnectEventHandler(), TCPDisconnect(), TCPFinEventHandler(), TCPGetSockAddress(), TCPListen(), TCPSendData(), and TCPSendEventHandler().
|
static |
Definition at line 30 of file tcp.c.
Referenced by DisconnectTimeoutDpc().
Definition at line 16 of file tcp.c.
Referenced by TCPShutdown(), and TCPStartup().
PORT_SET TCPPorts |
Definition at line 17 of file tcp.c.
Referenced by TCPAllocatePort(), TCPFreePort(), TCPShutdown(), and TCPStartup().
NPAGED_LOOKASIDE_LIST TdiBucketLookasideList |
Definition at line 26 of file tcp.c.
Referenced by BucketCompletionWorker(), TCPAbortListenForSocket(), TCPAccept(), TCPConnect(), TCPDisconnect(), TCPReceiveData(), TCPRemoveIRP(), TCPSendData(), TCPShutdown(), and TCPStartup().