(root)/
strace-6.5/
src/
xlat/
getsock_ipv6_options.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/getsock_ipv6_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 getsock_ipv6_options in mpers mode
      13  
      14  # else
      15  
      16  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      17  static const struct xlat_data getsock_ipv6_options_xdata[] = {
      18  /*
      19  * Options specific to getsockopt(SOL_IPV6).
      20  * Common {g,s}etsockopt(SOL_IPV6) options
      21  * should be in sock_ipv6_options.in instead.
      22  */
      23  
      24  #if defined(IP6T_SO_GET_INFO) || (defined(HAVE_DECL_IP6T_SO_GET_INFO) && HAVE_DECL_IP6T_SO_GET_INFO)
      25    XLAT(IP6T_SO_GET_INFO),
      26   #define XLAT_VAL_0 ((unsigned) (IP6T_SO_GET_INFO))
      27   #define XLAT_STR_0 STRINGIFY(IP6T_SO_GET_INFO)
      28  #endif
      29  #if defined(IP6T_SO_GET_ENTRIES) || (defined(HAVE_DECL_IP6T_SO_GET_ENTRIES) && HAVE_DECL_IP6T_SO_GET_ENTRIES)
      30    XLAT(IP6T_SO_GET_ENTRIES),
      31   #define XLAT_VAL_1 ((unsigned) (IP6T_SO_GET_ENTRIES))
      32   #define XLAT_STR_1 STRINGIFY(IP6T_SO_GET_ENTRIES)
      33  #endif
      34  #if defined(IP6T_SO_GET_REVISION_MATCH) || (defined(HAVE_DECL_IP6T_SO_GET_REVISION_MATCH) && HAVE_DECL_IP6T_SO_GET_REVISION_MATCH)
      35    XLAT(IP6T_SO_GET_REVISION_MATCH),
      36   #define XLAT_VAL_2 ((unsigned) (IP6T_SO_GET_REVISION_MATCH))
      37   #define XLAT_STR_2 STRINGIFY(IP6T_SO_GET_REVISION_MATCH)
      38  #endif
      39  #if defined(IP6T_SO_GET_REVISION_TARGET) || (defined(HAVE_DECL_IP6T_SO_GET_REVISION_TARGET) && HAVE_DECL_IP6T_SO_GET_REVISION_TARGET)
      40    XLAT(IP6T_SO_GET_REVISION_TARGET),
      41   #define XLAT_VAL_3 ((unsigned) (IP6T_SO_GET_REVISION_TARGET))
      42   #define XLAT_STR_3 STRINGIFY(IP6T_SO_GET_REVISION_TARGET)
      43  #endif
      44  };
      45  static
      46  const struct xlat getsock_ipv6_options[1] = { {
      47   .data = getsock_ipv6_options_xdata,
      48   .size = ARRAY_SIZE(getsock_ipv6_options_xdata),
      49   .type = XT_NORMAL,
      50   .flags_mask = 0
      51  #  ifdef XLAT_VAL_0
      52    | XLAT_VAL_0
      53  #  endif
      54  #  ifdef XLAT_VAL_1
      55    | XLAT_VAL_1
      56  #  endif
      57  #  ifdef XLAT_VAL_2
      58    | XLAT_VAL_2
      59  #  endif
      60  #  ifdef XLAT_VAL_3
      61    | XLAT_VAL_3
      62  #  endif
      63    ,
      64   .flags_strsz = 0
      65  #  ifdef XLAT_STR_0
      66    + sizeof(XLAT_STR_0)
      67  #  endif
      68  #  ifdef XLAT_STR_1
      69    + sizeof(XLAT_STR_1)
      70  #  endif
      71  #  ifdef XLAT_STR_2
      72    + sizeof(XLAT_STR_2)
      73  #  endif
      74  #  ifdef XLAT_STR_3
      75    + sizeof(XLAT_STR_3)
      76  #  endif
      77    ,
      78  } };
      79  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      80  
      81  #  undef XLAT_STR_0
      82  #  undef XLAT_VAL_0
      83  #  undef XLAT_STR_1
      84  #  undef XLAT_VAL_1
      85  #  undef XLAT_STR_2
      86  #  undef XLAT_VAL_2
      87  #  undef XLAT_STR_3
      88  #  undef XLAT_VAL_3
      89  # endif /* !IN_MPERS */
      90  
      91  #endif /* !XLAT_MACROS_ONLY */