共用方式為


TDI_ADDRESS_NETONE structure

The TDI_ADDRESS_NETONE structure contains a Net/One address, packed and aligned correctly.

Syntax

typedef struct _TDI_ADDRESS_NETONE {
  USHORT NetoneNameType;
  UCHAR  NetoneName[20];
} TDI_ADDRESS_NETONE, *PTDI_ADDRESS_NETONE;

Members

  • NetoneNameType
    Specifies a Net/One name type as one of the following:

    • TDI_ADDRESS_NETONE_TYPE_UNIQUE
      A unique name.

    • TDI_ADDRESS_NETONE_TYPE_ROTORED
      A rotored name.

  • NetoneName
    Specifies the Net/One name.

Remarks

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

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

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