Line data Source code
1 : /*
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 :
17 : From http://www.iana.org/assignments/protocol-numbers
18 :
19 : PROTOCOL NUMBERS
20 :
21 : (last updated 18 October 2004)
22 :
23 : In the Internet Protocol version 4 (IPv4) [RFC791] there is a field,
24 : called "Protocol", to identify the next level protocol. This is an 8
25 : bit field. In Internet Protocol version 6 (IPv6) [RFC1883] this field
26 : is called the "Next Header" field.
27 : */
28 575 : ip_protocol (0, IP6_HOP_BY_HOP_OPTIONS)
29 575 : ip_protocol (1, ICMP)
30 575 : ip_protocol (2, IGMP)
31 575 : ip_protocol (3, GGP)
32 575 : ip_protocol (4, IP_IN_IP)
33 575 : ip_protocol (5, ST)
34 595 : ip_protocol (6, TCP)
35 575 : ip_protocol (7, CBT)
36 575 : ip_protocol (8, EGP)
37 575 : ip_protocol (9, IGP)
38 575 : ip_protocol (10, BBN_RCC_MON)
39 575 : ip_protocol (11, NVP_II)
40 575 : ip_protocol (12, PUP)
41 575 : ip_protocol (13, ARGUS)
42 575 : ip_protocol (14, EMCON)
43 575 : ip_protocol (15, XNET)
44 575 : ip_protocol (16, CHAOS)
45 670 : ip_protocol (17, UDP)
46 575 : ip_protocol (18, MUX)
47 575 : ip_protocol (19, DCN_MEAS)
48 575 : ip_protocol (20, HMP)
49 575 : ip_protocol (21, PRM)
50 575 : ip_protocol (22, XNS_IDP)
51 575 : ip_protocol (23, TRUNK_1)
52 575 : ip_protocol (24, TRUNK_2)
53 575 : ip_protocol (25, LEAF_1)
54 575 : ip_protocol (26, LEAF_2)
55 575 : ip_protocol (27, RDP)
56 575 : ip_protocol (28, IRTP)
57 575 : ip_protocol (29, ISO_TP4)
58 575 : ip_protocol (30, NETBLT)
59 575 : ip_protocol (31, MFE_NSP)
60 575 : ip_protocol (32, MERIT_INP)
61 575 : ip_protocol (33, SEP)
62 575 : ip_protocol (34, 3PC)
63 575 : ip_protocol (35, IDPR)
64 575 : ip_protocol (36, XTP)
65 575 : ip_protocol (37, DDP)
66 575 : ip_protocol (38, IDPR_CMTP)
67 575 : ip_protocol (39, TP)
68 575 : ip_protocol (40, IL)
69 575 : ip_protocol (41, IPV6)
70 575 : ip_protocol (42, SDRP)
71 575 : ip_protocol (43, IPV6_ROUTE)
72 575 : ip_protocol (44, IPV6_FRAGMENTATION)
73 575 : ip_protocol (45, IDRP)
74 575 : ip_protocol (46, RSVP)
75 575 : ip_protocol (47, GRE)
76 575 : ip_protocol (48, MHRP)
77 575 : ip_protocol (49, BNA)
78 575 : ip_protocol (50, IPSEC_ESP)
79 575 : ip_protocol (51, IPSEC_AH)
80 575 : ip_protocol (52, I_NLSP)
81 575 : ip_protocol (53, SWIPE)
82 575 : ip_protocol (54, NARP)
83 575 : ip_protocol (55, MOBILE)
84 575 : ip_protocol (56, TLSP)
85 575 : ip_protocol (57, SKIP)
86 575 : ip_protocol (58, ICMP6)
87 575 : ip_protocol (59, IP6_NONXT)
88 575 : ip_protocol (60, IP6_DESTINATION_OPTIONS)
89 575 : ip_protocol (62, CFTP)
90 575 : ip_protocol (64, SAT_EXPAK)
91 575 : ip_protocol (65, KRYPTOLAN)
92 575 : ip_protocol (66, RVD)
93 575 : ip_protocol (67, IPPC)
94 575 : ip_protocol (69, SAT_MON)
95 575 : ip_protocol (70, VISA)
96 575 : ip_protocol (71, IPCV)
97 575 : ip_protocol (72, CPNX)
98 575 : ip_protocol (73, CPHB)
99 575 : ip_protocol (74, WSN)
100 575 : ip_protocol (75, PVP)
101 575 : ip_protocol (76, BR_SAT_MON)
102 575 : ip_protocol (77, SUN_ND)
103 575 : ip_protocol (78, WB_MON)
104 575 : ip_protocol (79, WB_EXPAK)
105 575 : ip_protocol (80, ISO_IP)
106 575 : ip_protocol (81, VMTP)
107 575 : ip_protocol (82, SECURE_VMTP)
108 575 : ip_protocol (83, VINES)
109 575 : ip_protocol (84, TTP)
110 575 : ip_protocol (85, NSFNET_IGP)
111 575 : ip_protocol (86, DGP)
112 575 : ip_protocol (87, TCF)
113 580 : ip_protocol (88, EIGRP)
114 583 : ip_protocol (89, OSPF)
115 575 : ip_protocol (90, SPRITE_RPC)
116 575 : ip_protocol (91, LARP)
117 575 : ip_protocol (92, MTP)
118 575 : ip_protocol (93, AX)
119 575 : ip_protocol (94, IPIP)
120 575 : ip_protocol (95, MICP)
121 575 : ip_protocol (96, SCC_SP)
122 575 : ip_protocol (97, ETHERIP)
123 575 : ip_protocol (98, ENCAP)
124 575 : ip_protocol (100, GMTP)
125 575 : ip_protocol (101, IFMP)
126 575 : ip_protocol (102, PNNI)
127 575 : ip_protocol (103, PIM)
128 575 : ip_protocol (104, ARIS)
129 575 : ip_protocol (105, SCPS)
130 575 : ip_protocol (106, QNX)
131 575 : ip_protocol (107, A)
132 575 : ip_protocol (108, IPCOMP)
133 575 : ip_protocol (109, SNP)
134 575 : ip_protocol (110, COMPAQ_PEER)
135 575 : ip_protocol (111, IPX_IN_IP)
136 575 : ip_protocol (112, VRRP)
137 575 : ip_protocol (113, PGM)
138 575 : ip_protocol (115, L2TP)
139 575 : ip_protocol (116, DDX)
140 575 : ip_protocol (117, IATP)
141 575 : ip_protocol (118, STP)
142 575 : ip_protocol (119, SRP)
143 575 : ip_protocol (120, UTI)
144 575 : ip_protocol (121, SMP)
145 575 : ip_protocol (122, SM)
146 575 : ip_protocol (123, PTP)
147 575 : ip_protocol (124, ISIS)
148 575 : ip_protocol (125, FIRE)
149 575 : ip_protocol (126, CRTP)
150 575 : ip_protocol (127, CRUDP)
151 575 : ip_protocol (128, SSCOPMCE)
152 575 : ip_protocol (129, IPLT)
153 575 : ip_protocol (130, SPS)
154 575 : ip_protocol (131, PIPE)
155 575 : ip_protocol (132, SCTP)
156 575 : ip_protocol (133, FC)
157 575 : ip_protocol (134, RSVP_E2E_IGNORE)
158 575 : ip_protocol (135, MOBILITY)
159 575 : ip_protocol (136, UDP_LITE)
160 575 : ip_protocol (137, MPLS_IN_IP)
161 575 : ip_protocol (138, MANET)
162 575 : ip_protocol (139, HIP)
163 575 : ip_protocol (140, SHIM6)
164 575 : ip_protocol (141, WESP)
165 575 : ip_protocol (142, ROHC)
166 575 : ip_protocol (143, IP6_ETHERNET)
167 :
168 : /* unassigned 144 - 252 */
169 :
170 575 : ip_protocol (253, EXP1)
171 575 : ip_protocol (254, EXP2)
172 575 : ip_protocol (255, RESERVED)
173 :
|