xref: /csrg-svn/share/man/man5/networks.5 (revision 49646)
1*49646Scael.\" Copyright (c) 1983, 1991 The Regents of the University of California.
236757Sbostic.\" All rights reserved.
320835Smckusick.\"
4*49646Scael.\" %sccs.include.redist.roff%
520835Smckusick.\"
6*49646Scael.\"     @(#)networks.5	6.5 (Berkeley) 05/10/91
736757Sbostic.\"
8*49646Scael.Dd
9*49646Scael.Dt NETWORKS 5
10*49646Scael.Os BSD 4.2
11*49646Scael.Sh NAME
12*49646Scael.Nm networks
13*49646Scael.Nd network name data base
14*49646Scael.Sh DESCRIPTION
1520835SmckusickThe
16*49646Scael.Xr networks
1720835Smckusickfile contains information regarding
18*49646Scaelthe known networks which comprise the
19*49646Scael.Tn DARPA
20*49646ScaelInternet.
2120835SmckusickFor each network a single line should be present with the following information:
22*49646Scael.Bd -unfilled -offset indent
2320835Smckusickofficial network name
2420835Smckusicknetwork number
2520835Smckusickaliases
26*49646Scael.Ed
27*49646Scael.Pp
2820835SmckusickItems are separated by any number of blanks and/or tab characters.
2920835SmckusickA ``#'' indicates the beginning of a comment; characters up to the end of
3020835Smckusickthe line are not interpreted by routines which search the file.
3120835SmckusickThis file is normally created from the official network data base
32*49646Scaelmaintained at the Network Information Control Center
33*49646Scael.Pq Tn NIC ,
34*49646Scaelthough local
3520835Smckusickchanges may be required to bring it up to date regarding unofficial aliases
3620835Smckusickand/or unknown networks.
37*49646Scael.Pp
3820835SmckusickNetwork number may be specified in the conventional
39*49646Scael``.''  (dot) notation using the
40*49646Scael.Xr inet_network 3
41*49646Scaelroutine
4220835Smckusickfrom the Internet address manipulation library,
43*49646Scael.Xr inet 3 .
4420835SmckusickNetwork names may contain any printable character other than a field
4520835Smckusickdelimiter, newline, or comment character.
46*49646Scael.Sh FILES
47*49646Scael.Bl -tag -width /etc/networks -compact
48*49646Scael.It Pa /etc/networks
49*49646ScaelThe
50*49646Scael.Nm networks
51*49646Scaelfile resides in
52*49646Scael.Pa /etc .
53*49646Scael.El
54*49646Scael.Sh SEE ALSO
55*49646Scael.Xr getnetent 3
56*49646Scael.Sh BUGS
5720835SmckusickA name server should be used instead of a static file.
58*49646Scael.Sh HISTORY
59*49646ScaelThe
60*49646Scael.Nm
61*49646Scaelfile format appeared in
62*49646Scael.Bx 4.2 .
63