1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/iffflags.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #if defined(IFF_UP) || (defined(HAVE_DECL_IFF_UP) && HAVE_DECL_IFF_UP)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((IFF_UP) == ((1 << 0)), "IFF_UP != (1 << 0)");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define IFF_UP (1 << 0)
12 #endif
13 #if defined(IFF_UP) || (defined(HAVE_DECL_IFF_UP) && HAVE_DECL_IFF_UP)
14 #if defined XLAT_PREV_VAL
15 static_assert((unsigned long long) (IFF_UP)
16 > (unsigned long long) (XLAT_PREV_VAL),
17 "Incorrect order in #sorted xlat: IFF_UP"
18 " is not larger than the previous value");
19 #endif
20 #undef XLAT_PREV_VAL
21 #define XLAT_PREV_VAL (IFF_UP)
22 #endif
23 #if defined(IFF_BROADCAST) || (defined(HAVE_DECL_IFF_BROADCAST) && HAVE_DECL_IFF_BROADCAST)
24 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
25 static_assert((IFF_BROADCAST) == ((1 << 1)), "IFF_BROADCAST != (1 << 1)");
26 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
27 #else
28 # define IFF_BROADCAST (1 << 1)
29 #endif
30 #if defined(IFF_BROADCAST) || (defined(HAVE_DECL_IFF_BROADCAST) && HAVE_DECL_IFF_BROADCAST)
31 #if defined XLAT_PREV_VAL
32 static_assert((unsigned long long) (IFF_BROADCAST)
33 > (unsigned long long) (XLAT_PREV_VAL),
34 "Incorrect order in #sorted xlat: IFF_BROADCAST"
35 " is not larger than the previous value");
36 #endif
37 #undef XLAT_PREV_VAL
38 #define XLAT_PREV_VAL (IFF_BROADCAST)
39 #endif
40 #if defined(IFF_DEBUG) || (defined(HAVE_DECL_IFF_DEBUG) && HAVE_DECL_IFF_DEBUG)
41 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
42 static_assert((IFF_DEBUG) == ((1 << 2)), "IFF_DEBUG != (1 << 2)");
43 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
44 #else
45 # define IFF_DEBUG (1 << 2)
46 #endif
47 #if defined(IFF_DEBUG) || (defined(HAVE_DECL_IFF_DEBUG) && HAVE_DECL_IFF_DEBUG)
48 #if defined XLAT_PREV_VAL
49 static_assert((unsigned long long) (IFF_DEBUG)
50 > (unsigned long long) (XLAT_PREV_VAL),
51 "Incorrect order in #sorted xlat: IFF_DEBUG"
52 " is not larger than the previous value");
53 #endif
54 #undef XLAT_PREV_VAL
55 #define XLAT_PREV_VAL (IFF_DEBUG)
56 #endif
57 #if defined(IFF_LOOPBACK) || (defined(HAVE_DECL_IFF_LOOPBACK) && HAVE_DECL_IFF_LOOPBACK)
58 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
59 static_assert((IFF_LOOPBACK) == ((1 << 3)), "IFF_LOOPBACK != (1 << 3)");
60 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
61 #else
62 # define IFF_LOOPBACK (1 << 3)
63 #endif
64 #if defined(IFF_LOOPBACK) || (defined(HAVE_DECL_IFF_LOOPBACK) && HAVE_DECL_IFF_LOOPBACK)
65 #if defined XLAT_PREV_VAL
66 static_assert((unsigned long long) (IFF_LOOPBACK)
67 > (unsigned long long) (XLAT_PREV_VAL),
68 "Incorrect order in #sorted xlat: IFF_LOOPBACK"
69 " is not larger than the previous value");
70 #endif
71 #undef XLAT_PREV_VAL
72 #define XLAT_PREV_VAL (IFF_LOOPBACK)
73 #endif
74 #if defined(IFF_POINTOPOINT) || (defined(HAVE_DECL_IFF_POINTOPOINT) && HAVE_DECL_IFF_POINTOPOINT)
75 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
76 static_assert((IFF_POINTOPOINT) == ((1 << 4)), "IFF_POINTOPOINT != (1 << 4)");
77 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
78 #else
79 # define IFF_POINTOPOINT (1 << 4)
80 #endif
81 #if defined(IFF_POINTOPOINT) || (defined(HAVE_DECL_IFF_POINTOPOINT) && HAVE_DECL_IFF_POINTOPOINT)
82 #if defined XLAT_PREV_VAL
83 static_assert((unsigned long long) (IFF_POINTOPOINT)
84 > (unsigned long long) (XLAT_PREV_VAL),
85 "Incorrect order in #sorted xlat: IFF_POINTOPOINT"
86 " is not larger than the previous value");
87 #endif
88 #undef XLAT_PREV_VAL
89 #define XLAT_PREV_VAL (IFF_POINTOPOINT)
90 #endif
91 #if defined(IFF_NOTRAILERS) || (defined(HAVE_DECL_IFF_NOTRAILERS) && HAVE_DECL_IFF_NOTRAILERS)
92 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
93 static_assert((IFF_NOTRAILERS) == ((1 << 5)), "IFF_NOTRAILERS != (1 << 5)");
94 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
95 #else
96 # define IFF_NOTRAILERS (1 << 5)
97 #endif
98 #if defined(IFF_NOTRAILERS) || (defined(HAVE_DECL_IFF_NOTRAILERS) && HAVE_DECL_IFF_NOTRAILERS)
99 #if defined XLAT_PREV_VAL
100 static_assert((unsigned long long) (IFF_NOTRAILERS)
101 > (unsigned long long) (XLAT_PREV_VAL),
102 "Incorrect order in #sorted xlat: IFF_NOTRAILERS"
103 " is not larger than the previous value");
104 #endif
105 #undef XLAT_PREV_VAL
106 #define XLAT_PREV_VAL (IFF_NOTRAILERS)
107 #endif
108 #if defined(IFF_RUNNING) || (defined(HAVE_DECL_IFF_RUNNING) && HAVE_DECL_IFF_RUNNING)
109 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
110 static_assert((IFF_RUNNING) == ((1 << 6)), "IFF_RUNNING != (1 << 6)");
111 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
112 #else
113 # define IFF_RUNNING (1 << 6)
114 #endif
115 #if defined(IFF_RUNNING) || (defined(HAVE_DECL_IFF_RUNNING) && HAVE_DECL_IFF_RUNNING)
116 #if defined XLAT_PREV_VAL
117 static_assert((unsigned long long) (IFF_RUNNING)
118 > (unsigned long long) (XLAT_PREV_VAL),
119 "Incorrect order in #sorted xlat: IFF_RUNNING"
120 " is not larger than the previous value");
121 #endif
122 #undef XLAT_PREV_VAL
123 #define XLAT_PREV_VAL (IFF_RUNNING)
124 #endif
125 #if defined(IFF_NOARP) || (defined(HAVE_DECL_IFF_NOARP) && HAVE_DECL_IFF_NOARP)
126 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
127 static_assert((IFF_NOARP) == ((1 << 7)), "IFF_NOARP != (1 << 7)");
128 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
129 #else
130 # define IFF_NOARP (1 << 7)
131 #endif
132 #if defined(IFF_NOARP) || (defined(HAVE_DECL_IFF_NOARP) && HAVE_DECL_IFF_NOARP)
133 #if defined XLAT_PREV_VAL
134 static_assert((unsigned long long) (IFF_NOARP)
135 > (unsigned long long) (XLAT_PREV_VAL),
136 "Incorrect order in #sorted xlat: IFF_NOARP"
137 " is not larger than the previous value");
138 #endif
139 #undef XLAT_PREV_VAL
140 #define XLAT_PREV_VAL (IFF_NOARP)
141 #endif
142 #if defined(IFF_PROMISC) || (defined(HAVE_DECL_IFF_PROMISC) && HAVE_DECL_IFF_PROMISC)
143 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
144 static_assert((IFF_PROMISC) == ((1 << 8)), "IFF_PROMISC != (1 << 8)");
145 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
146 #else
147 # define IFF_PROMISC (1 << 8)
148 #endif
149 #if defined(IFF_PROMISC) || (defined(HAVE_DECL_IFF_PROMISC) && HAVE_DECL_IFF_PROMISC)
150 #if defined XLAT_PREV_VAL
151 static_assert((unsigned long long) (IFF_PROMISC)
152 > (unsigned long long) (XLAT_PREV_VAL),
153 "Incorrect order in #sorted xlat: IFF_PROMISC"
154 " is not larger than the previous value");
155 #endif
156 #undef XLAT_PREV_VAL
157 #define XLAT_PREV_VAL (IFF_PROMISC)
158 #endif
159 #if defined(IFF_ALLMULTI) || (defined(HAVE_DECL_IFF_ALLMULTI) && HAVE_DECL_IFF_ALLMULTI)
160 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
161 static_assert((IFF_ALLMULTI) == ((1 << 9)), "IFF_ALLMULTI != (1 << 9)");
162 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
163 #else
164 # define IFF_ALLMULTI (1 << 9)
165 #endif
166 #if defined(IFF_ALLMULTI) || (defined(HAVE_DECL_IFF_ALLMULTI) && HAVE_DECL_IFF_ALLMULTI)
167 #if defined XLAT_PREV_VAL
168 static_assert((unsigned long long) (IFF_ALLMULTI)
169 > (unsigned long long) (XLAT_PREV_VAL),
170 "Incorrect order in #sorted xlat: IFF_ALLMULTI"
171 " is not larger than the previous value");
172 #endif
173 #undef XLAT_PREV_VAL
174 #define XLAT_PREV_VAL (IFF_ALLMULTI)
175 #endif
176 #if defined(IFF_MASTER) || (defined(HAVE_DECL_IFF_MASTER) && HAVE_DECL_IFF_MASTER)
177 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
178 static_assert((IFF_MASTER) == ((1 << 10)), "IFF_MASTER != (1 << 10)");
179 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
180 #else
181 # define IFF_MASTER (1 << 10)
182 #endif
183 #if defined(IFF_MASTER) || (defined(HAVE_DECL_IFF_MASTER) && HAVE_DECL_IFF_MASTER)
184 #if defined XLAT_PREV_VAL
185 static_assert((unsigned long long) (IFF_MASTER)
186 > (unsigned long long) (XLAT_PREV_VAL),
187 "Incorrect order in #sorted xlat: IFF_MASTER"
188 " is not larger than the previous value");
189 #endif
190 #undef XLAT_PREV_VAL
191 #define XLAT_PREV_VAL (IFF_MASTER)
192 #endif
193 #if defined(IFF_SLAVE) || (defined(HAVE_DECL_IFF_SLAVE) && HAVE_DECL_IFF_SLAVE)
194 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
195 static_assert((IFF_SLAVE) == ((1 << 11)), "IFF_SLAVE != (1 << 11)");
196 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
197 #else
198 # define IFF_SLAVE (1 << 11)
199 #endif
200 #if defined(IFF_SLAVE) || (defined(HAVE_DECL_IFF_SLAVE) && HAVE_DECL_IFF_SLAVE)
201 #if defined XLAT_PREV_VAL
202 static_assert((unsigned long long) (IFF_SLAVE)
203 > (unsigned long long) (XLAT_PREV_VAL),
204 "Incorrect order in #sorted xlat: IFF_SLAVE"
205 " is not larger than the previous value");
206 #endif
207 #undef XLAT_PREV_VAL
208 #define XLAT_PREV_VAL (IFF_SLAVE)
209 #endif
210 #if defined(IFF_MULTICAST) || (defined(HAVE_DECL_IFF_MULTICAST) && HAVE_DECL_IFF_MULTICAST)
211 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
212 static_assert((IFF_MULTICAST) == ((1 << 12)), "IFF_MULTICAST != (1 << 12)");
213 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
214 #else
215 # define IFF_MULTICAST (1 << 12)
216 #endif
217 #if defined(IFF_MULTICAST) || (defined(HAVE_DECL_IFF_MULTICAST) && HAVE_DECL_IFF_MULTICAST)
218 #if defined XLAT_PREV_VAL
219 static_assert((unsigned long long) (IFF_MULTICAST)
220 > (unsigned long long) (XLAT_PREV_VAL),
221 "Incorrect order in #sorted xlat: IFF_MULTICAST"
222 " is not larger than the previous value");
223 #endif
224 #undef XLAT_PREV_VAL
225 #define XLAT_PREV_VAL (IFF_MULTICAST)
226 #endif
227 #if defined(IFF_PORTSEL) || (defined(HAVE_DECL_IFF_PORTSEL) && HAVE_DECL_IFF_PORTSEL)
228 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
229 static_assert((IFF_PORTSEL) == ((1 << 13)), "IFF_PORTSEL != (1 << 13)");
230 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
231 #else
232 # define IFF_PORTSEL (1 << 13)
233 #endif
234 #if defined(IFF_PORTSEL) || (defined(HAVE_DECL_IFF_PORTSEL) && HAVE_DECL_IFF_PORTSEL)
235 #if defined XLAT_PREV_VAL
236 static_assert((unsigned long long) (IFF_PORTSEL)
237 > (unsigned long long) (XLAT_PREV_VAL),
238 "Incorrect order in #sorted xlat: IFF_PORTSEL"
239 " is not larger than the previous value");
240 #endif
241 #undef XLAT_PREV_VAL
242 #define XLAT_PREV_VAL (IFF_PORTSEL)
243 #endif
244 #if defined(IFF_AUTOMEDIA) || (defined(HAVE_DECL_IFF_AUTOMEDIA) && HAVE_DECL_IFF_AUTOMEDIA)
245 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
246 static_assert((IFF_AUTOMEDIA) == ((1 << 14)), "IFF_AUTOMEDIA != (1 << 14)");
247 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
248 #else
249 # define IFF_AUTOMEDIA (1 << 14)
250 #endif
251 #if defined(IFF_AUTOMEDIA) || (defined(HAVE_DECL_IFF_AUTOMEDIA) && HAVE_DECL_IFF_AUTOMEDIA)
252 #if defined XLAT_PREV_VAL
253 static_assert((unsigned long long) (IFF_AUTOMEDIA)
254 > (unsigned long long) (XLAT_PREV_VAL),
255 "Incorrect order in #sorted xlat: IFF_AUTOMEDIA"
256 " is not larger than the previous value");
257 #endif
258 #undef XLAT_PREV_VAL
259 #define XLAT_PREV_VAL (IFF_AUTOMEDIA)
260 #endif
261 #if defined(IFF_DYNAMIC) || (defined(HAVE_DECL_IFF_DYNAMIC) && HAVE_DECL_IFF_DYNAMIC)
262 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
263 static_assert((IFF_DYNAMIC) == ((1 << 15)), "IFF_DYNAMIC != (1 << 15)");
264 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
265 #else
266 # define IFF_DYNAMIC (1 << 15)
267 #endif
268 #if defined(IFF_DYNAMIC) || (defined(HAVE_DECL_IFF_DYNAMIC) && HAVE_DECL_IFF_DYNAMIC)
269 #if defined XLAT_PREV_VAL
270 static_assert((unsigned long long) (IFF_DYNAMIC)
271 > (unsigned long long) (XLAT_PREV_VAL),
272 "Incorrect order in #sorted xlat: IFF_DYNAMIC"
273 " is not larger than the previous value");
274 #endif
275 #undef XLAT_PREV_VAL
276 #define XLAT_PREV_VAL (IFF_DYNAMIC)
277 #endif
278 #if defined(IFF_LOWER_UP) || (defined(HAVE_DECL_IFF_LOWER_UP) && HAVE_DECL_IFF_LOWER_UP)
279 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
280 static_assert((IFF_LOWER_UP) == ((1 << 16)), "IFF_LOWER_UP != (1 << 16)");
281 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
282 #else
283 # define IFF_LOWER_UP (1 << 16)
284 #endif
285 #if defined(IFF_LOWER_UP) || (defined(HAVE_DECL_IFF_LOWER_UP) && HAVE_DECL_IFF_LOWER_UP)
286 #if defined XLAT_PREV_VAL
287 static_assert((unsigned long long) (IFF_LOWER_UP)
288 > (unsigned long long) (XLAT_PREV_VAL),
289 "Incorrect order in #sorted xlat: IFF_LOWER_UP"
290 " is not larger than the previous value");
291 #endif
292 #undef XLAT_PREV_VAL
293 #define XLAT_PREV_VAL (IFF_LOWER_UP)
294 #endif
295 #if defined(IFF_DORMANT) || (defined(HAVE_DECL_IFF_DORMANT) && HAVE_DECL_IFF_DORMANT)
296 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
297 static_assert((IFF_DORMANT) == ((1 << 17)), "IFF_DORMANT != (1 << 17)");
298 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
299 #else
300 # define IFF_DORMANT (1 << 17)
301 #endif
302 #if defined(IFF_DORMANT) || (defined(HAVE_DECL_IFF_DORMANT) && HAVE_DECL_IFF_DORMANT)
303 #if defined XLAT_PREV_VAL
304 static_assert((unsigned long long) (IFF_DORMANT)
305 > (unsigned long long) (XLAT_PREV_VAL),
306 "Incorrect order in #sorted xlat: IFF_DORMANT"
307 " is not larger than the previous value");
308 #endif
309 #undef XLAT_PREV_VAL
310 #define XLAT_PREV_VAL (IFF_DORMANT)
311 #endif
312 #if defined(IFF_ECHO) || (defined(HAVE_DECL_IFF_ECHO) && HAVE_DECL_IFF_ECHO)
313 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
314 static_assert((IFF_ECHO) == ((1 << 18)), "IFF_ECHO != (1 << 18)");
315 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
316 #else
317 # define IFF_ECHO (1 << 18)
318 #endif
319 #if defined(IFF_ECHO) || (defined(HAVE_DECL_IFF_ECHO) && HAVE_DECL_IFF_ECHO)
320 #if defined XLAT_PREV_VAL
321 static_assert((unsigned long long) (IFF_ECHO)
322 > (unsigned long long) (XLAT_PREV_VAL),
323 "Incorrect order in #sorted xlat: IFF_ECHO"
324 " is not larger than the previous value");
325 #endif
326 #undef XLAT_PREV_VAL
327 #define XLAT_PREV_VAL (IFF_ECHO)
328 #endif
329 #undef XLAT_PREV_VAL
330
331 #ifndef XLAT_MACROS_ONLY
332
333 # ifndef IN_MPERS
334
335 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
336 static const struct xlat_data iffflags_xdata[] = {
337 XLAT(IFF_UP),
338 #define XLAT_VAL_0 ((unsigned) (IFF_UP))
339 #define XLAT_STR_0 STRINGIFY(IFF_UP)
340 XLAT(IFF_BROADCAST),
341 #define XLAT_VAL_1 ((unsigned) (IFF_BROADCAST))
342 #define XLAT_STR_1 STRINGIFY(IFF_BROADCAST)
343 XLAT(IFF_DEBUG),
344 #define XLAT_VAL_2 ((unsigned) (IFF_DEBUG))
345 #define XLAT_STR_2 STRINGIFY(IFF_DEBUG)
346 XLAT(IFF_LOOPBACK),
347 #define XLAT_VAL_3 ((unsigned) (IFF_LOOPBACK))
348 #define XLAT_STR_3 STRINGIFY(IFF_LOOPBACK)
349 XLAT(IFF_POINTOPOINT),
350 #define XLAT_VAL_4 ((unsigned) (IFF_POINTOPOINT))
351 #define XLAT_STR_4 STRINGIFY(IFF_POINTOPOINT)
352 XLAT(IFF_NOTRAILERS),
353 #define XLAT_VAL_5 ((unsigned) (IFF_NOTRAILERS))
354 #define XLAT_STR_5 STRINGIFY(IFF_NOTRAILERS)
355 XLAT(IFF_RUNNING),
356 #define XLAT_VAL_6 ((unsigned) (IFF_RUNNING))
357 #define XLAT_STR_6 STRINGIFY(IFF_RUNNING)
358 XLAT(IFF_NOARP),
359 #define XLAT_VAL_7 ((unsigned) (IFF_NOARP))
360 #define XLAT_STR_7 STRINGIFY(IFF_NOARP)
361 XLAT(IFF_PROMISC),
362 #define XLAT_VAL_8 ((unsigned) (IFF_PROMISC))
363 #define XLAT_STR_8 STRINGIFY(IFF_PROMISC)
364 XLAT(IFF_ALLMULTI),
365 #define XLAT_VAL_9 ((unsigned) (IFF_ALLMULTI))
366 #define XLAT_STR_9 STRINGIFY(IFF_ALLMULTI)
367 XLAT(IFF_MASTER),
368 #define XLAT_VAL_10 ((unsigned) (IFF_MASTER))
369 #define XLAT_STR_10 STRINGIFY(IFF_MASTER)
370 XLAT(IFF_SLAVE),
371 #define XLAT_VAL_11 ((unsigned) (IFF_SLAVE))
372 #define XLAT_STR_11 STRINGIFY(IFF_SLAVE)
373 XLAT(IFF_MULTICAST),
374 #define XLAT_VAL_12 ((unsigned) (IFF_MULTICAST))
375 #define XLAT_STR_12 STRINGIFY(IFF_MULTICAST)
376 XLAT(IFF_PORTSEL),
377 #define XLAT_VAL_13 ((unsigned) (IFF_PORTSEL))
378 #define XLAT_STR_13 STRINGIFY(IFF_PORTSEL)
379 XLAT(IFF_AUTOMEDIA),
380 #define XLAT_VAL_14 ((unsigned) (IFF_AUTOMEDIA))
381 #define XLAT_STR_14 STRINGIFY(IFF_AUTOMEDIA)
382 XLAT(IFF_DYNAMIC),
383 #define XLAT_VAL_15 ((unsigned) (IFF_DYNAMIC))
384 #define XLAT_STR_15 STRINGIFY(IFF_DYNAMIC)
385 XLAT(IFF_LOWER_UP),
386 #define XLAT_VAL_16 ((unsigned) (IFF_LOWER_UP))
387 #define XLAT_STR_16 STRINGIFY(IFF_LOWER_UP)
388 XLAT(IFF_DORMANT),
389 #define XLAT_VAL_17 ((unsigned) (IFF_DORMANT))
390 #define XLAT_STR_17 STRINGIFY(IFF_DORMANT)
391 XLAT(IFF_ECHO),
392 #define XLAT_VAL_18 ((unsigned) (IFF_ECHO))
393 #define XLAT_STR_18 STRINGIFY(IFF_ECHO)
394 };
395 const struct xlat iffflags[1] = { {
396 .data = iffflags_xdata,
397 .size = ARRAY_SIZE(iffflags_xdata),
398 .type = XT_SORTED,
399 .flags_mask = 0
400 # ifdef XLAT_VAL_0
401 | XLAT_VAL_0
402 # endif
403 # ifdef XLAT_VAL_1
404 | XLAT_VAL_1
405 # endif
406 # ifdef XLAT_VAL_2
407 | XLAT_VAL_2
408 # endif
409 # ifdef XLAT_VAL_3
410 | XLAT_VAL_3
411 # endif
412 # ifdef XLAT_VAL_4
413 | XLAT_VAL_4
414 # endif
415 # ifdef XLAT_VAL_5
416 | XLAT_VAL_5
417 # endif
418 # ifdef XLAT_VAL_6
419 | XLAT_VAL_6
420 # endif
421 # ifdef XLAT_VAL_7
422 | XLAT_VAL_7
423 # endif
424 # ifdef XLAT_VAL_8
425 | XLAT_VAL_8
426 # endif
427 # ifdef XLAT_VAL_9
428 | XLAT_VAL_9
429 # endif
430 # ifdef XLAT_VAL_10
431 | XLAT_VAL_10
432 # endif
433 # ifdef XLAT_VAL_11
434 | XLAT_VAL_11
435 # endif
436 # ifdef XLAT_VAL_12
437 | XLAT_VAL_12
438 # endif
439 # ifdef XLAT_VAL_13
440 | XLAT_VAL_13
441 # endif
442 # ifdef XLAT_VAL_14
443 | XLAT_VAL_14
444 # endif
445 # ifdef XLAT_VAL_15
446 | XLAT_VAL_15
447 # endif
448 # ifdef XLAT_VAL_16
449 | XLAT_VAL_16
450 # endif
451 # ifdef XLAT_VAL_17
452 | XLAT_VAL_17
453 # endif
454 # ifdef XLAT_VAL_18
455 | XLAT_VAL_18
456 # endif
457 ,
458 .flags_strsz = 0
459 # ifdef XLAT_STR_0
460 + sizeof(XLAT_STR_0)
461 # endif
462 # ifdef XLAT_STR_1
463 + sizeof(XLAT_STR_1)
464 # endif
465 # ifdef XLAT_STR_2
466 + sizeof(XLAT_STR_2)
467 # endif
468 # ifdef XLAT_STR_3
469 + sizeof(XLAT_STR_3)
470 # endif
471 # ifdef XLAT_STR_4
472 + sizeof(XLAT_STR_4)
473 # endif
474 # ifdef XLAT_STR_5
475 + sizeof(XLAT_STR_5)
476 # endif
477 # ifdef XLAT_STR_6
478 + sizeof(XLAT_STR_6)
479 # endif
480 # ifdef XLAT_STR_7
481 + sizeof(XLAT_STR_7)
482 # endif
483 # ifdef XLAT_STR_8
484 + sizeof(XLAT_STR_8)
485 # endif
486 # ifdef XLAT_STR_9
487 + sizeof(XLAT_STR_9)
488 # endif
489 # ifdef XLAT_STR_10
490 + sizeof(XLAT_STR_10)
491 # endif
492 # ifdef XLAT_STR_11
493 + sizeof(XLAT_STR_11)
494 # endif
495 # ifdef XLAT_STR_12
496 + sizeof(XLAT_STR_12)
497 # endif
498 # ifdef XLAT_STR_13
499 + sizeof(XLAT_STR_13)
500 # endif
501 # ifdef XLAT_STR_14
502 + sizeof(XLAT_STR_14)
503 # endif
504 # ifdef XLAT_STR_15
505 + sizeof(XLAT_STR_15)
506 # endif
507 # ifdef XLAT_STR_16
508 + sizeof(XLAT_STR_16)
509 # endif
510 # ifdef XLAT_STR_17
511 + sizeof(XLAT_STR_17)
512 # endif
513 # ifdef XLAT_STR_18
514 + sizeof(XLAT_STR_18)
515 # endif
516 ,
517 } };
518 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
519
520 # undef XLAT_STR_0
521 # undef XLAT_VAL_0
522 # undef XLAT_STR_1
523 # undef XLAT_VAL_1
524 # undef XLAT_STR_2
525 # undef XLAT_VAL_2
526 # undef XLAT_STR_3
527 # undef XLAT_VAL_3
528 # undef XLAT_STR_4
529 # undef XLAT_VAL_4
530 # undef XLAT_STR_5
531 # undef XLAT_VAL_5
532 # undef XLAT_STR_6
533 # undef XLAT_VAL_6
534 # undef XLAT_STR_7
535 # undef XLAT_VAL_7
536 # undef XLAT_STR_8
537 # undef XLAT_VAL_8
538 # undef XLAT_STR_9
539 # undef XLAT_VAL_9
540 # undef XLAT_STR_10
541 # undef XLAT_VAL_10
542 # undef XLAT_STR_11
543 # undef XLAT_VAL_11
544 # undef XLAT_STR_12
545 # undef XLAT_VAL_12
546 # undef XLAT_STR_13
547 # undef XLAT_VAL_13
548 # undef XLAT_STR_14
549 # undef XLAT_VAL_14
550 # undef XLAT_STR_15
551 # undef XLAT_VAL_15
552 # undef XLAT_STR_16
553 # undef XLAT_VAL_16
554 # undef XLAT_STR_17
555 # undef XLAT_VAL_17
556 # undef XLAT_STR_18
557 # undef XLAT_VAL_18
558 # endif /* !IN_MPERS */
559
560 #endif /* !XLAT_MACROS_ONLY */