(root)/
strace-6.5/
src/
xlat/
routing_flags.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/routing_flags.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  #if defined XLAT_PREV_VAL
       7  static_assert((unsigned long long) (RTM_F_NOTIFY)
       8        > (unsigned long long) (XLAT_PREV_VAL),
       9        "Incorrect order in #sorted xlat: RTM_F_NOTIFY"
      10        " is not larger than the previous value");
      11  #endif
      12  #undef XLAT_PREV_VAL
      13  #define XLAT_PREV_VAL (RTM_F_NOTIFY)
      14  #if defined XLAT_PREV_VAL
      15  static_assert((unsigned long long) (RTM_F_CLONED)
      16        > (unsigned long long) (XLAT_PREV_VAL),
      17        "Incorrect order in #sorted xlat: RTM_F_CLONED"
      18        " is not larger than the previous value");
      19  #endif
      20  #undef XLAT_PREV_VAL
      21  #define XLAT_PREV_VAL (RTM_F_CLONED)
      22  #if defined XLAT_PREV_VAL
      23  static_assert((unsigned long long) (RTM_F_EQUALIZE)
      24        > (unsigned long long) (XLAT_PREV_VAL),
      25        "Incorrect order in #sorted xlat: RTM_F_EQUALIZE"
      26        " is not larger than the previous value");
      27  #endif
      28  #undef XLAT_PREV_VAL
      29  #define XLAT_PREV_VAL (RTM_F_EQUALIZE)
      30  #if defined XLAT_PREV_VAL
      31  static_assert((unsigned long long) (RTM_F_PREFIX)
      32        > (unsigned long long) (XLAT_PREV_VAL),
      33        "Incorrect order in #sorted xlat: RTM_F_PREFIX"
      34        " is not larger than the previous value");
      35  #endif
      36  #undef XLAT_PREV_VAL
      37  #define XLAT_PREV_VAL (RTM_F_PREFIX)
      38  #if defined XLAT_PREV_VAL
      39  static_assert((unsigned long long) (RTM_F_LOOKUP_TABLE)
      40        > (unsigned long long) (XLAT_PREV_VAL),
      41        "Incorrect order in #sorted xlat: RTM_F_LOOKUP_TABLE"
      42        " is not larger than the previous value");
      43  #endif
      44  #undef XLAT_PREV_VAL
      45  #define XLAT_PREV_VAL (RTM_F_LOOKUP_TABLE)
      46  #if defined XLAT_PREV_VAL
      47  static_assert((unsigned long long) (RTM_F_FIB_MATCH)
      48        > (unsigned long long) (XLAT_PREV_VAL),
      49        "Incorrect order in #sorted xlat: RTM_F_FIB_MATCH"
      50        " is not larger than the previous value");
      51  #endif
      52  #undef XLAT_PREV_VAL
      53  #define XLAT_PREV_VAL (RTM_F_FIB_MATCH)
      54  #if defined XLAT_PREV_VAL
      55  static_assert((unsigned long long) (RTM_F_OFFLOAD)
      56        > (unsigned long long) (XLAT_PREV_VAL),
      57        "Incorrect order in #sorted xlat: RTM_F_OFFLOAD"
      58        " is not larger than the previous value");
      59  #endif
      60  #undef XLAT_PREV_VAL
      61  #define XLAT_PREV_VAL (RTM_F_OFFLOAD)
      62  #if defined XLAT_PREV_VAL
      63  static_assert((unsigned long long) (RTM_F_TRAP)
      64        > (unsigned long long) (XLAT_PREV_VAL),
      65        "Incorrect order in #sorted xlat: RTM_F_TRAP"
      66        " is not larger than the previous value");
      67  #endif
      68  #undef XLAT_PREV_VAL
      69  #define XLAT_PREV_VAL (RTM_F_TRAP)
      70  #if defined XLAT_PREV_VAL
      71  static_assert((unsigned long long) (RTM_F_OFFLOAD_FAILED)
      72        > (unsigned long long) (XLAT_PREV_VAL),
      73        "Incorrect order in #sorted xlat: RTM_F_OFFLOAD_FAILED"
      74        " is not larger than the previous value");
      75  #endif
      76  #undef XLAT_PREV_VAL
      77  #define XLAT_PREV_VAL (RTM_F_OFFLOAD_FAILED)
      78  #undef XLAT_PREV_VAL
      79  
      80  #ifndef XLAT_MACROS_ONLY
      81  
      82  # ifdef IN_MPERS
      83  
      84  #  error static const struct xlat routing_flags in mpers mode
      85  
      86  # else
      87  
      88  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      89  static const struct xlat_data routing_flags_xdata[] = {
      90   XLAT(RTM_F_NOTIFY),
      91   #define XLAT_VAL_0 ((unsigned) (RTM_F_NOTIFY))
      92   #define XLAT_STR_0 STRINGIFY(RTM_F_NOTIFY)
      93   XLAT(RTM_F_CLONED),
      94   #define XLAT_VAL_1 ((unsigned) (RTM_F_CLONED))
      95   #define XLAT_STR_1 STRINGIFY(RTM_F_CLONED)
      96   XLAT(RTM_F_EQUALIZE),
      97   #define XLAT_VAL_2 ((unsigned) (RTM_F_EQUALIZE))
      98   #define XLAT_STR_2 STRINGIFY(RTM_F_EQUALIZE)
      99   XLAT(RTM_F_PREFIX),
     100   #define XLAT_VAL_3 ((unsigned) (RTM_F_PREFIX))
     101   #define XLAT_STR_3 STRINGIFY(RTM_F_PREFIX)
     102   XLAT(RTM_F_LOOKUP_TABLE),
     103   #define XLAT_VAL_4 ((unsigned) (RTM_F_LOOKUP_TABLE))
     104   #define XLAT_STR_4 STRINGIFY(RTM_F_LOOKUP_TABLE)
     105   XLAT(RTM_F_FIB_MATCH),
     106   #define XLAT_VAL_5 ((unsigned) (RTM_F_FIB_MATCH))
     107   #define XLAT_STR_5 STRINGIFY(RTM_F_FIB_MATCH)
     108   XLAT(RTM_F_OFFLOAD),
     109   #define XLAT_VAL_6 ((unsigned) (RTM_F_OFFLOAD))
     110   #define XLAT_STR_6 STRINGIFY(RTM_F_OFFLOAD)
     111   XLAT(RTM_F_TRAP),
     112   #define XLAT_VAL_7 ((unsigned) (RTM_F_TRAP))
     113   #define XLAT_STR_7 STRINGIFY(RTM_F_TRAP)
     114   XLAT(RTM_F_OFFLOAD_FAILED),
     115   #define XLAT_VAL_8 ((unsigned) (RTM_F_OFFLOAD_FAILED))
     116   #define XLAT_STR_8 STRINGIFY(RTM_F_OFFLOAD_FAILED)
     117  };
     118  static
     119  const struct xlat routing_flags[1] = { {
     120   .data = routing_flags_xdata,
     121   .size = ARRAY_SIZE(routing_flags_xdata),
     122   .type = XT_SORTED,
     123   .flags_mask = 0
     124  #  ifdef XLAT_VAL_0
     125    | XLAT_VAL_0
     126  #  endif
     127  #  ifdef XLAT_VAL_1
     128    | XLAT_VAL_1
     129  #  endif
     130  #  ifdef XLAT_VAL_2
     131    | XLAT_VAL_2
     132  #  endif
     133  #  ifdef XLAT_VAL_3
     134    | XLAT_VAL_3
     135  #  endif
     136  #  ifdef XLAT_VAL_4
     137    | XLAT_VAL_4
     138  #  endif
     139  #  ifdef XLAT_VAL_5
     140    | XLAT_VAL_5
     141  #  endif
     142  #  ifdef XLAT_VAL_6
     143    | XLAT_VAL_6
     144  #  endif
     145  #  ifdef XLAT_VAL_7
     146    | XLAT_VAL_7
     147  #  endif
     148  #  ifdef XLAT_VAL_8
     149    | XLAT_VAL_8
     150  #  endif
     151    ,
     152   .flags_strsz = 0
     153  #  ifdef XLAT_STR_0
     154    + sizeof(XLAT_STR_0)
     155  #  endif
     156  #  ifdef XLAT_STR_1
     157    + sizeof(XLAT_STR_1)
     158  #  endif
     159  #  ifdef XLAT_STR_2
     160    + sizeof(XLAT_STR_2)
     161  #  endif
     162  #  ifdef XLAT_STR_3
     163    + sizeof(XLAT_STR_3)
     164  #  endif
     165  #  ifdef XLAT_STR_4
     166    + sizeof(XLAT_STR_4)
     167  #  endif
     168  #  ifdef XLAT_STR_5
     169    + sizeof(XLAT_STR_5)
     170  #  endif
     171  #  ifdef XLAT_STR_6
     172    + sizeof(XLAT_STR_6)
     173  #  endif
     174  #  ifdef XLAT_STR_7
     175    + sizeof(XLAT_STR_7)
     176  #  endif
     177  #  ifdef XLAT_STR_8
     178    + sizeof(XLAT_STR_8)
     179  #  endif
     180    ,
     181  } };
     182  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
     183  
     184  #  undef XLAT_STR_0
     185  #  undef XLAT_VAL_0
     186  #  undef XLAT_STR_1
     187  #  undef XLAT_VAL_1
     188  #  undef XLAT_STR_2
     189  #  undef XLAT_VAL_2
     190  #  undef XLAT_STR_3
     191  #  undef XLAT_VAL_3
     192  #  undef XLAT_STR_4
     193  #  undef XLAT_VAL_4
     194  #  undef XLAT_STR_5
     195  #  undef XLAT_VAL_5
     196  #  undef XLAT_STR_6
     197  #  undef XLAT_VAL_6
     198  #  undef XLAT_STR_7
     199  #  undef XLAT_VAL_7
     200  #  undef XLAT_STR_8
     201  #  undef XLAT_VAL_8
     202  # endif /* !IN_MPERS */
     203  
     204  #endif /* !XLAT_MACROS_ONLY */