xref: /freebsd/lib/libc/net/protocols (revision e3fa020202d8e040242016bda275dde83c058549)
103452a49SBrad Davis#
203452a49SBrad Davis# Internet protocols
303452a49SBrad Davis# See also http://www.iana.org/assignments/protocol-numbers
403452a49SBrad Davis#
503452a49SBrad Davisip	0	IP		# internet protocol, pseudo protocol number
603452a49SBrad Davis#hopopt	0	HOPOPT		# hop-by-hop options for ipv6
703452a49SBrad Davisicmp	1	ICMP		# internet control message protocol
803452a49SBrad Davisigmp	2	IGMP		# internet group management protocol
903452a49SBrad Davisggp	3	GGP		# gateway-gateway protocol
1003452a49SBrad Davisipencap	4	IP-ENCAP	# IP encapsulated in IP (officially ``IP'')
1103452a49SBrad Davisst2	5	ST2		# ST2 datagram mode (RFC 1819) (officially ``ST'')
1203452a49SBrad Davistcp	6	TCP		# transmission control protocol
1303452a49SBrad Daviscbt	7	CBT		# CBT, Tony Ballardie <A.Ballardie@cs.ucl.ac.uk>
1403452a49SBrad Davisegp	8	EGP		# exterior gateway protocol
1503452a49SBrad Davisigp	9	IGP		# any private interior gateway (Cisco: for IGRP)
1603452a49SBrad Davisbbn-rcc	10	BBN-RCC-MON	# BBN RCC Monitoring
1703452a49SBrad Davisnvp	11	NVP-II		# Network Voice Protocol
1803452a49SBrad Davispup	12	PUP		# PARC universal packet protocol
19*e3fa0202SYoshihiro Takahashiargus	13	ARGUS		# ARGUS (deprecated)
2003452a49SBrad Davisemcon	14	EMCON		# EMCON
2103452a49SBrad Davisxnet	15	XNET		# Cross Net Debugger
2203452a49SBrad Davischaos	16	CHAOS		# Chaos
2303452a49SBrad Davisudp	17	UDP		# user datagram protocol
2403452a49SBrad Davismux	18	MUX		# Multiplexing protocol
2503452a49SBrad Davisdcn	19	DCN-MEAS	# DCN Measurement Subsystems
2603452a49SBrad Davishmp	20	HMP		# host monitoring protocol
2703452a49SBrad Davisprm	21	PRM		# packet radio measurement protocol
2803452a49SBrad Davisxns-idp	22	XNS-IDP		# Xerox NS IDP
2903452a49SBrad Davistrunk-1	23	TRUNK-1		# Trunk-1
3003452a49SBrad Davistrunk-2	24	TRUNK-2		# Trunk-2
3103452a49SBrad Davisleaf-1	25	LEAF-1		# Leaf-1
3203452a49SBrad Davisleaf-2	26	LEAF-2		# Leaf-2
3303452a49SBrad Davisrdp	27	RDP		# "reliable datagram" protocol
3403452a49SBrad Davisirtp	28	IRTP		# Internet Reliable Transaction Protocol
3503452a49SBrad Davisiso-tp4	29	ISO-TP4		# ISO Transport Protocol Class 4
3603452a49SBrad Davisnetblt	30	NETBLT		# Bulk Data Transfer Protocol
3703452a49SBrad Davismfe-nsp	31	MFE-NSP		# MFE Network Services Protocol
3803452a49SBrad Davismerit-inp	32	MERIT-INP	# MERIT Internodal Protocol
3903452a49SBrad Davisdccp	33	DCCP		# Datagram Congestion Control Protocol
4003452a49SBrad Davis3pc	34	3PC		# Third Party Connect Protocol
4103452a49SBrad Davisidpr	35	IDPR		# Inter-Domain Policy Routing Protocol
4203452a49SBrad Davisxtp	36	XTP		# Xpress Transfer Protocol
4303452a49SBrad Davisddp	37	DDP		# Datagram Delivery Protocol
4403452a49SBrad Davisidpr-cmtp	38	IDPR-CMTP	# IDPR Control Message Transport Proto
4503452a49SBrad Davistp++	39	TP++		# TP++ Transport Protocol
4603452a49SBrad Davisil	40	IL		# IL Transport Protocol
4703452a49SBrad Davisipv6	41	IPV6		# ipv6
4803452a49SBrad Davissdrp	42	SDRP		# Source Demand Routing Protocol
4903452a49SBrad Davisipv6-route	43	IPV6-ROUTE	# routing header for ipv6
5003452a49SBrad Davisipv6-frag	44	IPV6-FRAG	# fragment header for ipv6
5103452a49SBrad Davisidrp	45	IDRP		# Inter-Domain Routing Protocol
5203452a49SBrad Davisrsvp	46	RSVP		# Resource ReSerVation Protocol
5303452a49SBrad Davisgre	47	GRE		# Generic Routing Encapsulation
5403452a49SBrad Davisdsr	48	DSR		# Dynamic Source Routing Protocol
5503452a49SBrad Davisbna	49	BNA		# BNA
5603452a49SBrad Davisesp	50	ESP		# encapsulating security payload
5703452a49SBrad Davisah	51	AH		# authentication header
5803452a49SBrad Davisi-nlsp	52	I-NLSP		# Integrated Net Layer Security TUBA
59*e3fa0202SYoshihiro Takahashiswipe	53	SWIPE		# IP with Encryption (deprecated)
6003452a49SBrad Davisnarp	54	NARP		# NBMA Address Resolution Protocol
6103452a49SBrad Davismobile	55	MOBILE		# IP Mobility
6203452a49SBrad Davistlsp	56	TLSP		# Transport Layer Security Protocol
6303452a49SBrad Davisskip	57	SKIP		# SKIP
6403452a49SBrad Davisipv6-icmp	58	IPV6-ICMP	icmp6	# ICMP for IPv6
6503452a49SBrad Davisipv6-nonxt	59	IPV6-NONXT	# no next header for ipv6
6603452a49SBrad Davisipv6-opts	60	IPV6-OPTS	# destination options for ipv6
6703452a49SBrad Davis#	61			# any host internal protocol
6803452a49SBrad Daviscftp	62	CFTP		# CFTP
6903452a49SBrad Davis#	63			# any local network
7003452a49SBrad Davissat-expak	64	SAT-EXPAK	# SATNET and Backroom EXPAK
7103452a49SBrad Daviskryptolan	65	KRYPTOLAN	# Kryptolan
7203452a49SBrad Davisrvd	66	RVD		# MIT Remote Virtual Disk Protocol
7303452a49SBrad Davisippc	67	IPPC		# Internet Pluribus Packet Core
7403452a49SBrad Davis#	68			# any distributed filesystem
7503452a49SBrad Davissat-mon	69	SAT-MON		# SATNET Monitoring
7603452a49SBrad Davisvisa	70	VISA		# VISA Protocol
7703452a49SBrad Davisipcv	71	IPCV		# Internet Packet Core Utility
7803452a49SBrad Daviscpnx	72	CPNX		# Computer Protocol Network Executive
7903452a49SBrad Daviscphb	73	CPHB		# Computer Protocol Heart Beat
8003452a49SBrad Daviswsn	74	WSN		# Wang Span Network
8103452a49SBrad Davispvp	75	PVP		# Packet Video Protocol
8203452a49SBrad Davisbr-sat-mon	76	BR-SAT-MON	# Backroom SATNET Monitoring
8303452a49SBrad Davissun-nd	77	SUN-ND		# SUN ND PROTOCOL-Temporary
8403452a49SBrad Daviswb-mon	78	WB-MON		# WIDEBAND Monitoring
8503452a49SBrad Daviswb-expak	79	WB-EXPAK	# WIDEBAND EXPAK
8603452a49SBrad Davisiso-ip	80	ISO-IP		# ISO Internet Protocol
8703452a49SBrad Davisvmtp	81	VMTP		# Versatile Message Transport
8803452a49SBrad Davissecure-vmtp	82	SECURE-VMTP	# SECURE-VMTP
8903452a49SBrad Davisvines	83	VINES		# VINES
9003452a49SBrad Davisttp	84	TTP		# TTP
9103452a49SBrad Davis#iptm	84	IPTM		# Protocol Internet Protocol Traffic
9203452a49SBrad Davisnsfnet-igp	85	NSFNET-IGP	# NSFNET-IGP
9303452a49SBrad Davisdgp	86	DGP		# Dissimilar Gateway Protocol
9403452a49SBrad Davistcf	87	TCF		# TCF
9503452a49SBrad Daviseigrp	88	EIGRP		# Enhanced Interior Routing Protocol (Cisco)
9603452a49SBrad Davisospf	89	OSPFIGP		# Open Shortest Path First IGP
9703452a49SBrad Davissprite-rpc	90	Sprite-RPC	# Sprite RPC Protocol
9803452a49SBrad Davislarp	91	LARP		# Locus Address Resolution Protocol
9903452a49SBrad Davismtp	92	MTP		# Multicast Transport Protocol
10003452a49SBrad Davisax.25	93	AX.25		# AX.25 Frames
10103452a49SBrad Davisipip	94	IPIP		# Yet Another IP encapsulation
102*e3fa0202SYoshihiro Takahashimicp	95	MICP		# Mobile Internetworking Control Pro. (deprecated)
10303452a49SBrad Davisscc-sp	96	SCC-SP		# Semaphore Communications Sec. Pro.
10403452a49SBrad Davisetherip	97	ETHERIP		# Ethernet-within-IP Encapsulation
10503452a49SBrad Davisencap	98	ENCAP		# Yet Another IP encapsulation
10603452a49SBrad Davis#	99			# any private encryption scheme
10703452a49SBrad Davisgmtp	100	GMTP		# GMTP
10803452a49SBrad Davisifmp	101	IFMP		# Ipsilon Flow Management Protocol
10903452a49SBrad Davispnni	102	PNNI		# PNNI over IP
11003452a49SBrad Davispim	103	PIM		# Protocol Independent Multicast
11103452a49SBrad Davisaris	104	ARIS		# ARIS
11203452a49SBrad Davisscps	105	SCPS		# SCPS
11303452a49SBrad Davisqnx	106	QNX		# QNX
11403452a49SBrad Davisa/n	107	A/N		# Active Networks
11503452a49SBrad Davisipcomp	108	IPComp		# IP Payload Compression Protocol
11603452a49SBrad Davissnp	109	SNP		# Sitara Networks Protocol
11703452a49SBrad Daviscompaq-peer	110	Compaq-Peer	# Compaq Peer Protocol
11803452a49SBrad Davisipx-in-ip	111	IPX-in-IP	# IPX in IP
11903452a49SBrad Daviscarp	112	CARP	vrrp		# Common Address Redundancy Protocol
12003452a49SBrad Davispgm	113	PGM		# PGM Reliable Transport Protocol
12103452a49SBrad Davis#	114			# any 0-hop protocol
12203452a49SBrad Davisl2tp	115	L2TP		# Layer Two Tunneling Protocol
12303452a49SBrad Davisddx	116	DDX		# D-II Data Exchange
12403452a49SBrad Davisiatp	117	IATP		# Interactive Agent Transfer Protocol
12503452a49SBrad Davisstp	118	STP		# Schedule Transfer Protocol
12603452a49SBrad Davissrp	119	SRP		# SpectraLink Radio Protocol
12703452a49SBrad Davisuti	120	UTI		# UTI
12803452a49SBrad Davissmp	121	SMP		# Simple Message Protocol
129*e3fa0202SYoshihiro Takahashism	122	SM		# SM (deprecated)
13003452a49SBrad Davisptp	123	PTP		# Performance Transparency Protocol
13103452a49SBrad Davisisis	124	ISIS		# ISIS over IPv4
13203452a49SBrad Davisfire	125	FIRE
13303452a49SBrad Daviscrtp	126	CRTP		# Combat Radio Transport Protocol
13403452a49SBrad Daviscrudp	127	CRUDP		# Combat Radio User Datagram
13503452a49SBrad Davissscopmce	128	SSCOPMCE
13603452a49SBrad Davisiplt	129	IPLT
13703452a49SBrad Davissps	130	SPS		# Secure Packet Shield
13803452a49SBrad Davispipe	131	PIPE		# Private IP Encapsulation within IP
13903452a49SBrad Davissctp	132	SCTP		# Stream Control Transmission Protocol
14003452a49SBrad Davisfc	133	FC		# Fibre Channel
14103452a49SBrad Davisrsvp-e2e-ignore	134	RSVP-E2E-IGNORE	# Aggregation of RSVP for IP reservations
14203452a49SBrad Davismobility-header	135	Mobility-Header	# Mobility Support in IPv6
14303452a49SBrad Davisudplite	136	UDPLite		# The UDP-Lite Protocol
14403452a49SBrad Davismpls-in-ip	137	MPLS-IN-IP	# Encapsulating MPLS in IP
14503452a49SBrad Davismanet	138	MANET		# MANET Protocols (RFC5498)
14603452a49SBrad Daviship	139	HIP		# Host Identity Protocol (RFC5201)
14703452a49SBrad Davisshim6	140	SHIM6		# Shim6 Protocol (RFC5533)
14803452a49SBrad Daviswesp	141	WESP		# Wrapped Encapsulating Security Payload (RFC5840)
14903452a49SBrad Davisrohc	142	ROHC		# Robust Header Compression (RFC5858)
150*e3fa0202SYoshihiro Takahashiethernet	143	Ethernet	# Ethernet (RFC8986)
151*e3fa0202SYoshihiro Takahashiaggfrag	144	AGGFRAG		# AGGFRAG encapsulation payload for ESP (RFC9347)
152*e3fa0202SYoshihiro Takahashinsh	145	NSH		# Network Service Header (RFC9491)
153*e3fa0202SYoshihiro Takahashihoma	146	Homa		# Homa
154*e3fa0202SYoshihiro Takahashibit-emu	147	BIT-EMU		# Bit-stream Emulation (RFC9801)
155*e3fa0202SYoshihiro Takahashi#	148-252			# Unassigned
156*e3fa0202SYoshihiro Takahashipfsync	240	PFSYNC		# PF Synchronization [non IANA]
15703452a49SBrad Davis#	253-254			# Use for experimentation and testing (RFC3692)
15803452a49SBrad Davis#	255			# Reserved
15903452a49SBrad Davisdivert	258	DIVERT		# Divert pseudo-protocol [non IANA]
160