1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/sock_raw_options.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #undef XLAT_PREV_VAL
7
8 #ifndef XLAT_MACROS_ONLY
9
10 # ifdef IN_MPERS
11
12 # error static const struct xlat sock_raw_options in mpers mode
13
14 # else
15
16 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
17 static const struct xlat_data sock_raw_options_xdata[] = {
18 #if defined(ICMP_FILTER) || (defined(HAVE_DECL_ICMP_FILTER) && HAVE_DECL_ICMP_FILTER)
19 XLAT(ICMP_FILTER),
20 #define XLAT_VAL_0 ((unsigned) (ICMP_FILTER))
21 #define XLAT_STR_0 STRINGIFY(ICMP_FILTER)
22 #endif
23 };
24 static
25 const struct xlat sock_raw_options[1] = { {
26 .data = sock_raw_options_xdata,
27 .size = ARRAY_SIZE(sock_raw_options_xdata),
28 .type = XT_NORMAL,
29 .flags_mask = 0
30 # ifdef XLAT_VAL_0
31 | XLAT_VAL_0
32 # endif
33 ,
34 .flags_strsz = 0
35 # ifdef XLAT_STR_0
36 + sizeof(XLAT_STR_0)
37 # endif
38 ,
39 } };
40 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
41
42 # undef XLAT_STR_0
43 # undef XLAT_VAL_0
44 # endif /* !IN_MPERS */
45
46 #endif /* !XLAT_MACROS_ONLY */