| 1 |
.\" Copyright 1995, Martin Schulze <[email protected]> |
| 2 |
.\" Copyright, the authors of the Linux man-pages project |
| 3 |
.\" |
| 4 |
.\" SPDX-License-Identifier: GPL-2.0-or-later |
| 5 |
.\" |
| 6 |
.TH protocols 5 2026-02-08 "Linux man-pages 6.18" |
| 7 |
.SH NAME |
| 8 |
protocols \- protocols definition file |
| 9 |
.SH DESCRIPTION |
| 10 |
This file is a plain ASCII file, describing the various DARPA internet |
| 11 |
protocols that are available from the TCP/IP subsystem. |
| 12 |
It should be |
| 13 |
consulted instead of using the numbers in the ARPA include files, or, |
| 14 |
even worse, just guessing them. |
| 15 |
These numbers will occur in the |
| 16 |
protocol field of any IP header. |
| 17 |
.P |
| 18 |
Keep this file untouched since changes would result in incorrect IP |
| 19 |
packages. |
| 20 |
Protocol numbers and names are specified by the IANA |
| 21 |
(Internet Assigned Numbers Authority). |
| 22 |
.\" by the DDN Network Information Center. |
| 23 |
.P |
| 24 |
Each line is of the following format: |
| 25 |
.P |
| 26 |
.RS |
| 27 |
.I protocol number aliases .\|.\|. |
| 28 |
.RE |
| 29 |
.P |
| 30 |
where the fields are delimited by spaces or tabs. |
| 31 |
Empty lines are ignored. |
| 32 |
If a line contains a hash mark (#), the hash mark and the part |
| 33 |
of the line following it are ignored. |
| 34 |
.P |
| 35 |
The field descriptions are: |
| 36 |
.TP |
| 37 |
.I protocol |
| 38 |
the native name for the protocol. |
| 39 |
For example |
| 40 |
.IR ip , |
| 41 |
.IR tcp , |
| 42 |
or |
| 43 |
.IR udp . |
| 44 |
.TP |
| 45 |
.I number |
| 46 |
the official number for this protocol as it will appear within the IP |
| 47 |
header. |
| 48 |
.TP |
| 49 |
.I aliases |
| 50 |
optional aliases for the protocol. |
| 51 |
.P |
| 52 |
This file might be distributed over a network using a network-wide |
| 53 |
naming service like Yellow Pages/NIS or BIND/Hesiod. |
| 54 |
.SH FILES |
| 55 |
.TP |
| 56 |
.I /etc/protocols |
| 57 |
The protocols definition file. |
| 58 |
.SH SEE ALSO |
| 59 |
.BR getprotoent (3) |
| 60 |
.P |
| 61 |
.UR http:\://www.iana.org\:/assignments\:/protocol\-numbers |
| 62 |
.UE |