14 switch( AddressType ) {
27 DbgPrint(
"TdiAddressSizeFromType - invalid type: %x\n", AddressType);
39 AddrLen += 2 *
sizeof(
USHORT );
53 AddrLen +=
sizeof(
ULONG);
100 A->TAAddressCount = 1;
103 if (!
A->Address[0].AddressLength)
106 A->Address[0].AddressType = AddressType;
148 ULONG TdiAddressSize;
184 ULONG TdiAddressSize;
188 if (!TdiAddressSize) {
190 *ConnectionInfo =
NULL;
199 *ConnectionInfo =
NULL;
211 *ConnectionInfo = ConnInfo;
240 ( ConnectionInfo,
Address->Address[0].AddressType );
#define TAG_AFD_TDI_CONNECTION_INFORMATION
#define TAG_AFD_TRANSPORT_ADDRESS
#define NT_SUCCESS(StatCode)
#define AFD_DbgPrint(_t_, _x_)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define EXCEPTION_EXECUTE_HANDLER
#define ExFreePoolWithTag(_P, _T)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
struct _TDI_CONNECTION_INFORMATION * PTDI_CONNECTION_INFORMATION
#define TDI_ADDRESS_LENGTH_VNS
#define TDI_ADDRESS_TYPE_VNS
struct _TRANSPORT_ADDRESS * PTRANSPORT_ADDRESS
#define TDI_ADDRESS_LENGTH_APPLETALK
#define TDI_ADDRESS_LENGTH_IPX
#define TDI_ADDRESS_TYPE_NETBIOS
#define TDI_ADDRESS_LENGTH_IP
#define TDI_ADDRESS_TYPE_IPX
#define TDI_ADDRESS_TYPE_IP
#define TDI_ADDRESS_TYPE_APPLETALK
#define TDI_ADDRESS_LENGTH_NETBIOS
NTSTATUS TdiBuildNullConnectionInfo(PTDI_CONNECTION_INFORMATION *ConnectionInfo, ULONG Type)
UINT TdiAddressSizeFromType(UINT AddressType)
NTSTATUS TdiBuildConnectionInfoInPlace(PTDI_CONNECTION_INFORMATION ConnectionInfo, PTRANSPORT_ADDRESS Address)
UINT TaLengthOfTransportAddress(PTRANSPORT_ADDRESS Addr)
UINT TaLengthOfTransportAddressByType(UINT AddressType)
VOID TaCopyTransportAddressInPlace(PTRANSPORT_ADDRESS Target, PTRANSPORT_ADDRESS Source)
NTSTATUS TdiBuildNullConnectionInfoInPlace(PTDI_CONNECTION_INFORMATION ConnInfo, ULONG Type)
NTSTATUS TdiBuildConnectionInfo(PTDI_CONNECTION_INFORMATION *ConnectionInfo, PTRANSPORT_ADDRESS Address)
NTSTATUS TdiBuildNullTransportAddressInPlace(PTRANSPORT_ADDRESS A, UINT AddressType)
PTRANSPORT_ADDRESS TaBuildNullTransportAddress(UINT AddressType)
UINT TaLengthOfAddress(PTA_ADDRESS Addr)
PTRANSPORT_ADDRESS TaCopyTransportAddress(PTRANSPORT_ADDRESS OtherAddress)
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
#define STATUS_INVALID_PARAMETER
#define STATUS_INSUFFICIENT_RESOURCES