1*8195e6e4Sjschauma.\" $NetBSD: protocols.5,v 1.8 2022/11/29 14:15:01 jschauma Exp $ 2b5930afcSjtc.\" 3b5930afcSjtc.\" Copyright (c) 1983, 1991, 1993 4b5930afcSjtc.\" The Regents of the University of California. All rights reserved. 561f28255Scgd.\" 661f28255Scgd.\" Redistribution and use in source and binary forms, with or without 761f28255Scgd.\" modification, are permitted provided that the following conditions 861f28255Scgd.\" are met: 961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright 1061f28255Scgd.\" notice, this list of conditions and the following disclaimer. 1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright 1261f28255Scgd.\" notice, this list of conditions and the following disclaimer in the 1361f28255Scgd.\" documentation and/or other materials provided with the distribution. 14075022b3Sagc.\" 3. Neither the name of the University nor the names of its contributors 1561f28255Scgd.\" may be used to endorse or promote products derived from this software 1661f28255Scgd.\" without specific prior written permission. 1761f28255Scgd.\" 1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2161f28255Scgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2861f28255Scgd.\" SUCH DAMAGE. 2961f28255Scgd.\" 30b5930afcSjtc.\" @(#)protocols.5 8.1 (Berkeley) 6/5/93 3161f28255Scgd.\" 32*8195e6e4Sjschauma.Dd November 27, 2022 3361f28255Scgd.Dt PROTOCOLS 5 347a1aea16Sgarbled.Os 3561f28255Scgd.Sh NAME 3661f28255Scgd.Nm protocols 3761f28255Scgd.Nd protocol name data base 3861f28255Scgd.Sh DESCRIPTION 3961f28255ScgdThe 4061f28255Scgd.Nm protocols 41*8195e6e4Sjschaumafile contains information regarding the assigned protocol numbers 42*8195e6e4Sjschaumaused by IPv4 and IPv6 to identify the next level protocol. 43*8195e6e4SjschaumaFor each protocol a single line should be present 4461f28255Scgdwith the following information: 4561f28255Scgd.Bd -unfilled -offset indent 4661f28255Scgdofficial protocol name 4761f28255Scgdprotocol number 4861f28255Scgdaliases 4961f28255Scgd.Ed 5061f28255Scgd.Pp 5161f28255ScgdItems are separated by any number of blanks and/or 5271e62d7dSlukemtab characters. A hash 5371e62d7dSlukem.Pq Dq \&# 5471e62d7dSlukemindicates the beginning of 5561f28255Scgda comment; characters up to the end of the line are 5661f28255Scgdnot interpreted by routines which search the file. 5761f28255Scgd.Pp 5861f28255ScgdProtocol names may contain any printable 5961f28255Scgdcharacter other than a field delimiter, newline, 6061f28255Scgdor comment character. 6161f28255Scgd.Sh FILES 6261f28255Scgd.Bl -tag -width /etc/protocols -compact 6361f28255Scgd.It Pa /etc/protocols 6461f28255ScgdThe 6561f28255Scgd.Nm protocols 6661f28255Scgdfile resides in 6761f28255Scgd.Pa /etc . 6861f28255Scgd.El 6961f28255Scgd.Sh SEE ALSO 7061f28255Scgd.Xr getprotoent 3 71*8195e6e4Sjschauma.Rs 72*8195e6e4Sjschauma.%R RFC 2780 73*8195e6e4Sjschauma.%D March 2000 74*8195e6e4Sjschauma.%T "IANA Allocation Guidelines For Values In the \ 75*8195e6e4SjschaumaInternet Protocol and Related Headers" 76*8195e6e4Sjschauma.Re 77*8195e6e4Sjschauma.Rs 78*8195e6e4Sjschauma.%R RFC 5237 79*8195e6e4Sjschauma.%D February 2008 80*8195e6e4Sjschauma.%T "IANA Allocation Guidelines for the Protocol Field" 81*8195e6e4Sjschauma.Re 8261f28255Scgd.Sh HISTORY 8361f28255ScgdThe 8461f28255Scgd.Nm 8561f28255Scgdfile format appeared in 86*8195e6e4Sjschauma.Bx 4.2 , 87*8195e6e4Sjschaumadescribing the "known protocols used in the DARPA 88*8195e6e4SjschaumaInternet". 8942704c41Swiz.Sh BUGS 9042704c41SwizA name server should be used instead of a static file. 91