blob: e6c1f6379b0f94305e13747b090dd10edae7f352 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001/*
2 * Copyright (c) 2015 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15/* Emacs editing mode -*-C-*-
16
17From http://www.iana.org/assignments/protocol-numbers
18
19PROTOCOL NUMBERS
20
21(last updated 18 October 2004)
22
23In the Internet Protocol version 4 (IPv4) [RFC791] there is a field,
24called "Protocol", to identify the next level protocol. This is an 8
25bit field. In Internet Protocol version 6 (IPv6) [RFC1883] this field
26is called the "Next Header" field.
27*/
28ip_protocol (0, IP6_HOP_BY_HOP_OPTIONS)
29ip_protocol (1, ICMP)
30ip_protocol (2, IGMP)
31ip_protocol (3, GGP)
32ip_protocol (4, IP_IN_IP)
33ip_protocol (5, ST)
34ip_protocol (6, TCP)
35ip_protocol (7, CBT)
36ip_protocol (8, EGP)
37ip_protocol (9, IGP)
38ip_protocol (10, BBN_RCC_MON)
39ip_protocol (11, NVP_II)
40ip_protocol (12, PUP)
41ip_protocol (13, ARGUS)
42ip_protocol (14, EMCON)
43ip_protocol (15, XNET)
44ip_protocol (16, CHAOS)
45ip_protocol (17, UDP)
46ip_protocol (18, MUX)
47ip_protocol (19, DCN_MEAS)
48ip_protocol (20, HMP)
49ip_protocol (21, PRM)
50ip_protocol (22, XNS_IDP)
51ip_protocol (23, TRUNK_1)
52ip_protocol (24, TRUNK_2)
53ip_protocol (25, LEAF_1)
54ip_protocol (26, LEAF_2)
55ip_protocol (27, RDP)
56ip_protocol (28, IRTP)
57ip_protocol (29, ISO_TP4)
58ip_protocol (30, NETBLT)
59ip_protocol (31, MFE_NSP)
60ip_protocol (32, MERIT_INP)
61ip_protocol (33, SEP)
62ip_protocol (34, 3PC)
63ip_protocol (35, IDPR)
64ip_protocol (36, XTP)
65ip_protocol (37, DDP)
66ip_protocol (38, IDPR_CMTP)
67ip_protocol (39, TP)
68ip_protocol (40, IL)
69ip_protocol (41, IPV6)
70ip_protocol (42, SDRP)
71ip_protocol (43, IPV6_ROUTE)
72ip_protocol (44, IPV6_FRAGMENTATION)
73ip_protocol (45, IDRP)
74ip_protocol (46, RSVP)
75ip_protocol (47, GRE)
76ip_protocol (48, MHRP)
77ip_protocol (49, BNA)
78ip_protocol (50, IPSEC_ESP)
79ip_protocol (51, IPSEC_AH)
80ip_protocol (52, I_NLSP)
81ip_protocol (53, SWIPE)
82ip_protocol (54, NARP)
83ip_protocol (55, MOBILE)
84ip_protocol (56, TLSP)
85ip_protocol (57, SKIP)
86ip_protocol (58, ICMP6)
87ip_protocol (59, IP6_NONXT)
88ip_protocol (60, IP6_DESTINATION_OPTIONS)
89ip_protocol (62, CFTP)
90ip_protocol (64, SAT_EXPAK)
91ip_protocol (65, KRYPTOLAN)
92ip_protocol (66, RVD)
93ip_protocol (67, IPPC)
94ip_protocol (69, SAT_MON)
95ip_protocol (70, VISA)
96ip_protocol (71, IPCV)
97ip_protocol (72, CPNX)
98ip_protocol (73, CPHB)
99ip_protocol (74, WSN)
100ip_protocol (75, PVP)
101ip_protocol (76, BR_SAT_MON)
102ip_protocol (77, SUN_ND)
103ip_protocol (78, WB_MON)
104ip_protocol (79, WB_EXPAK)
105ip_protocol (80, ISO_IP)
106ip_protocol (81, VMTP)
107ip_protocol (82, SECURE_VMTP)
108ip_protocol (83, VINES)
109ip_protocol (84, TTP)
110ip_protocol (85, NSFNET_IGP)
111ip_protocol (86, DGP)
112ip_protocol (87, TCF)
113ip_protocol (88, EIGRP)
114ip_protocol (89, OSPF)
115ip_protocol (90, SPRITE_RPC)
116ip_protocol (91, LARP)
117ip_protocol (92, MTP)
118ip_protocol (93, AX)
119ip_protocol (94, IPIP)
120ip_protocol (95, MICP)
121ip_protocol (96, SCC_SP)
122ip_protocol (97, ETHERIP)
123ip_protocol (98, ENCAP)
124ip_protocol (100, GMTP)
125ip_protocol (101, IFMP)
126ip_protocol (102, PNNI)
127ip_protocol (103, PIM)
128ip_protocol (104, ARIS)
129ip_protocol (105, SCPS)
130ip_protocol (106, QNX)
131ip_protocol (107, A)
132ip_protocol (108, IPCOMP)
133ip_protocol (109, SNP)
134ip_protocol (110, COMPAQ_PEER)
135ip_protocol (111, IPX_IN_IP)
136ip_protocol (112, VRRP)
137ip_protocol (113, PGM)
138ip_protocol (115, L2TP)
139ip_protocol (116, DDX)
140ip_protocol (117, IATP)
141ip_protocol (118, STP)
142ip_protocol (119, SRP)
143ip_protocol (120, UTI)
144ip_protocol (121, SMP)
145ip_protocol (122, SM)
146ip_protocol (123, PTP)
147ip_protocol (124, ISIS)
148ip_protocol (125, FIRE)
149ip_protocol (126, CRTP)
150ip_protocol (127, CRUDP)
151ip_protocol (128, SSCOPMCE)
152ip_protocol (129, IPLT)
153ip_protocol (130, SPS)
154ip_protocol (131, PIPE)
155ip_protocol (132, SCTP)
156ip_protocol (133, FC)
157ip_protocol (134, RSVP_E2E_IGNORE)
158ip_protocol (135, MOBILITY)
159ip_protocol (136, UDP_LITE)
160ip_protocol (137, MPLS_IN_IP)
Damjan Marion831d2382019-03-22 13:58:08 +0100161ip_protocol (138, MANET)
162ip_protocol (139, HIP)
163ip_protocol (140, SHIM6)
164ip_protocol (141, WESP)
165ip_protocol (142, ROHC)
166
167/* unassigned 143 - 252 */
168
169ip_protocol (253, EXP1)
170ip_protocol (254, EXP2)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700171ip_protocol (255, RESERVED)
172