1 /* Generated by ./xlat/gen.sh from ./xlat/ethernet_protocols.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined(ETH_P_802_3) || (defined(HAVE_DECL_ETH_P_802_3) && HAVE_DECL_ETH_P_802_3)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((ETH_P_802_3) == (0x0001), "ETH_P_802_3 != 0x0001");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define ETH_P_802_3 0x0001
12 #endif
13 #if defined(ETH_P_AX25) || (defined(HAVE_DECL_ETH_P_AX25) && HAVE_DECL_ETH_P_AX25)
14 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
15 static_assert((ETH_P_AX25) == (0x0002), "ETH_P_AX25 != 0x0002");
16 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
17 #else
18 # define ETH_P_AX25 0x0002
19 #endif
20 #if defined(ETH_P_ALL) || (defined(HAVE_DECL_ETH_P_ALL) && HAVE_DECL_ETH_P_ALL)
21 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
22 static_assert((ETH_P_ALL) == (0x0003), "ETH_P_ALL != 0x0003");
23 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
24 #else
25 # define ETH_P_ALL 0x0003
26 #endif
27 #if defined(ETH_P_802_2) || (defined(HAVE_DECL_ETH_P_802_2) && HAVE_DECL_ETH_P_802_2)
28 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
29 static_assert((ETH_P_802_2) == (0x0004), "ETH_P_802_2 != 0x0004");
30 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
31 #else
32 # define ETH_P_802_2 0x0004
33 #endif
34 #if defined(ETH_P_SNAP) || (defined(HAVE_DECL_ETH_P_SNAP) && HAVE_DECL_ETH_P_SNAP)
35 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
36 static_assert((ETH_P_SNAP) == (0x0005), "ETH_P_SNAP != 0x0005");
37 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
38 #else
39 # define ETH_P_SNAP 0x0005
40 #endif
41 #if defined(ETH_P_DDCMP) || (defined(HAVE_DECL_ETH_P_DDCMP) && HAVE_DECL_ETH_P_DDCMP)
42 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
43 static_assert((ETH_P_DDCMP) == (0x0006), "ETH_P_DDCMP != 0x0006");
44 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
45 #else
46 # define ETH_P_DDCMP 0x0006
47 #endif
48 #if defined(ETH_P_WAN_PPP) || (defined(HAVE_DECL_ETH_P_WAN_PPP) && HAVE_DECL_ETH_P_WAN_PPP)
49 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
50 static_assert((ETH_P_WAN_PPP) == (0x0007), "ETH_P_WAN_PPP != 0x0007");
51 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
52 #else
53 # define ETH_P_WAN_PPP 0x0007
54 #endif
55 #if defined(ETH_P_PPP_MP) || (defined(HAVE_DECL_ETH_P_PPP_MP) && HAVE_DECL_ETH_P_PPP_MP)
56 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
57 static_assert((ETH_P_PPP_MP) == (0x0008), "ETH_P_PPP_MP != 0x0008");
58 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
59 #else
60 # define ETH_P_PPP_MP 0x0008
61 #endif
62 #if defined(ETH_P_LOCALTALK) || (defined(HAVE_DECL_ETH_P_LOCALTALK) && HAVE_DECL_ETH_P_LOCALTALK)
63 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
64 static_assert((ETH_P_LOCALTALK) == (0x0009), "ETH_P_LOCALTALK != 0x0009");
65 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
66 #else
67 # define ETH_P_LOCALTALK 0x0009
68 #endif
69 #if defined(ETH_P_CAN) || (defined(HAVE_DECL_ETH_P_CAN) && HAVE_DECL_ETH_P_CAN)
70 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
71 static_assert((ETH_P_CAN) == (0x000C), "ETH_P_CAN != 0x000C");
72 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
73 #else
74 # define ETH_P_CAN 0x000C
75 #endif
76 #if defined(ETH_P_CANFD) || (defined(HAVE_DECL_ETH_P_CANFD) && HAVE_DECL_ETH_P_CANFD)
77 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
78 static_assert((ETH_P_CANFD) == (0x000D), "ETH_P_CANFD != 0x000D");
79 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
80 #else
81 # define ETH_P_CANFD 0x000D
82 #endif
83 #if defined(ETH_P_PPPTALK) || (defined(HAVE_DECL_ETH_P_PPPTALK) && HAVE_DECL_ETH_P_PPPTALK)
84 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
85 static_assert((ETH_P_PPPTALK) == (0x0010), "ETH_P_PPPTALK != 0x0010");
86 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
87 #else
88 # define ETH_P_PPPTALK 0x0010
89 #endif
90 #if defined(ETH_P_TR_802_2) || (defined(HAVE_DECL_ETH_P_TR_802_2) && HAVE_DECL_ETH_P_TR_802_2)
91 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
92 static_assert((ETH_P_TR_802_2) == (0x0011), "ETH_P_TR_802_2 != 0x0011");
93 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
94 #else
95 # define ETH_P_TR_802_2 0x0011
96 #endif
97 #if defined(ETH_P_MOBITEX) || (defined(HAVE_DECL_ETH_P_MOBITEX) && HAVE_DECL_ETH_P_MOBITEX)
98 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
99 static_assert((ETH_P_MOBITEX) == (0x0015), "ETH_P_MOBITEX != 0x0015");
100 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
101 #else
102 # define ETH_P_MOBITEX 0x0015
103 #endif
104 #if defined(ETH_P_CONTROL) || (defined(HAVE_DECL_ETH_P_CONTROL) && HAVE_DECL_ETH_P_CONTROL)
105 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
106 static_assert((ETH_P_CONTROL) == (0x0016), "ETH_P_CONTROL != 0x0016");
107 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
108 #else
109 # define ETH_P_CONTROL 0x0016
110 #endif
111 #if defined(ETH_P_IRDA) || (defined(HAVE_DECL_ETH_P_IRDA) && HAVE_DECL_ETH_P_IRDA)
112 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
113 static_assert((ETH_P_IRDA) == (0x0017), "ETH_P_IRDA != 0x0017");
114 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
115 #else
116 # define ETH_P_IRDA 0x0017
117 #endif
118 #if defined(ETH_P_ECONET) || (defined(HAVE_DECL_ETH_P_ECONET) && HAVE_DECL_ETH_P_ECONET)
119 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
120 static_assert((ETH_P_ECONET) == (0x0018), "ETH_P_ECONET != 0x0018");
121 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
122 #else
123 # define ETH_P_ECONET 0x0018
124 #endif
125 #if defined(ETH_P_HDLC) || (defined(HAVE_DECL_ETH_P_HDLC) && HAVE_DECL_ETH_P_HDLC)
126 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
127 static_assert((ETH_P_HDLC) == (0x0019), "ETH_P_HDLC != 0x0019");
128 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
129 #else
130 # define ETH_P_HDLC 0x0019
131 #endif
132 #if defined(ETH_P_ARCNET) || (defined(HAVE_DECL_ETH_P_ARCNET) && HAVE_DECL_ETH_P_ARCNET)
133 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
134 static_assert((ETH_P_ARCNET) == (0x001A), "ETH_P_ARCNET != 0x001A");
135 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
136 #else
137 # define ETH_P_ARCNET 0x001A
138 #endif
139 #if defined(ETH_P_DSA) || (defined(HAVE_DECL_ETH_P_DSA) && HAVE_DECL_ETH_P_DSA)
140 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
141 static_assert((ETH_P_DSA) == (0x001B), "ETH_P_DSA != 0x001B");
142 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
143 #else
144 # define ETH_P_DSA 0x001B
145 #endif
146 #if defined(ETH_P_TRAILER) || (defined(HAVE_DECL_ETH_P_TRAILER) && HAVE_DECL_ETH_P_TRAILER)
147 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
148 static_assert((ETH_P_TRAILER) == (0x001C), "ETH_P_TRAILER != 0x001C");
149 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
150 #else
151 # define ETH_P_TRAILER 0x001C
152 #endif
153 #if defined(ETH_P_LOOP) || (defined(HAVE_DECL_ETH_P_LOOP) && HAVE_DECL_ETH_P_LOOP)
154 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
155 static_assert((ETH_P_LOOP) == (0x0060), "ETH_P_LOOP != 0x0060");
156 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
157 #else
158 # define ETH_P_LOOP 0x0060
159 #endif
160 #if defined(ETH_P_PHONET) || (defined(HAVE_DECL_ETH_P_PHONET) && HAVE_DECL_ETH_P_PHONET)
161 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
162 static_assert((ETH_P_PHONET) == (0x00F5), "ETH_P_PHONET != 0x00F5");
163 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
164 #else
165 # define ETH_P_PHONET 0x00F5
166 #endif
167 #if defined(ETH_P_IEEE802154) || (defined(HAVE_DECL_ETH_P_IEEE802154) && HAVE_DECL_ETH_P_IEEE802154)
168 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
169 static_assert((ETH_P_IEEE802154) == (0x00F6), "ETH_P_IEEE802154 != 0x00F6");
170 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
171 #else
172 # define ETH_P_IEEE802154 0x00F6
173 #endif
174 #if defined(ETH_P_CAIF) || (defined(HAVE_DECL_ETH_P_CAIF) && HAVE_DECL_ETH_P_CAIF)
175 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
176 static_assert((ETH_P_CAIF) == (0x00F7), "ETH_P_CAIF != 0x00F7");
177 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
178 #else
179 # define ETH_P_CAIF 0x00F7
180 #endif
181 #if defined(ETH_P_XDSA) || (defined(HAVE_DECL_ETH_P_XDSA) && HAVE_DECL_ETH_P_XDSA)
182 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
183 static_assert((ETH_P_XDSA) == (0x00F8), "ETH_P_XDSA != 0x00F8");
184 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
185 #else
186 # define ETH_P_XDSA 0x00F8
187 #endif
188 #if defined(ETH_P_MAP) || (defined(HAVE_DECL_ETH_P_MAP) && HAVE_DECL_ETH_P_MAP)
189 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
190 static_assert((ETH_P_MAP) == (0x00F9), "ETH_P_MAP != 0x00F9");
191 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
192 #else
193 # define ETH_P_MAP 0x00F9
194 #endif
195 #if defined(ETH_P_PUP) || (defined(HAVE_DECL_ETH_P_PUP) && HAVE_DECL_ETH_P_PUP)
196 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
197 static_assert((ETH_P_PUP) == (0x0200), "ETH_P_PUP != 0x0200");
198 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
199 #else
200 # define ETH_P_PUP 0x0200
201 #endif
202 #if defined(ETH_P_PUPAT) || (defined(HAVE_DECL_ETH_P_PUPAT) && HAVE_DECL_ETH_P_PUPAT)
203 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
204 static_assert((ETH_P_PUPAT) == (0x0201), "ETH_P_PUPAT != 0x0201");
205 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
206 #else
207 # define ETH_P_PUPAT 0x0201
208 #endif
209 #if defined(ETH_P_802_3_MIN) || (defined(HAVE_DECL_ETH_P_802_3_MIN) && HAVE_DECL_ETH_P_802_3_MIN)
210 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
211 static_assert((ETH_P_802_3_MIN) == (0x0600), "ETH_P_802_3_MIN != 0x0600");
212 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
213 #else
214 # define ETH_P_802_3_MIN 0x0600
215 #endif
216 #if defined(ETH_P_IP) || (defined(HAVE_DECL_ETH_P_IP) && HAVE_DECL_ETH_P_IP)
217 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
218 static_assert((ETH_P_IP) == (0x0800), "ETH_P_IP != 0x0800");
219 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
220 #else
221 # define ETH_P_IP 0x0800
222 #endif
223 #if defined(ETH_P_X25) || (defined(HAVE_DECL_ETH_P_X25) && HAVE_DECL_ETH_P_X25)
224 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
225 static_assert((ETH_P_X25) == (0x0805), "ETH_P_X25 != 0x0805");
226 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
227 #else
228 # define ETH_P_X25 0x0805
229 #endif
230 #if defined(ETH_P_ARP) || (defined(HAVE_DECL_ETH_P_ARP) && HAVE_DECL_ETH_P_ARP)
231 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
232 static_assert((ETH_P_ARP) == (0x0806), "ETH_P_ARP != 0x0806");
233 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
234 #else
235 # define ETH_P_ARP 0x0806
236 #endif
237 #if defined(ETH_P_BPQ) || (defined(HAVE_DECL_ETH_P_BPQ) && HAVE_DECL_ETH_P_BPQ)
238 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
239 static_assert((ETH_P_BPQ) == (0x08FF), "ETH_P_BPQ != 0x08FF");
240 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
241 #else
242 # define ETH_P_BPQ 0x08FF
243 #endif
244 #if defined(ETH_P_IEEEPUP) || (defined(HAVE_DECL_ETH_P_IEEEPUP) && HAVE_DECL_ETH_P_IEEEPUP)
245 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
246 static_assert((ETH_P_IEEEPUP) == (0x0a00), "ETH_P_IEEEPUP != 0x0a00");
247 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
248 #else
249 # define ETH_P_IEEEPUP 0x0a00
250 #endif
251 #if defined(ETH_P_IEEEPUPAT) || (defined(HAVE_DECL_ETH_P_IEEEPUPAT) && HAVE_DECL_ETH_P_IEEEPUPAT)
252 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
253 static_assert((ETH_P_IEEEPUPAT) == (0x0a01), "ETH_P_IEEEPUPAT != 0x0a01");
254 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
255 #else
256 # define ETH_P_IEEEPUPAT 0x0a01
257 #endif
258 #if defined(ETH_P_ERSPAN2) || (defined(HAVE_DECL_ETH_P_ERSPAN2) && HAVE_DECL_ETH_P_ERSPAN2)
259 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
260 static_assert((ETH_P_ERSPAN2) == (0x22EB), "ETH_P_ERSPAN2 != 0x22EB");
261 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
262 #else
263 # define ETH_P_ERSPAN2 0x22EB
264 #endif
265 #if defined(ETH_P_TSN) || (defined(HAVE_DECL_ETH_P_TSN) && HAVE_DECL_ETH_P_TSN)
266 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
267 static_assert((ETH_P_TSN) == (0x22F0), "ETH_P_TSN != 0x22F0");
268 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
269 #else
270 # define ETH_P_TSN 0x22F0
271 #endif
272 #if defined(ETH_P_BATMAN) || (defined(HAVE_DECL_ETH_P_BATMAN) && HAVE_DECL_ETH_P_BATMAN)
273 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
274 static_assert((ETH_P_BATMAN) == (0x4305), "ETH_P_BATMAN != 0x4305");
275 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
276 #else
277 # define ETH_P_BATMAN 0x4305
278 #endif
279 #if defined(ETH_P_DEC) || (defined(HAVE_DECL_ETH_P_DEC) && HAVE_DECL_ETH_P_DEC)
280 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
281 static_assert((ETH_P_DEC) == (0x6000), "ETH_P_DEC != 0x6000");
282 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
283 #else
284 # define ETH_P_DEC 0x6000
285 #endif
286 #if defined(ETH_P_DNA_DL) || (defined(HAVE_DECL_ETH_P_DNA_DL) && HAVE_DECL_ETH_P_DNA_DL)
287 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
288 static_assert((ETH_P_DNA_DL) == (0x6001), "ETH_P_DNA_DL != 0x6001");
289 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
290 #else
291 # define ETH_P_DNA_DL 0x6001
292 #endif
293 #if defined(ETH_P_DNA_RC) || (defined(HAVE_DECL_ETH_P_DNA_RC) && HAVE_DECL_ETH_P_DNA_RC)
294 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
295 static_assert((ETH_P_DNA_RC) == (0x6002), "ETH_P_DNA_RC != 0x6002");
296 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
297 #else
298 # define ETH_P_DNA_RC 0x6002
299 #endif
300 #if defined(ETH_P_DNA_RT) || (defined(HAVE_DECL_ETH_P_DNA_RT) && HAVE_DECL_ETH_P_DNA_RT)
301 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
302 static_assert((ETH_P_DNA_RT) == (0x6003), "ETH_P_DNA_RT != 0x6003");
303 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
304 #else
305 # define ETH_P_DNA_RT 0x6003
306 #endif
307 #if defined(ETH_P_LAT) || (defined(HAVE_DECL_ETH_P_LAT) && HAVE_DECL_ETH_P_LAT)
308 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
309 static_assert((ETH_P_LAT) == (0x6004), "ETH_P_LAT != 0x6004");
310 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
311 #else
312 # define ETH_P_LAT 0x6004
313 #endif
314 #if defined(ETH_P_DIAG) || (defined(HAVE_DECL_ETH_P_DIAG) && HAVE_DECL_ETH_P_DIAG)
315 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
316 static_assert((ETH_P_DIAG) == (0x6005), "ETH_P_DIAG != 0x6005");
317 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
318 #else
319 # define ETH_P_DIAG 0x6005
320 #endif
321 #if defined(ETH_P_CUST) || (defined(HAVE_DECL_ETH_P_CUST) && HAVE_DECL_ETH_P_CUST)
322 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
323 static_assert((ETH_P_CUST) == (0x6006), "ETH_P_CUST != 0x6006");
324 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
325 #else
326 # define ETH_P_CUST 0x6006
327 #endif
328 #if defined(ETH_P_SCA) || (defined(HAVE_DECL_ETH_P_SCA) && HAVE_DECL_ETH_P_SCA)
329 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
330 static_assert((ETH_P_SCA) == (0x6007), "ETH_P_SCA != 0x6007");
331 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
332 #else
333 # define ETH_P_SCA 0x6007
334 #endif
335 #if defined(ETH_P_TEB) || (defined(HAVE_DECL_ETH_P_TEB) && HAVE_DECL_ETH_P_TEB)
336 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
337 static_assert((ETH_P_TEB) == (0x6558), "ETH_P_TEB != 0x6558");
338 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
339 #else
340 # define ETH_P_TEB 0x6558
341 #endif
342 #if defined(ETH_P_RARP) || (defined(HAVE_DECL_ETH_P_RARP) && HAVE_DECL_ETH_P_RARP)
343 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
344 static_assert((ETH_P_RARP) == (0x8035), "ETH_P_RARP != 0x8035");
345 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
346 #else
347 # define ETH_P_RARP 0x8035
348 #endif
349 #if defined(ETH_P_ATALK) || (defined(HAVE_DECL_ETH_P_ATALK) && HAVE_DECL_ETH_P_ATALK)
350 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
351 static_assert((ETH_P_ATALK) == (0x809B), "ETH_P_ATALK != 0x809B");
352 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
353 #else
354 # define ETH_P_ATALK 0x809B
355 #endif
356 #if defined(ETH_P_AARP) || (defined(HAVE_DECL_ETH_P_AARP) && HAVE_DECL_ETH_P_AARP)
357 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
358 static_assert((ETH_P_AARP) == (0x80F3), "ETH_P_AARP != 0x80F3");
359 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
360 #else
361 # define ETH_P_AARP 0x80F3
362 #endif
363 #if defined(ETH_P_8021Q) || (defined(HAVE_DECL_ETH_P_8021Q) && HAVE_DECL_ETH_P_8021Q)
364 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
365 static_assert((ETH_P_8021Q) == (0x8100), "ETH_P_8021Q != 0x8100");
366 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
367 #else
368 # define ETH_P_8021Q 0x8100
369 #endif
370 #if defined(ETH_P_IPX) || (defined(HAVE_DECL_ETH_P_IPX) && HAVE_DECL_ETH_P_IPX)
371 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
372 static_assert((ETH_P_IPX) == (0x8137), "ETH_P_IPX != 0x8137");
373 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
374 #else
375 # define ETH_P_IPX 0x8137
376 #endif
377 #if defined(ETH_P_IPV6) || (defined(HAVE_DECL_ETH_P_IPV6) && HAVE_DECL_ETH_P_IPV6)
378 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
379 static_assert((ETH_P_IPV6) == (0x86DD), "ETH_P_IPV6 != 0x86DD");
380 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
381 #else
382 # define ETH_P_IPV6 0x86DD
383 #endif
384 #if defined(ETH_P_PAUSE) || (defined(HAVE_DECL_ETH_P_PAUSE) && HAVE_DECL_ETH_P_PAUSE)
385 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
386 static_assert((ETH_P_PAUSE) == (0x8808), "ETH_P_PAUSE != 0x8808");
387 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
388 #else
389 # define ETH_P_PAUSE 0x8808
390 #endif
391 #if defined(ETH_P_SLOW) || (defined(HAVE_DECL_ETH_P_SLOW) && HAVE_DECL_ETH_P_SLOW)
392 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
393 static_assert((ETH_P_SLOW) == (0x8809), "ETH_P_SLOW != 0x8809");
394 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
395 #else
396 # define ETH_P_SLOW 0x8809
397 #endif
398 #if defined(ETH_P_WCCP) || (defined(HAVE_DECL_ETH_P_WCCP) && HAVE_DECL_ETH_P_WCCP)
399 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
400 static_assert((ETH_P_WCCP) == (0x883E), "ETH_P_WCCP != 0x883E");
401 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
402 #else
403 # define ETH_P_WCCP 0x883E
404 #endif
405 #if defined(ETH_P_MPLS_UC) || (defined(HAVE_DECL_ETH_P_MPLS_UC) && HAVE_DECL_ETH_P_MPLS_UC)
406 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
407 static_assert((ETH_P_MPLS_UC) == (0x8847), "ETH_P_MPLS_UC != 0x8847");
408 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
409 #else
410 # define ETH_P_MPLS_UC 0x8847
411 #endif
412 #if defined(ETH_P_MPLS_MC) || (defined(HAVE_DECL_ETH_P_MPLS_MC) && HAVE_DECL_ETH_P_MPLS_MC)
413 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
414 static_assert((ETH_P_MPLS_MC) == (0x8848), "ETH_P_MPLS_MC != 0x8848");
415 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
416 #else
417 # define ETH_P_MPLS_MC 0x8848
418 #endif
419 #if defined(ETH_P_ATMMPOA) || (defined(HAVE_DECL_ETH_P_ATMMPOA) && HAVE_DECL_ETH_P_ATMMPOA)
420 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
421 static_assert((ETH_P_ATMMPOA) == (0x884c), "ETH_P_ATMMPOA != 0x884c");
422 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
423 #else
424 # define ETH_P_ATMMPOA 0x884c
425 #endif
426 #if defined(ETH_P_PPP_DISC) || (defined(HAVE_DECL_ETH_P_PPP_DISC) && HAVE_DECL_ETH_P_PPP_DISC)
427 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
428 static_assert((ETH_P_PPP_DISC) == (0x8863), "ETH_P_PPP_DISC != 0x8863");
429 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
430 #else
431 # define ETH_P_PPP_DISC 0x8863
432 #endif
433 #if defined(ETH_P_PPP_SES) || (defined(HAVE_DECL_ETH_P_PPP_SES) && HAVE_DECL_ETH_P_PPP_SES)
434 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
435 static_assert((ETH_P_PPP_SES) == (0x8864), "ETH_P_PPP_SES != 0x8864");
436 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
437 #else
438 # define ETH_P_PPP_SES 0x8864
439 #endif
440 #if defined(ETH_P_LINK_CTL) || (defined(HAVE_DECL_ETH_P_LINK_CTL) && HAVE_DECL_ETH_P_LINK_CTL)
441 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
442 static_assert((ETH_P_LINK_CTL) == (0x886c), "ETH_P_LINK_CTL != 0x886c");
443 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
444 #else
445 # define ETH_P_LINK_CTL 0x886c
446 #endif
447 #if defined(ETH_P_ATMFATE) || (defined(HAVE_DECL_ETH_P_ATMFATE) && HAVE_DECL_ETH_P_ATMFATE)
448 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
449 static_assert((ETH_P_ATMFATE) == (0x8884), "ETH_P_ATMFATE != 0x8884");
450 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
451 #else
452 # define ETH_P_ATMFATE 0x8884
453 #endif
454 #if defined(ETH_P_PAE) || (defined(HAVE_DECL_ETH_P_PAE) && HAVE_DECL_ETH_P_PAE)
455 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
456 static_assert((ETH_P_PAE) == (0x888E), "ETH_P_PAE != 0x888E");
457 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
458 #else
459 # define ETH_P_PAE 0x888E
460 #endif
461 #if defined(ETH_P_AOE) || (defined(HAVE_DECL_ETH_P_AOE) && HAVE_DECL_ETH_P_AOE)
462 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
463 static_assert((ETH_P_AOE) == (0x88A2), "ETH_P_AOE != 0x88A2");
464 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
465 #else
466 # define ETH_P_AOE 0x88A2
467 #endif
468 #if defined(ETH_P_8021AD) || (defined(HAVE_DECL_ETH_P_8021AD) && HAVE_DECL_ETH_P_8021AD)
469 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
470 static_assert((ETH_P_8021AD) == (0x88A8), "ETH_P_8021AD != 0x88A8");
471 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
472 #else
473 # define ETH_P_8021AD 0x88A8
474 #endif
475 #if defined(ETH_P_802_EX1) || (defined(HAVE_DECL_ETH_P_802_EX1) && HAVE_DECL_ETH_P_802_EX1)
476 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
477 static_assert((ETH_P_802_EX1) == (0x88B5), "ETH_P_802_EX1 != 0x88B5");
478 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
479 #else
480 # define ETH_P_802_EX1 0x88B5
481 #endif
482 #if defined(ETH_P_ERSPAN) || (defined(HAVE_DECL_ETH_P_ERSPAN) && HAVE_DECL_ETH_P_ERSPAN)
483 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
484 static_assert((ETH_P_ERSPAN) == (0x88BE), "ETH_P_ERSPAN != 0x88BE");
485 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
486 #else
487 # define ETH_P_ERSPAN 0x88BE
488 #endif
489 #if defined(ETH_P_PREAUTH) || (defined(HAVE_DECL_ETH_P_PREAUTH) && HAVE_DECL_ETH_P_PREAUTH)
490 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
491 static_assert((ETH_P_PREAUTH) == (0x88C7), "ETH_P_PREAUTH != 0x88C7");
492 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
493 #else
494 # define ETH_P_PREAUTH 0x88C7
495 #endif
496 #if defined(ETH_P_TIPC) || (defined(HAVE_DECL_ETH_P_TIPC) && HAVE_DECL_ETH_P_TIPC)
497 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
498 static_assert((ETH_P_TIPC) == (0x88CA), "ETH_P_TIPC != 0x88CA");
499 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
500 #else
501 # define ETH_P_TIPC 0x88CA
502 #endif
503 #if defined(ETH_P_MACSEC) || (defined(HAVE_DECL_ETH_P_MACSEC) && HAVE_DECL_ETH_P_MACSEC)
504 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
505 static_assert((ETH_P_MACSEC) == (0x88E5), "ETH_P_MACSEC != 0x88E5");
506 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
507 #else
508 # define ETH_P_MACSEC 0x88E5
509 #endif
510 #if defined(ETH_P_8021AH) || (defined(HAVE_DECL_ETH_P_8021AH) && HAVE_DECL_ETH_P_8021AH)
511 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
512 static_assert((ETH_P_8021AH) == (0x88E7), "ETH_P_8021AH != 0x88E7");
513 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
514 #else
515 # define ETH_P_8021AH 0x88E7
516 #endif
517 #if defined(ETH_P_MVRP) || (defined(HAVE_DECL_ETH_P_MVRP) && HAVE_DECL_ETH_P_MVRP)
518 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
519 static_assert((ETH_P_MVRP) == (0x88F5), "ETH_P_MVRP != 0x88F5");
520 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
521 #else
522 # define ETH_P_MVRP 0x88F5
523 #endif
524 #if defined(ETH_P_1588) || (defined(HAVE_DECL_ETH_P_1588) && HAVE_DECL_ETH_P_1588)
525 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
526 static_assert((ETH_P_1588) == (0x88F7), "ETH_P_1588 != 0x88F7");
527 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
528 #else
529 # define ETH_P_1588 0x88F7
530 #endif
531 #if defined(ETH_P_NCSI) || (defined(HAVE_DECL_ETH_P_NCSI) && HAVE_DECL_ETH_P_NCSI)
532 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
533 static_assert((ETH_P_NCSI) == (0x88F8), "ETH_P_NCSI != 0x88F8");
534 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
535 #else
536 # define ETH_P_NCSI 0x88F8
537 #endif
538 #if defined(ETH_P_PRP) || (defined(HAVE_DECL_ETH_P_PRP) && HAVE_DECL_ETH_P_PRP)
539 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
540 static_assert((ETH_P_PRP) == (0x88FB), "ETH_P_PRP != 0x88FB");
541 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
542 #else
543 # define ETH_P_PRP 0x88FB
544 #endif
545 #if defined(ETH_P_FCOE) || (defined(HAVE_DECL_ETH_P_FCOE) && HAVE_DECL_ETH_P_FCOE)
546 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
547 static_assert((ETH_P_FCOE) == (0x8906), "ETH_P_FCOE != 0x8906");
548 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
549 #else
550 # define ETH_P_FCOE 0x8906
551 #endif
552 #if defined(ETH_P_TDLS) || (defined(HAVE_DECL_ETH_P_TDLS) && HAVE_DECL_ETH_P_TDLS)
553 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
554 static_assert((ETH_P_TDLS) == (0x890D), "ETH_P_TDLS != 0x890D");
555 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
556 #else
557 # define ETH_P_TDLS 0x890D
558 #endif
559 #if defined(ETH_P_FIP) || (defined(HAVE_DECL_ETH_P_FIP) && HAVE_DECL_ETH_P_FIP)
560 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
561 static_assert((ETH_P_FIP) == (0x8914), "ETH_P_FIP != 0x8914");
562 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
563 #else
564 # define ETH_P_FIP 0x8914
565 #endif
566 #if defined(ETH_P_IBOE) || (defined(HAVE_DECL_ETH_P_IBOE) && HAVE_DECL_ETH_P_IBOE)
567 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
568 static_assert((ETH_P_IBOE) == (0x8915), "ETH_P_IBOE != 0x8915");
569 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
570 #else
571 # define ETH_P_IBOE 0x8915
572 #endif
573 #if defined(ETH_P_80221) || (defined(HAVE_DECL_ETH_P_80221) && HAVE_DECL_ETH_P_80221)
574 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
575 static_assert((ETH_P_80221) == (0x8917), "ETH_P_80221 != 0x8917");
576 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
577 #else
578 # define ETH_P_80221 0x8917
579 #endif
580 #if defined(ETH_P_HSR) || (defined(HAVE_DECL_ETH_P_HSR) && HAVE_DECL_ETH_P_HSR)
581 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
582 static_assert((ETH_P_HSR) == (0x892F), "ETH_P_HSR != 0x892F");
583 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
584 #else
585 # define ETH_P_HSR 0x892F
586 #endif
587 #if defined(ETH_P_NSH) || (defined(HAVE_DECL_ETH_P_NSH) && HAVE_DECL_ETH_P_NSH)
588 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
589 static_assert((ETH_P_NSH) == (0x894F), "ETH_P_NSH != 0x894F");
590 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
591 #else
592 # define ETH_P_NSH 0x894F
593 #endif
594 #if defined(ETH_P_LOOPBACK) || (defined(HAVE_DECL_ETH_P_LOOPBACK) && HAVE_DECL_ETH_P_LOOPBACK)
595 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
596 static_assert((ETH_P_LOOPBACK) == (0x9000), "ETH_P_LOOPBACK != 0x9000");
597 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
598 #else
599 # define ETH_P_LOOPBACK 0x9000
600 #endif
601 #if defined(ETH_P_QINQ1) || (defined(HAVE_DECL_ETH_P_QINQ1) && HAVE_DECL_ETH_P_QINQ1)
602 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
603 static_assert((ETH_P_QINQ1) == (0x9100), "ETH_P_QINQ1 != 0x9100");
604 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
605 #else
606 # define ETH_P_QINQ1 0x9100
607 #endif
608 #if defined(ETH_P_QINQ2) || (defined(HAVE_DECL_ETH_P_QINQ2) && HAVE_DECL_ETH_P_QINQ2)
609 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
610 static_assert((ETH_P_QINQ2) == (0x9200), "ETH_P_QINQ2 != 0x9200");
611 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
612 #else
613 # define ETH_P_QINQ2 0x9200
614 #endif
615 #if defined(ETH_P_QINQ3) || (defined(HAVE_DECL_ETH_P_QINQ3) && HAVE_DECL_ETH_P_QINQ3)
616 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
617 static_assert((ETH_P_QINQ3) == (0x9300), "ETH_P_QINQ3 != 0x9300");
618 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
619 #else
620 # define ETH_P_QINQ3 0x9300
621 #endif
622 #if defined(ETH_P_EDSA) || (defined(HAVE_DECL_ETH_P_EDSA) && HAVE_DECL_ETH_P_EDSA)
623 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
624 static_assert((ETH_P_EDSA) == (0xDADA), "ETH_P_EDSA != 0xDADA");
625 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
626 #else
627 # define ETH_P_EDSA 0xDADA
628 #endif
629 #if defined(ETH_P_IFE) || (defined(HAVE_DECL_ETH_P_IFE) && HAVE_DECL_ETH_P_IFE)
630 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
631 static_assert((ETH_P_IFE) == (0xED3E), "ETH_P_IFE != 0xED3E");
632 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
633 #else
634 # define ETH_P_IFE 0xED3E
635 #endif
636 #if defined(ETH_P_AF_IUCV) || (defined(HAVE_DECL_ETH_P_AF_IUCV) && HAVE_DECL_ETH_P_AF_IUCV)
637 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
638 static_assert((ETH_P_AF_IUCV) == (0xFBFB), "ETH_P_AF_IUCV != 0xFBFB");
639 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
640 #else
641 # define ETH_P_AF_IUCV 0xFBFB
642 #endif
643 
644 #ifndef XLAT_MACROS_ONLY
645 
646 # ifndef IN_MPERS
647 
648 const struct xlat ethernet_protocols[] = {
649 
650  XLAT(ETH_P_802_3),
651  XLAT(ETH_P_AX25),
652  XLAT(ETH_P_ALL),
653  XLAT(ETH_P_802_2),
654  XLAT(ETH_P_SNAP),
655  XLAT(ETH_P_DDCMP),
656  XLAT(ETH_P_WAN_PPP),
657  XLAT(ETH_P_PPP_MP),
658  XLAT(ETH_P_LOCALTALK),
659  XLAT(ETH_P_CAN),
660  XLAT(ETH_P_CANFD),
661  XLAT(ETH_P_PPPTALK),
662  XLAT(ETH_P_TR_802_2),
663  XLAT(ETH_P_MOBITEX),
664  XLAT(ETH_P_CONTROL),
665  XLAT(ETH_P_IRDA),
666  XLAT(ETH_P_ECONET),
667  XLAT(ETH_P_HDLC),
668  XLAT(ETH_P_ARCNET),
669  XLAT(ETH_P_DSA),
670  XLAT(ETH_P_TRAILER),
671  XLAT(ETH_P_LOOP),
672  XLAT(ETH_P_PHONET),
673  XLAT(ETH_P_IEEE802154),
674  XLAT(ETH_P_CAIF),
675  XLAT(ETH_P_XDSA),
676  XLAT(ETH_P_MAP),
677  XLAT(ETH_P_PUP),
678  XLAT(ETH_P_PUPAT),
679  XLAT(ETH_P_802_3_MIN),
680  XLAT(ETH_P_IP),
681  XLAT(ETH_P_X25),
682  XLAT(ETH_P_ARP),
683  XLAT(ETH_P_BPQ),
684  XLAT(ETH_P_IEEEPUP),
685  XLAT(ETH_P_IEEEPUPAT),
686  XLAT(ETH_P_ERSPAN2),
687  XLAT(ETH_P_TSN),
688  XLAT(ETH_P_BATMAN),
689  XLAT(ETH_P_DEC),
690  XLAT(ETH_P_DNA_DL),
691  XLAT(ETH_P_DNA_RC),
692  XLAT(ETH_P_DNA_RT),
693  XLAT(ETH_P_LAT),
694  XLAT(ETH_P_DIAG),
695  XLAT(ETH_P_CUST),
696  XLAT(ETH_P_SCA),
697  XLAT(ETH_P_TEB),
698  XLAT(ETH_P_RARP),
699  XLAT(ETH_P_ATALK),
700  XLAT(ETH_P_AARP),
701  XLAT(ETH_P_8021Q),
702  XLAT(ETH_P_IPX),
703  XLAT(ETH_P_IPV6),
704  XLAT(ETH_P_PAUSE),
705  XLAT(ETH_P_SLOW),
706  XLAT(ETH_P_WCCP),
707  XLAT(ETH_P_MPLS_UC),
708  XLAT(ETH_P_MPLS_MC),
709  XLAT(ETH_P_ATMMPOA),
710  XLAT(ETH_P_PPP_DISC),
711  XLAT(ETH_P_PPP_SES),
712  XLAT(ETH_P_LINK_CTL),
713  XLAT(ETH_P_ATMFATE),
714  XLAT(ETH_P_PAE),
715  XLAT(ETH_P_AOE),
716  XLAT(ETH_P_8021AD),
717  XLAT(ETH_P_802_EX1),
718  XLAT(ETH_P_ERSPAN),
719  XLAT(ETH_P_PREAUTH),
720  XLAT(ETH_P_TIPC),
721  XLAT(ETH_P_MACSEC),
722  XLAT(ETH_P_8021AH),
723  XLAT(ETH_P_MVRP),
724  XLAT(ETH_P_1588),
725  XLAT(ETH_P_NCSI),
726  XLAT(ETH_P_PRP),
727  XLAT(ETH_P_FCOE),
728  XLAT(ETH_P_TDLS),
729  XLAT(ETH_P_FIP),
730  XLAT(ETH_P_IBOE),
731  XLAT(ETH_P_80221),
732  XLAT(ETH_P_HSR),
733  XLAT(ETH_P_NSH),
734  XLAT(ETH_P_LOOPBACK),
735  XLAT(ETH_P_QINQ1),
736  XLAT(ETH_P_QINQ2),
737  XLAT(ETH_P_QINQ3),
738  XLAT(ETH_P_EDSA),
739  XLAT(ETH_P_IFE),
740  XLAT(ETH_P_AF_IUCV),
741  XLAT_END
742 };
743 
744 # endif /* !IN_MPERS */
745 
746 #endif /* !XLAT_MACROS_ONLY */
747