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