Compartilhar via


TDI_ADDRESS_OSI_TSAP structure

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

Syntax

typedef 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;

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_HIERARCHICAL or <= 32 if tp_addr_type is ISO_NON_HIERARCHICAL.

  • 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.

Remarks

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.

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

TA_ADDRESS

TRANSPORT_ADDRESS

 

 

Send comments about this topic to Microsoft