Net Address

Is used for an internal number assigned by the network that specifies where a device (such as a server or workstation) can be located in the network cabling system. The address type indicates the type of communications protocol used (IPX, IP, etc.).

Syntax ID

#define SYN_NET_ADDRESS 12

LDAP Name

Tagged Data

ASN.1 ID

2.16.840.1.113719.1.1.5.1.12

API Data Structure

typedef struct 
{
   nuint32     addressType; 
   nuint32     addressLength; 
   pnuint8     address; 
} Net_Address_T;

Transfer Format

uint32     Length 
uint32     Transport Type 
uint32     Address Length = M 
BYTE [M]   Address

LDAP Format

String

taggedData = uint32string "#" octetstring

Binary

taggedData  ::= SEQUENCE {
   type   unit32,
   data   OCTET STRING
}

Matching Rules

For two values of Net Address to match, the type, address length, and value of the address must match. The address length is the number of bytes. The address itself is stored as a binary string. This string is the literal value of the address. To display it as a hexadecimal value, you must convert each 4-bit nibble to the correct character (0,1,2,3,...F).

Remarks

For help in understanding the syntax definition template, see Reading Syntax Definitions.

The address or transport type indicates the type of communications protocol used. For a list of flags defined for type, see Network Address Types (NDK: Novell eDirectory Core Services).

For IPX, the Address Length is 12. It includes the network number, host number, and socket, in that order. The address is in binary (not displayable) format.

Used In