TA_ADDRESS

typedef struct _TA_ADDRESS {

USHORT AddressLength;

USHORT AddressType;

UCHAR Address[1];

} TA_ADDRESS, *PTA_ADDRESS;

TA_ADDRESS defines a single transport address of a specific type, for example, NetBIOS.

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, etc.

TDI_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, etc.

TDI_ADDRESS_TYPE_UNSPEC

Unspecified type.

Address[1]

Specifies a variable-sized array containing the transport address. The structure of the contents depends on the specified AddressType.

Comments

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.

See Also

TDI_ADDRESS_8022, TDI_ADDRESS_APPLETALK, TDI_ADDRESS_IP, TDI_ADDRESS_IPX, TDI_ADDRESS_NETBIOS, TDI_ADDRESS_NETBIOS_EX, TDI_ADDRESS_NETONE, TDI_ADDRESS_NS, TDI_ADDRESS_OSI_TSAP, TDI_ADDRESS_VNS, TRANSPORT_ADDRESS