(root)/
strace-6.5/
src/
xlat/
nlmsgerr_attrs.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/nlmsgerr_attrs.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 nlmsgerr_attrs in mpers mode
      13  
      14  # else
      15  
      16  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      17  static const struct xlat_data nlmsgerr_attrs_xdata[] = {
      18   [NLMSGERR_ATTR_UNUSED] = XLAT(NLMSGERR_ATTR_UNUSED),
      19   #define XLAT_VAL_0 ((unsigned) (NLMSGERR_ATTR_UNUSED))
      20   #define XLAT_STR_0 STRINGIFY(NLMSGERR_ATTR_UNUSED)
      21   [NLMSGERR_ATTR_MSG] = XLAT(NLMSGERR_ATTR_MSG),
      22   #define XLAT_VAL_1 ((unsigned) (NLMSGERR_ATTR_MSG))
      23   #define XLAT_STR_1 STRINGIFY(NLMSGERR_ATTR_MSG)
      24   [NLMSGERR_ATTR_OFFS] = XLAT(NLMSGERR_ATTR_OFFS),
      25   #define XLAT_VAL_2 ((unsigned) (NLMSGERR_ATTR_OFFS))
      26   #define XLAT_STR_2 STRINGIFY(NLMSGERR_ATTR_OFFS)
      27   [NLMSGERR_ATTR_COOKIE] = XLAT(NLMSGERR_ATTR_COOKIE),
      28   #define XLAT_VAL_3 ((unsigned) (NLMSGERR_ATTR_COOKIE))
      29   #define XLAT_STR_3 STRINGIFY(NLMSGERR_ATTR_COOKIE)
      30   [NLMSGERR_ATTR_POLICY] = XLAT(NLMSGERR_ATTR_POLICY),
      31   #define XLAT_VAL_4 ((unsigned) (NLMSGERR_ATTR_POLICY))
      32   #define XLAT_STR_4 STRINGIFY(NLMSGERR_ATTR_POLICY)
      33   [NLMSGERR_ATTR_MISS_TYPE] = XLAT(NLMSGERR_ATTR_MISS_TYPE),
      34   #define XLAT_VAL_5 ((unsigned) (NLMSGERR_ATTR_MISS_TYPE))
      35   #define XLAT_STR_5 STRINGIFY(NLMSGERR_ATTR_MISS_TYPE)
      36   [NLMSGERR_ATTR_MISS_NEST] = XLAT(NLMSGERR_ATTR_MISS_NEST),
      37   #define XLAT_VAL_6 ((unsigned) (NLMSGERR_ATTR_MISS_NEST))
      38   #define XLAT_STR_6 STRINGIFY(NLMSGERR_ATTR_MISS_NEST)
      39  };
      40  static
      41  const struct xlat nlmsgerr_attrs[1] = { {
      42   .data = nlmsgerr_attrs_xdata,
      43   .size = ARRAY_SIZE(nlmsgerr_attrs_xdata),
      44   .type = XT_INDEXED,
      45   .flags_mask = 0
      46  #  ifdef XLAT_VAL_0
      47    | XLAT_VAL_0
      48  #  endif
      49  #  ifdef XLAT_VAL_1
      50    | XLAT_VAL_1
      51  #  endif
      52  #  ifdef XLAT_VAL_2
      53    | XLAT_VAL_2
      54  #  endif
      55  #  ifdef XLAT_VAL_3
      56    | XLAT_VAL_3
      57  #  endif
      58  #  ifdef XLAT_VAL_4
      59    | XLAT_VAL_4
      60  #  endif
      61  #  ifdef XLAT_VAL_5
      62    | XLAT_VAL_5
      63  #  endif
      64  #  ifdef XLAT_VAL_6
      65    | XLAT_VAL_6
      66  #  endif
      67    ,
      68   .flags_strsz = 0
      69  #  ifdef XLAT_STR_0
      70    + sizeof(XLAT_STR_0)
      71  #  endif
      72  #  ifdef XLAT_STR_1
      73    + sizeof(XLAT_STR_1)
      74  #  endif
      75  #  ifdef XLAT_STR_2
      76    + sizeof(XLAT_STR_2)
      77  #  endif
      78  #  ifdef XLAT_STR_3
      79    + sizeof(XLAT_STR_3)
      80  #  endif
      81  #  ifdef XLAT_STR_4
      82    + sizeof(XLAT_STR_4)
      83  #  endif
      84  #  ifdef XLAT_STR_5
      85    + sizeof(XLAT_STR_5)
      86  #  endif
      87  #  ifdef XLAT_STR_6
      88    + sizeof(XLAT_STR_6)
      89  #  endif
      90    ,
      91  } };
      92  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      93  
      94  #  undef XLAT_STR_0
      95  #  undef XLAT_VAL_0
      96  #  undef XLAT_STR_1
      97  #  undef XLAT_VAL_1
      98  #  undef XLAT_STR_2
      99  #  undef XLAT_VAL_2
     100  #  undef XLAT_STR_3
     101  #  undef XLAT_VAL_3
     102  #  undef XLAT_STR_4
     103  #  undef XLAT_VAL_4
     104  #  undef XLAT_STR_5
     105  #  undef XLAT_VAL_5
     106  #  undef XLAT_STR_6
     107  #  undef XLAT_VAL_6
     108  # endif /* !IN_MPERS */
     109  
     110  #endif /* !XLAT_MACROS_ONLY */