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