man-pages/man5/protocols.5.html
2021-03-31 01:06:50 +01:00

124 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of PROTOCOLS</TITLE>
</HEAD><BODY>
<H1>PROTOCOLS</H1>
Section: Linux Programmer's Manual (5)<BR>Updated: 2012-08-05<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
protocols - protocols definition file
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
This file is a plain ASCII file, describing the various DARPA internet
protocols that are available from the TCP/IP subsystem.
It should be
consulted instead of using the numbers in the ARPA include files, or,
even worse, just guessing them.
These numbers will occur in the
protocol field of any IP header.
<P>
Keep this file untouched since changes would result in incorrect IP
packages.
Protocol numbers and names are specified by the IANA
(Internet Assigned Numbers Authority).
<P>
Each line is of the following format:
<P>
<DL COMPACT><DT id="1"><DD>
<I>protocol number aliases ...</I>
</DL>
<P>
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.
<P>
The field descriptions are:
<DL COMPACT>
<DT id="2"><I>protocol</I>
<DD>
the native name for the protocol.
For example
<I>ip</I>,
<I>tcp</I>,
or
<I>udp</I>.
<DT id="3"><I>number</I>
<DD>
the official number for this protocol as it will appear within the IP
header.
<DT id="4"><I>aliases</I>
<DD>
optional aliases for the protocol.
</DL>
<P>
This file might be distributed over a network using a network-wide
naming service like Yellow Pages/NIS or BIND/Hesiod.
<A NAME="lbAD">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="5"><I>/etc/protocols</I>
<DD>
The protocols definition file.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?3+getprotoent">getprotoent</A></B>(3)
<P>
<A NAME="lbAF">&nbsp;</A>
<H2>COLOPHON</H2>
This page is part of release 5.05 of the Linux
<I>man-pages</I>
project.
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAD">FILES</A><DD>
<DT id="9"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="10"><A HREF="#lbAF">COLOPHON</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:04 GMT, March 31, 2021
</BODY>
</HTML>