htable(1M) (TCP/IP) htable(1M)
NAME
htable - convert DoD Internet format host table
SYNOPSIS
htable filename
DESCRIPTION
htable converts a host table in the format specified by RFC 952 to
the format used by the network library routines. Three files are
created as a result of running htable: hosts, networks, and
gateways. The hosts file is used by the gethostent(3N) routines in
mapping host names to addresses. The networks file is used by the
getnetent(3N) routines in mapping network names to numbers. The
gateways file is used by the routing daemon in identifying passive
Internet gateways; see routed(1M) for an explanation.
If any of the files localhosts, localnetworks, or localgateways are
present in the current directory, the file's contents is prepended to
the output file without interpretation. This allows sites to
maintain local aliases and entries which are not normally present in
the master database.
htable is best used in conjunction with the gettable(1M) program
which retrieves the DoD Internet host table from a host.
FILES
localhosts
localnetworks
localgateways
SEE ALSO
gethostent(3N), getnetent(3N), gettable(1M), routed(1M).
Harrenstien, Ken, Mary Stahl, and Elizabeth Feinler, DoD Internet
Host Table Specification, RFC 952, Network Information Center, SRI
International, Menlo Park, Calif., October 1985.
NOTES
Does not properly calculate the gateways file.
7/91 Page 1