(root)/
strace-6.5/
src/
xlat/
rtnl_tca_root_attrs.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_tca_root_attrs.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  #if defined(TCA_ROOT_UNSPEC) || (defined(HAVE_DECL_TCA_ROOT_UNSPEC) && HAVE_DECL_TCA_ROOT_UNSPEC)
       7  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
       8  static_assert((TCA_ROOT_UNSPEC) == (0), "TCA_ROOT_UNSPEC != 0");
       9  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      10  #else
      11  # define TCA_ROOT_UNSPEC 0
      12  #endif
      13  #if defined(TCA_ROOT_TAB) || (defined(HAVE_DECL_TCA_ROOT_TAB) && HAVE_DECL_TCA_ROOT_TAB)
      14  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      15  static_assert((TCA_ROOT_TAB) == (1), "TCA_ROOT_TAB != 1");
      16  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      17  #else
      18  # define TCA_ROOT_TAB 1
      19  #endif
      20  #if defined(TCA_ROOT_FLAGS) || (defined(HAVE_DECL_TCA_ROOT_FLAGS) && HAVE_DECL_TCA_ROOT_FLAGS)
      21  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      22  static_assert((TCA_ROOT_FLAGS) == (2), "TCA_ROOT_FLAGS != 2");
      23  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      24  #else
      25  # define TCA_ROOT_FLAGS 2
      26  #endif
      27  #if defined(TCA_ROOT_COUNT) || (defined(HAVE_DECL_TCA_ROOT_COUNT) && HAVE_DECL_TCA_ROOT_COUNT)
      28  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      29  static_assert((TCA_ROOT_COUNT) == (3), "TCA_ROOT_COUNT != 3");
      30  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      31  #else
      32  # define TCA_ROOT_COUNT 3
      33  #endif
      34  #if defined(TCA_ROOT_TIME_DELTA) || (defined(HAVE_DECL_TCA_ROOT_TIME_DELTA) && HAVE_DECL_TCA_ROOT_TIME_DELTA)
      35  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      36  static_assert((TCA_ROOT_TIME_DELTA) == (4), "TCA_ROOT_TIME_DELTA != 4");
      37  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      38  #else
      39  # define TCA_ROOT_TIME_DELTA 4
      40  #endif
      41  #if defined(TCA_ROOT_EXT_WARN_MSG) || (defined(HAVE_DECL_TCA_ROOT_EXT_WARN_MSG) && HAVE_DECL_TCA_ROOT_EXT_WARN_MSG)
      42  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      43  static_assert((TCA_ROOT_EXT_WARN_MSG) == (5), "TCA_ROOT_EXT_WARN_MSG != 5");
      44  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      45  #else
      46  # define TCA_ROOT_EXT_WARN_MSG 5
      47  #endif
      48  #undef XLAT_PREV_VAL
      49  
      50  #ifndef XLAT_MACROS_ONLY
      51  
      52  # ifdef IN_MPERS
      53  
      54  #  error static const struct xlat rtnl_tca_root_attrs in mpers mode
      55  
      56  # else
      57  
      58  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      59  static const struct xlat_data rtnl_tca_root_attrs_xdata[] = {
      60   [TCA_ROOT_UNSPEC] = XLAT(TCA_ROOT_UNSPEC),
      61   #define XLAT_VAL_0 ((unsigned) (TCA_ROOT_UNSPEC))
      62   #define XLAT_STR_0 STRINGIFY(TCA_ROOT_UNSPEC)
      63   [TCA_ROOT_TAB] = XLAT(TCA_ROOT_TAB),
      64   #define XLAT_VAL_1 ((unsigned) (TCA_ROOT_TAB))
      65   #define XLAT_STR_1 STRINGIFY(TCA_ROOT_TAB)
      66   [TCA_ROOT_FLAGS] = XLAT(TCA_ROOT_FLAGS),
      67   #define XLAT_VAL_2 ((unsigned) (TCA_ROOT_FLAGS))
      68   #define XLAT_STR_2 STRINGIFY(TCA_ROOT_FLAGS)
      69   [TCA_ROOT_COUNT] = XLAT(TCA_ROOT_COUNT),
      70   #define XLAT_VAL_3 ((unsigned) (TCA_ROOT_COUNT))
      71   #define XLAT_STR_3 STRINGIFY(TCA_ROOT_COUNT)
      72   [TCA_ROOT_TIME_DELTA] = XLAT(TCA_ROOT_TIME_DELTA),
      73   #define XLAT_VAL_4 ((unsigned) (TCA_ROOT_TIME_DELTA))
      74   #define XLAT_STR_4 STRINGIFY(TCA_ROOT_TIME_DELTA)
      75   [TCA_ROOT_EXT_WARN_MSG] = XLAT(TCA_ROOT_EXT_WARN_MSG),
      76   #define XLAT_VAL_5 ((unsigned) (TCA_ROOT_EXT_WARN_MSG))
      77   #define XLAT_STR_5 STRINGIFY(TCA_ROOT_EXT_WARN_MSG)
      78  };
      79  static
      80  const struct xlat rtnl_tca_root_attrs[1] = { {
      81   .data = rtnl_tca_root_attrs_xdata,
      82   .size = ARRAY_SIZE(rtnl_tca_root_attrs_xdata),
      83   .type = XT_INDEXED,
      84   .flags_mask = 0
      85  #  ifdef XLAT_VAL_0
      86    | XLAT_VAL_0
      87  #  endif
      88  #  ifdef XLAT_VAL_1
      89    | XLAT_VAL_1
      90  #  endif
      91  #  ifdef XLAT_VAL_2
      92    | XLAT_VAL_2
      93  #  endif
      94  #  ifdef XLAT_VAL_3
      95    | XLAT_VAL_3
      96  #  endif
      97  #  ifdef XLAT_VAL_4
      98    | XLAT_VAL_4
      99  #  endif
     100  #  ifdef XLAT_VAL_5
     101    | XLAT_VAL_5
     102  #  endif
     103    ,
     104   .flags_strsz = 0
     105  #  ifdef XLAT_STR_0
     106    + sizeof(XLAT_STR_0)
     107  #  endif
     108  #  ifdef XLAT_STR_1
     109    + sizeof(XLAT_STR_1)
     110  #  endif
     111  #  ifdef XLAT_STR_2
     112    + sizeof(XLAT_STR_2)
     113  #  endif
     114  #  ifdef XLAT_STR_3
     115    + sizeof(XLAT_STR_3)
     116  #  endif
     117  #  ifdef XLAT_STR_4
     118    + sizeof(XLAT_STR_4)
     119  #  endif
     120  #  ifdef XLAT_STR_5
     121    + sizeof(XLAT_STR_5)
     122  #  endif
     123    ,
     124  } };
     125  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
     126  
     127  #  undef XLAT_STR_0
     128  #  undef XLAT_VAL_0
     129  #  undef XLAT_STR_1
     130  #  undef XLAT_VAL_1
     131  #  undef XLAT_STR_2
     132  #  undef XLAT_VAL_2
     133  #  undef XLAT_STR_3
     134  #  undef XLAT_VAL_3
     135  #  undef XLAT_STR_4
     136  #  undef XLAT_VAL_4
     137  #  undef XLAT_STR_5
     138  #  undef XLAT_VAL_5
     139  # endif /* !IN_MPERS */
     140  
     141  #endif /* !XLAT_MACROS_ONLY */