]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man/man5/protocols.5
man/, share/mk/: Move man*/ to man/
[thirdparty/man-pages.git] / man / man5 / protocols.5
CommitLineData
fea681da
MK
1.\" Copyright (c) 1995 Martin Schulze <joey@infodrom.north.de>
2.\"
e4a74ca8 3.\" SPDX-License-Identifier: GPL-2.0-or-later
fea681da
MK
4.\"
5.\" 1995-10-18 Martin Schulze <joey@infodrom.north.de>
6.\" * first released
7.\" 2002-09-22 Seth W. Klein <sk@sethwklein.net>
8.\" * protocol numbers are now assigned by the IANA
9.\"
4c1c5274 10.TH protocols 5 (date) "Linux man-pages (unreleased)"
fea681da 11.SH NAME
eebc6bfc 12protocols \- protocols definition file
fea681da
MK
13.SH DESCRIPTION
14This file is a plain ASCII file, describing the various DARPA internet
c13182ef
MK
15protocols that are available from the TCP/IP subsystem.
16It should be
fea681da 17consulted instead of using the numbers in the ARPA include files, or,
c13182ef
MK
18even worse, just guessing them.
19These numbers will occur in the
d394fbfc 20protocol field of any IP header.
c6d039a3 21.P
d394fbfc 22Keep this file untouched since changes would result in incorrect IP
c13182ef
MK
23packages.
24Protocol numbers and names are specified by the IANA
fea681da
MK
25(Internet Assigned Numbers Authority).
26.\" .. by the DDN Network Information Center.
c6d039a3 27.P
fea681da 28Each line is of the following format:
c6d039a3 29.P
fea681da 30.RS
21259e57 31.I protocol number aliases .\|.\|.
fea681da 32.RE
c6d039a3 33.P
fea681da
MK
34where the fields are delimited by spaces or tabs.
35Empty lines are ignored.
36If a line contains a hash mark (#), the hash mark and the part
37of the line following it are ignored.
c6d039a3 38.P
fea681da 39The field descriptions are:
fea681da
MK
40.TP
41.I protocol
c13182ef 42the native name for the protocol.
d394fbfc
MK
43For example
44.IR ip ,
45.IR tcp ,
46or
47.IR udp .
fea681da
MK
48.TP
49.I number
d394fbfc 50the official number for this protocol as it will appear within the IP
fea681da
MK
51header.
52.TP
53.I aliases
54optional aliases for the protocol.
c6d039a3 55.P
046495ca 56This file might be distributed over a network using a network-wide
fea681da 57naming service like Yellow Pages/NIS or BIND/Hesiod.
fea681da
MK
58.SH FILES
59.TP
60.I /etc/protocols
61The protocols definition file.
47297adb 62.SH SEE ALSO
fea681da 63.BR getprotoent (3)
c6d039a3 64.P
5465ae95 65.UR http://www.iana.org\:/assignments\:/protocol\-numbers
608bf950 66.UE