2004-11-03 13:51:07 +00:00
|
|
|
.\" Copyright (c) 1995 Martin Schulze <joey@infodrom.north.de>
|
|
|
|
.\"
|
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it under the terms of the GNU General Public License as
|
|
|
|
.\" published by the Free Software Foundation; either version 2 of
|
|
|
|
.\" the License, or (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" The GNU General Public License's references to "object code"
|
|
|
|
.\" and "executables" are to be interpreted as the output of any
|
|
|
|
.\" document formatting or typesetting system, including
|
|
|
|
.\" intermediate and printed output.
|
|
|
|
.\"
|
|
|
|
.\" This manual is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public
|
|
|
|
.\" License along with this manual; if not, write to the Free
|
|
|
|
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
|
|
|
|
.\" USA.
|
|
|
|
.\"
|
|
|
|
.\" 1995-10-18 Martin Schulze <joey@infodrom.north.de>
|
|
|
|
.\" * first released
|
|
|
|
.\" 2002-09-22 Seth W. Klein <sk@sethwklein.net>
|
|
|
|
.\" * protocol numbers are now assigned by the IANA
|
|
|
|
.\"
|
2008-09-23 08:51:43 +00:00
|
|
|
.TH PROTOCOLS 5 2008-09-23 "Linux" "Linux Programmer's Manual"
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH NAME
|
|
|
|
protocols \- the protocols definition file
|
|
|
|
.SH DESCRIPTION
|
|
|
|
This file is a plain ASCII file, describing the various DARPA internet
|
2007-04-12 22:42:49 +00:00
|
|
|
protocols that are available from the TCP/IP subsystem.
|
|
|
|
It should be
|
2004-11-03 13:51:07 +00:00
|
|
|
consulted instead of using the numbers in the ARPA include files, or,
|
2007-04-12 22:42:49 +00:00
|
|
|
even worse, just guessing them.
|
|
|
|
These numbers will occur in the
|
2008-09-23 08:56:51 +00:00
|
|
|
protocol field of any IP header.
|
2004-11-03 13:51:07 +00:00
|
|
|
|
2008-09-23 08:56:51 +00:00
|
|
|
Keep this file untouched since changes would result in incorrect IP
|
2007-04-12 22:42:49 +00:00
|
|
|
packages.
|
|
|
|
Protocol numbers and names are specified by the IANA
|
2004-11-03 13:51:07 +00:00
|
|
|
(Internet Assigned Numbers Authority).
|
|
|
|
.\" .. by the DDN Network Information Center.
|
|
|
|
|
|
|
|
Each line is of the following format:
|
|
|
|
|
|
|
|
.RS
|
|
|
|
.I protocol number aliases ...
|
|
|
|
.RE
|
|
|
|
|
|
|
|
where the fields are delimited by spaces or tabs.
|
|
|
|
Empty lines are ignored.
|
|
|
|
If a line contains a hash mark (#), the hash mark and the part
|
|
|
|
of the line following it are ignored.
|
|
|
|
|
|
|
|
The field descriptions are:
|
|
|
|
.TP
|
|
|
|
.I protocol
|
2007-04-12 22:42:49 +00:00
|
|
|
the native name for the protocol.
|
2008-09-23 08:56:51 +00:00
|
|
|
For example
|
|
|
|
.IR ip ,
|
|
|
|
.IR tcp ,
|
|
|
|
or
|
|
|
|
.IR udp .
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
.I number
|
2008-09-23 08:56:51 +00:00
|
|
|
the official number for this protocol as it will appear within the IP
|
2004-11-03 13:51:07 +00:00
|
|
|
header.
|
|
|
|
.TP
|
|
|
|
.I aliases
|
|
|
|
optional aliases for the protocol.
|
|
|
|
.LP
|
2008-03-11 12:50:45 +00:00
|
|
|
This file might be distributed over a network using a network-wide
|
2004-11-03 13:51:07 +00:00
|
|
|
naming service like Yellow Pages/NIS or BIND/Hesiod.
|
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
.I /etc/protocols
|
|
|
|
The protocols definition file.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR getprotoent (3)
|
|
|
|
|
|
|
|
http://www.iana.org/assignments/protocol-numbers
|