|
ReactOS 0.4.16-dev-1946-g52006dd
|
Go to the source code of this file.
Typedefs | |
| typedef VOID * | PTDI_CONNECTION_INFO_PAIR |
| typedef VOID* PTDI_CONNECTION_INFO_PAIR |
| PTRANSPORT_ADDRESS TaBuildNullTransportAddress | ( | UINT | AddressType | ) |
Definition at line 123 of file tdiconn.c.
Referenced by AfdPacketSocketWriteData(), and AfdStreamSocketConnect().
| PTRANSPORT_ADDRESS TaCopyTransportAddress | ( | PTRANSPORT_ADDRESS | OtherAddress | ) |
Definition at line 90 of file tdiconn.c.
Referenced by AfdBindSocket(), AfdStreamSocketConnect(), PacketSocketRecvComplete(), and SatisfyAccept().
| VOID TaCopyTransportAddressInPlace | ( | PTRANSPORT_ADDRESS | Target, |
| PTRANSPORT_ADDRESS | Source | ||
| ) |
Definition at line 84 of file tdiconn.c.
Referenced by ListenComplete(), SatisfyPreAccept(), TaCopyTransportAddress(), and TdiOpenAddressFile().
| UINT TaLengthOfAddress | ( | PTA_ADDRESS | Addr | ) |
Definition at line 42 of file tdiconn.c.
Referenced by TaLengthOfTransportAddress().
| UINT TaLengthOfTransportAddress | ( | PTRANSPORT_ADDRESS | Addr | ) |
Definition at line 56 of file tdiconn.c.
Referenced by AfdGetPeerName(), TaCopyTransportAddress(), TaCopyTransportAddressInPlace(), and TdiOpenAddressFile().
Definition at line 70 of file tdiconn.c.
Referenced by TaBuildNullTransportAddress(), TdiBuildNullConnectionInfo(), and TdiBuildNullConnectionInfoInPlace().
| NTSTATUS TdiAccept | ( | PIRP * | Irp, |
| PFILE_OBJECT | AcceptConnectionObject, | ||
| PTDI_CONNECTION_INFORMATION | RequestConnectionInfo, | ||
| PTDI_CONNECTION_INFORMATION | ReturnConnectionInfo, | ||
| PIO_COMPLETION_ROUTINE | CompletionRoutine, | ||
| PVOID | CompletionContext | ||
| ) |
Listen on a connection endpoint for a connection request from a remote peer.
| CompletionRoutine | = Routine to be called when IRP is completed |
| CompletionContext | = Context for CompletionRoutine |
Definition at line 517 of file tdi.c.
| UINT TdiAddressSizeFromName | ( | PTRANSPORT_ADDRESS | Name | ) |
Definition at line 23 of file tdiconn.c.
Referenced by TaLengthOfTransportAddressByType(), TdiBuildNullConnectionInfo(), TdiBuildNullConnectionInfoInPlace(), and TdiBuildNullTransportAddressInPlace().
| NTSTATUS TdiAssociateAddressFile | ( | HANDLE | AddressHandle, |
| PFILE_OBJECT | ConnectionObject | ||
| ) |
Associates a connection endpoint to an address file object.
| AddressHandle | = Handle to address file object |
| ConnectionObject | = Connection endpoint file object |
Definition at line 366 of file tdi.c.
Referenced by StartListening(), WarmSocketForConnection(), and WskConnect().
| NTSTATUS TdiBuildConnectionInfo | ( | PTDI_CONNECTION_INFORMATION * | ConnectionInfo, |
| PTRANSPORT_ADDRESS | Name | ||
| ) |
Definition at line 246 of file tdiconn.c.
Referenced by AfdBindSocket(), AfdConnectedSocketWriteData(), AfdPacketSocketWriteData(), AfdStreamSocketConnect(), SatisfyAccept(), and TdiConnectionInfoFromSocketAddress().
| NTSTATUS TdiBuildConnectionInfoInPlace | ( | PTDI_CONNECTION_INFORMATION | ConnInfo, |
| PTRANSPORT_ADDRESS | Name | ||
| ) |
Definition at line 228 of file tdiconn.c.
Referenced by TdiBuildConnectionInfo().
| NTSTATUS TdiBuildNullConnectionInfo | ( | PTDI_CONNECTION_INFORMATION * | ConnectionInfo, |
| ULONG | Type | ||
| ) |
Builds a NULL TDI connection information structure.
| ConnectionInfo | = Address of buffer pointer to allocate connection information in |
| Type | = TDI style address type (TDI_ADDRESS_TYPE_XXX). |
Definition at line 180 of file tdiconn.c.
Referenced by AfdListenSocket(), ListenComplete(), StartListening(), TdiBuildConnectionInfo(), and WskConnect().
| NTSTATUS TdiBuildNullConnectionInfoInPlace | ( | PTDI_CONNECTION_INFORMATION | ConnInfo, |
| ULONG | Type | ||
| ) |
Builds a NULL TDI connection information structure.
| ConnectionInfo | = Address of buffer to place connection information |
| Type | = TDI style address type (TDI_ADDRESS_TYPE_XXX). |
Definition at line 146 of file tdiconn.c.
Referenced by ListenComplete(), and TdiBuildNullConnectionInfo().
| NTSTATUS TdiDisassociateAddressFile | ( | PFILE_OBJECT | ConnectionObject | ) |
Disassociates a connection endpoint from an address file object.
| ConnectionObject | = Connection endpoint file object |
Definition at line 416 of file tdi.c.
Referenced by AfdCloseSocket(), SocketShutdown(), StartListening(), and WskConnect().
| NTSTATUS TdiListen | ( | PIRP * | Irp, |
| PFILE_OBJECT | ConnectionObject, | ||
| PTDI_CONNECTION_INFORMATION * | RequestConnectionInfo, | ||
| PTDI_CONNECTION_INFORMATION * | ReturnConnectionInfo, | ||
| PIO_COMPLETION_ROUTINE | CompletionRoutine, | ||
| PVOID | CompletionContext | ||
| ) |
Listen on a connection endpoint for a connection request from a remote peer.
| CompletionRoutine | = Routine to be called when IRP is completed |
| CompletionContext | = Context for CompletionRoutine |
Definition at line 463 of file tdi.c.
Referenced by AfdListenSocket(), ListenComplete(), and StartListening().
| NTSTATUS TdiOpenAddressFile | ( | PUNICODE_STRING | DeviceName, |
| PTRANSPORT_ADDRESS | Name, | ||
| ULONG | ShareType, | ||
| PHANDLE | AddressHandle, | ||
| PFILE_OBJECT * | AddressObject | ||
| ) |
Opens an IPv4 address file object.
| DeviceName | = Pointer to counted string with name of device |
| Name | = Pointer to socket name (IPv4 address family) |
| AddressHandle | = Address of buffer to place address file handle |
| AddressObject | = Address of buffer to place address file object |
Definition at line 148 of file tdi.c.
Referenced by WarmSocketForBind(), and WskBind().
| NTSTATUS TdiQueryMaxDatagramLength | ( | PFILE_OBJECT | FileObject, |
| PUINT | MaxDatagramLength | ||
| ) |
Definition at line 203 of file tdi.c.
Referenced by MakeSocketIntoConnection(), and WarmSocketForBind().
| NTSTATUS TdiReceive | ( | PIRP * | Irp, |
| PFILE_OBJECT | ConnectionObject, | ||
| USHORT | Flags, | ||
| PCHAR | Buffer, | ||
| UINT | BufferLength, | ||
| PIO_COMPLETION_ROUTINE | CompletionRoutine, | ||
| PVOID | CompletionContext | ||
| ) |
Definition at line 999 of file tdi.c.
Referenced by MakeSocketIntoConnection(), RefillSocketBuffer(), and WskStreamIo().
| NTSTATUS TdiReceiveDatagram | ( | PIRP * | Irp, |
| PFILE_OBJECT | TransportObject, | ||
| USHORT | Flags, | ||
| PCHAR | Buffer, | ||
| UINT | BufferLength, | ||
| PTDI_CONNECTION_INFORMATION | Addr, | ||
| PIO_COMPLETION_ROUTINE | CompletionRoutine, | ||
| PVOID | CompletionContext | ||
| ) |
Receives a datagram.
| TransportObject | = Pointer to transport object |
| From | = Receive filter (NULL if none) |
| Address | = Address of buffer to place remote address |
| Buffer | = Address of buffer to place received data |
| BufferSize | = Address of buffer with length of Buffer (updated) |
Definition at line 1079 of file tdi.c.
Referenced by PacketSocketRecvComplete(), and WarmSocketForBind().
| NTSTATUS TdiSend | ( | PIRP * | Irp, |
| PFILE_OBJECT | ConnectionObject, | ||
| USHORT | Flags, | ||
| PCHAR | Buffer, | ||
| UINT | BufferLength, | ||
| PIO_COMPLETION_ROUTINE | CompletionRoutine, | ||
| PVOID | CompletionContext | ||
| ) |
Definition at line 923 of file tdi.c.
Referenced by AfdConnectedSocketWriteData(), SendComplete(), and WskStreamIo().
| NTSTATUS TdiSendDatagram | ( | PIRP * | Irp, |
| PFILE_OBJECT | TransportObject, | ||
| PCHAR | Buffer, | ||
| UINT | BufferLength, | ||
| PTDI_CONNECTION_INFORMATION | Addr, | ||
| PIO_COMPLETION_ROUTINE | CompletionRoutine, | ||
| PVOID | CompletionContext | ||
| ) |
Sends a datagram.
| TransportObject | = Pointer to transport object |
| From | = Send filter (NULL if none) |
| Address | = Address of buffer to place remote address |
| Buffer | = Address of buffer to place send data |
| BufferSize | = Address of buffer with length of Buffer (updated) |
Definition at line 1170 of file tdi.c.
Referenced by AfdConnectedSocketWriteData(), AfdPacketSocketWriteData(), and WskSendTo().