OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man5 / protocols.5
1 .\" Copyright (c) 1995 Martin Schulze <joey@infodrom.north.de>
2 .\"
3 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
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
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
22 .\" %%%LICENSE_END
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 .\"
29 .TH PROTOCOLS 5 2012-08-05 "Linux" "Linux Programmer's Manual"
30 .SH NAME
31 protocols \- protocols definition file
32 .SH DESCRIPTION
33 This file is a plain ASCII file, describing the various DARPA internet
34 protocols that are available from the TCP/IP subsystem.
35 It should be
36 consulted instead of using the numbers in the ARPA include files, or,
37 even worse, just guessing them.
38 These numbers will occur in the
39 protocol field of any IP header.
40
41 Keep this file untouched since changes would result in incorrect IP
42 packages.
43 Protocol numbers and names are specified by the IANA
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:
59 .TP
60 .I protocol
61 the native name for the protocol.
62 For example
63 .IR ip ,
64 .IR tcp ,
65 or
66 .IR udp .
67 .TP
68 .I number
69 the official number for this protocol as it will appear within the IP
70 header.
71 .TP
72 .I aliases
73 optional aliases for the protocol.
74 .LP
75 This file might be distributed over a network using a network-wide
76 naming service like Yellow Pages/NIS or BIND/Hesiod.
77 .SH FILES
78 .TP
79 .I /etc/protocols
80 The protocols definition file.
81 .SH SEE ALSO
82 .BR getprotoent (3)
83
84 .UR http://www.iana.org\:/assignments\:/protocol-numbers
85 .UE
86 .SH COLOPHON
87 This page is part of release 3.68 of the Linux
88 .I man-pages
89 project.
90 A description of the project,
91 information about reporting bugs,
92 and the latest version of this page,
93 can be found at
94 \%http://www.kernel.org/doc/man\-pages/.