NetBIOS names and addresses
The definition (in /usr/include/xti.h)
of a NetBIOS transport address is:
struct nb_addr {
char nb_type;
char nb_name[NB_NAMELEN];
};
The value of nb_type is either NB_UNIQUE
or NB_GROUP,
and the value of NB_NAMELEN is 16.
The constants NB_UNIQUE,
NB_GROUP, and NB_NAMELEN
(NetBIOS name length)
are defined in xti.h.
A NetBIOS name consists of 16 alphanumeric
bytes. This address identifies a client or server process to the
LAN. When specifying NetBIOS names:
-
Do not set the first byte to zero (0x00).
-
Do not set the first byte to an asterisk, except to
designate a broadcast datagram destination.
For more information on broadcast datagrams, see
``Sending NetBIOS broadcast datagrams''.
-
Do not start with a company name or trademark.
-
Do not set the last byte in the range of
hexadecimal 0x00 - 0x1F inclusive
(the non-printing ASCII characters).
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004