TA_ADDRESS structure
The TA_ADDRESS structure defines a single transport address of a specific type, for example, NetBIOS.
Syntax
typedef struct _TA_ADDRESS {
USHORT AddressLength;
USHORT AddressType;
UCHAR Address[1];
} TA_ADDRESS, *PTA_ADDRESS;
Members
AddressLength
Specifies the number of bytes in an address of the specified AddressType.For example, each NetBIOS-type address is TDI_ADDRESS_LENGTH_NETBIOS bytes in length.
AddressType
Specifies the type of the transport address. The system defines symbolic constants for possible address types, some corresponding to Windows Sockets values and some extensions defined by TDI. Defined address types include the following:TDI_ADDRESS_TYPE_IP
Internetwork: UDP, TCP, and so onTDI_ADDRESS_TYPE_APPLETALK
AppleTalk address.TDI_ADDRESS_TYPE_NETBIOS
NetBIOS address.TDI_ADDRESS_TYPE_NETBIOS_EX
Extended NetBIOS address.TDI_ADDRESS_TYPE_IPX
NetWare IPX.TDI_ADDRESS_TYPE_VNS
Banyan VINES IP address.TDI_ADDRESS_TYPE_8022
802.2 netcard-level address; TDI only.TDI_ADDRESS_TYPE_NETONE
Net/One address. TDI only.TDI_ADDRESS_TYPE_NS
Xerox NS protocols.TDI_ADDRESS_TYPE_OSI_TSAP
OSI, TSAP address; TDI only.
The following are defined for future use:
TDI_ADDRESS_TYPE_IMPLINK
Arpanet implink address.TDI_ADDRESS_TYPE_PUP
Pup protocols, such as BSP.TDI_ADDRESS_TYPE_CHAOS
MIT CHAOS protocols.TDI_ADDRESS_TYPE_NBS
NBS protocols.TDI_ADDRESS_TYPE_ECMA
European computer manufacturers association protocols.TDI_ADDRESS_TYPE_DATAKIT
Datakit protocols.TDI_ADDRESS_TYPE_CCITT
CCITT protocols.TDI_ADDRESS_TYPE_SNA
IBM SNA.TDI_ADDRESS_TYPE_DECnet
DECnet.TDI_ADDRESS_TYPE_DLI
Direct data-link interface (DLC).TDI_ADDRESS_TYPE_LAT
LAT.TDI_ADDRESS_TYPE_HYLINK
NSC Hyperchannel.TDI_ADDRESS_TYPE_UNIX
Local to host, for pipes, portals, and so onTDI_ADDRESS_TYPE_UNSPEC
Unspecified type.
Address
Specifies a variable-sized array containing the transport address. The structure of the contents depends on the specified AddressType.
Remarks
A TRANSPORT_ADDRESS structure contains a specified number of elements of type TA_ADDRESS.
For certain TDI_ADDRESS_TYPE_XXX values, transports and their kernel-mode clients can use system-defined substructures for Address and corresponding TDI_ADDRESS_LENGTH_XXX constants for AddressLength.
For convenience, TDI defines TA_ADDRESS_XXX structures that specify a single address of certain TDI_ADDRESS_TYPE_XXX types.
Note The TDI feature is deprecated and will be removed in future versions of Microsoft Windows. Depending on how you use TDI, use either the Winsock Kernel (WSK) or Windows Filtering Platform (WFP). For more information about WFP and WSK, see Windows Filtering Platform and Winsock Kernel. For a Windows Core Networking blog entry about WSK and TDI, see Introduction to Winsock Kernel (WSK).
Requirements
Header |
Tdi.h (include Tdi.h or TdiKrnl.h) |
See also