protocols.5: Update the description of /etc/protocols

The reference to the "DARPA Internet" seems not quite
up to date in 2022, so move that to the HISTORY section.

Mention RFC 2780 and RFC 5237.

Obtained from:	NetBSD
MFC after:	3 days
This commit is contained in:
Gordon Bergling 2022-12-07 12:31:44 +01:00
parent 2518b1c742
commit 899edecdbe

View File

@ -28,7 +28,7 @@
.\" @(#)protocols.5 8.1 (Berkeley) 6/5/93 .\" @(#)protocols.5 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd June 5, 1993 .Dd December 7, 2020
.Dt PROTOCOLS 5 .Dt PROTOCOLS 5
.Os .Os
.Sh NAME .Sh NAME
@ -37,9 +37,8 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
file contains information regarding the known protocols used in the file contains information regarding the assigned protocol numbers
.Tn DARPA used by IPv4 and IPv6 to identify the next level protocol.
Internet.
For each protocol a single line should be present For each protocol a single line should be present
with the following information: with the following information:
.Bd -unfilled -offset indent .Bd -unfilled -offset indent
@ -67,10 +66,22 @@ file resides in
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr getprotoent 3 .Xr getprotoent 3
.Rs
.%R RFC 2780
.%D March 2000
.%T "IANA Allocation Guidelines For Values In the \
Internet Protocol and Related Headers"
.Re
.Rs
.%R RFC 5237
.%D February 2008
.%T "IANA Allocation Guidelines for the Protocol Field"
.Re
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
file format appeared in file format appeared in
.Bx 4.2 . .Bx 4.2 ,
describing the "known protocols used in the DARPA Internet".
.Sh BUGS .Sh BUGS
A name server should be used instead of a static file. A name server should be used instead of a static file.