xref: /original-bsd/share/man/man5/protocols.5 (revision c3e32dec)
1.\" Copyright (c) 1983, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"     @(#)protocols.5	8.1 (Berkeley) 06/05/93
7.\"
8.Dd
9.Dt PROTOCOLS 5
10.Os BSD 4.2
11.Sh NAME
12.Nm protocols
13.Nd protocol name data base
14.Sh DESCRIPTION
15The
16.Nm protocols
17file contains information regarding the known protocols used in the
18.Tn DARPA
19Internet.  For each protocol a single line should be present
20with the following information:
21.Bd -unfilled -offset indent
22official protocol name
23protocol number
24aliases
25.Ed
26.Pp
27Items are separated by any number of blanks and/or
28tab characters.  A ``#'' indicates the beginning of
29a comment; characters up to the end of the line are
30not interpreted by routines which search the file.
31.Pp
32Protocol names may contain any printable
33character other than a field delimiter, newline,
34or comment character.
35.Sh FILES
36.Bl -tag -width /etc/protocols -compact
37.It Pa /etc/protocols
38The
39.Nm protocols
40file resides in
41.Pa /etc .
42.El
43.Sh SEE ALSO
44.Xr getprotoent 3
45.Sh BUGS
46A name server should be used instead of a static file.
47.Sh HISTORY
48The
49.Nm
50file format appeared in
51.Bx 4.2 .
52