database contains information regarding known 48-bit ethernet addresses
of hosts on an Internetwork.
The data is stored in a file called
in the following format:
Items are separated by any number of blanks and/or
A # at the start of a line indicates the
beginning of a comment that extends to the end of the line.
A + at
the start of a line will cause the
library functions to use data stored in the
maps in addition to the data in the
An ethernet address is expressed in
form as "x:x:x:x:x:x" where
is a hexadecimal value between 0x00 and 0xFF.
The address values
should be in network order.
Hostnames specified in the
database should correspond to entries in the
function in the standard C library can be used to break individual
lines in the
database into their individual components: a binary Ethernet address
stored as an
structure, and a hostname stored as a character string.