5.21 Network Address Types

The network address types are enumerated data types which are defined in the nwdsdefs.h and nwdsdefs.inc files.

Name

C Value

Description

NT_IPX

0

Internet Packet Exchange (IPX) network address

NT_IP

1

Internet Protocol (IP) network address

NT_SDLC

2

Synchronous Data Link Control (SDLC) address

NT_TOKENRING_ETHERNET

3

Token ring on Ethernet MAC address

NT_OSI

4

Open Systems Interconnection (OSI) address

NT_APPLETALK

5

AppleTalk network address

NT_NETBEUI

6

NetBIOS Extended User Interface (NetBEUI) address

NT_SOCKADDR

7

Socket address

NT_UDP

8

User Datagram Protocol (UDP) address

NT_TCP

9

Transmission Control Protocol (TCP) address

NT_UDP6

10

User Datagram Protocol (UDP), version 6, address

NT_TCP6

11

Transmission Control Protocol (TCP), version 6, address

NT_INTERNAL

12

Reserved

NT_URL

13

Uniform Resource Locator address (added for NDS 8)

NT_COUNT

14

Returns the maximum number of network address types defined.

The NT_URL address type was added so that LDAP referrals could be integrated with eDirectory and added to eDirectory referral lists. The address conforms to the format of all other network address types: uint32 for type, uint32 for the size in bytes of the address, and a data buffer for the address. Since a standard URL is a string with UTF-8 characters, the LDAP server in NDS 8 converts the URL address to Unicode and stores it in eDirectory as a Unicode string. See RFC 2044, RFC 2255, RFC 1738 for more information.