Commit | Line | Data |
---|---|---|
3da09958 KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
80946118 | 5 | .\" @(#)networks.5 6.1 (Berkeley) %G% |
3da09958 | 6 | .\" |
80946118 | 7 | .TH NETWORKS 5 "" |
3da09958 KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | networks \- network name data base | |
11 | .SH DESCRIPTION | |
12 | The | |
13 | .I networks | |
14 | file contains information regarding | |
15 | the known networks which comprise the DARPA Internet. | |
16 | For each network a single line should be present with the following information: | |
17 | .HP 10 | |
18 | official network name | |
19 | .br | |
20 | .ns | |
21 | .HP 10 | |
22 | network number | |
23 | .br | |
24 | .ns | |
25 | .HP 10 | |
26 | aliases | |
27 | .PP | |
28 | Items are separated by any number of blanks and/or tab characters. | |
29 | A ``#'' indicates the beginning of a comment; characters up to the end of | |
30 | the line are not interpreted by routines which search the file. | |
31 | This file is normally created from the official network data base | |
32 | maintained at the Network Information Control Center (NIC), though local | |
33 | changes may be required to bring it up to date regarding unofficial aliases | |
34 | and/or unknown networks. | |
35 | .PP | |
36 | Network number may be specified in the conventional | |
37 | ``.'' notation using the \fIinet_network\fP() routine | |
38 | from the Internet address manipulation library, | |
39 | .IR inet (3N). | |
40 | Network names may contain any printable character other than a field | |
41 | delimiter, newline, or comment character. | |
42 | .SH FILES | |
43 | /etc/networks | |
44 | .SH "SEE ALSO" | |
45 | getnetent(3N) | |
46 | .SH BUGS | |
47 | A name server should be used instead of a static file. | |
48 | A binary indexed file format should be available for fast access. |