]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) 1995 Martin Schulze <joey@infodrom.north.de> |
2 | .\" | |
1dd72f9c | 3 | .\" %%%LICENSE_START(GPLv2+_DOC_FULL) |
fea681da MK |
4 | .\" This is free documentation; you can redistribute it and/or |
5 | .\" modify it under the terms of the GNU General Public License as | |
6 | .\" published by the Free Software Foundation; either version 2 of | |
7 | .\" the License, or (at your option) any later version. | |
8 | .\" | |
9 | .\" The GNU General Public License's references to "object code" | |
10 | .\" and "executables" are to be interpreted as the output of any | |
11 | .\" document formatting or typesetting system, including | |
12 | .\" intermediate and printed output. | |
13 | .\" | |
14 | .\" This manual is distributed in the hope that it will be useful, | |
15 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | .\" GNU General Public License for more details. | |
18 | .\" | |
19 | .\" You should have received a copy of the GNU General Public | |
c715f741 MK |
20 | .\" License along with this manual; if not, see |
21 | .\" <http://www.gnu.org/licenses/>. | |
6a8d8745 | 22 | .\" %%%LICENSE_END |
fea681da MK |
23 | .\" |
24 | .\" 1995-10-18 Martin Schulze <joey@infodrom.north.de> | |
25 | .\" * first released | |
26 | .\" 2002-09-22 Seth W. Klein <sk@sethwklein.net> | |
27 | .\" * protocol numbers are now assigned by the IANA | |
28 | .\" | |
608bf950 | 29 | .TH PROTOCOLS 5 2012-08-05 "Linux" "Linux Programmer's Manual" |
fea681da | 30 | .SH NAME |
eebc6bfc | 31 | protocols \- protocols definition file |
fea681da MK |
32 | .SH DESCRIPTION |
33 | This file is a plain ASCII file, describing the various DARPA internet | |
c13182ef MK |
34 | protocols that are available from the TCP/IP subsystem. |
35 | It should be | |
fea681da | 36 | consulted instead of using the numbers in the ARPA include files, or, |
c13182ef MK |
37 | even worse, just guessing them. |
38 | These numbers will occur in the | |
d394fbfc | 39 | protocol field of any IP header. |
fea681da | 40 | |
d394fbfc | 41 | Keep this file untouched since changes would result in incorrect IP |
c13182ef MK |
42 | packages. |
43 | Protocol numbers and names are specified by the IANA | |
fea681da MK |
44 | (Internet Assigned Numbers Authority). |
45 | .\" .. by the DDN Network Information Center. | |
46 | ||
47 | Each line is of the following format: | |
48 | ||
49 | .RS | |
50 | .I protocol number aliases ... | |
51 | .RE | |
52 | ||
53 | where the fields are delimited by spaces or tabs. | |
54 | Empty lines are ignored. | |
55 | If a line contains a hash mark (#), the hash mark and the part | |
56 | of the line following it are ignored. | |
57 | ||
58 | The field descriptions are: | |
fea681da MK |
59 | .TP |
60 | .I protocol | |
c13182ef | 61 | the native name for the protocol. |
d394fbfc MK |
62 | For example |
63 | .IR ip , | |
64 | .IR tcp , | |
65 | or | |
66 | .IR udp . | |
fea681da MK |
67 | .TP |
68 | .I number | |
d394fbfc | 69 | the official number for this protocol as it will appear within the IP |
fea681da MK |
70 | header. |
71 | .TP | |
72 | .I aliases | |
73 | optional aliases for the protocol. | |
74 | .LP | |
046495ca | 75 | This file might be distributed over a network using a network-wide |
fea681da | 76 | naming service like Yellow Pages/NIS or BIND/Hesiod. |
fea681da MK |
77 | .SH FILES |
78 | .TP | |
79 | .I /etc/protocols | |
80 | The protocols definition file. | |
47297adb | 81 | .SH SEE ALSO |
fea681da MK |
82 | .BR getprotoent (3) |
83 | ||
608bf950 SK |
84 | .UR http://www.iana.org\:/assignments\:/protocol-numbers |
85 | .UE |