TDI_ADDRESS_OSI_TSAP

tyepdef struct _TDI_ADDRESS_OSI_TSAP {

USHORT tp_addr_type;

USHORT tp_taddr_len;

USHORT tp_tsel_len;

UCHAR tp_addr[ISO_MAX_ADDR_LENGTH];

} TDI_ADDRESS_OSI_TSAP, *PTDI_ADDRESS_OSI_TSAP;

TDI_ADDRESS_OSI_TSAP contains an ISO TP4-compliant TSAP address, packed and aligned correctly.

Members

tp_addr_type

Specifies the type of the address, as one of the following:

ISO_HIERARCHICAL

The tp_addr contains both the transport selector and the network address.

ISO_NON_HIERARCHICAL

The tp_addr contains only the transport address. Such a specification must be translated into the transport selector and network address.

tp_taddr_len

Specifies the size in bytes of the transport address, which is <= 52 if tp_addr_type is ISO_NON_HIERARCHICAL or <= 32 otherwise.

tp_tsel_len

Specifies the size in bytes of the transport selector (<= 32) if tp_addr_type is ISO_HIERARCHICAL. Otherwise, this member is zero.

tp_addr

Specifies the address according to the given tp_addr_type. This member can be at most 64 bytes in length.

Comments

A TRANSPORT_ADDRESS structure contains a specified number of elements of type TA_ADDRESS. TDI_ADDRESS_OSI_TSAP defines the Address member of a TA_ADDRESS structure in which the AddressType is set to TDI_ADDRESS_TYPE_OSI_TSAP.

The AddressLength member(s) of the TA_ADDRESS substructure(s) can be set to the system-defined constant TDI_ADDRESS_LENGTH_OSI_TSAP.

See Also

TA_ADDRESS, TRANSPORT_ADDRESS