Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_tc_action_attrs.in; do not edit. */
      2 #if !(defined(TCA_ACT_UNSPEC) || (defined(HAVE_DECL_TCA_ACT_UNSPEC) && HAVE_DECL_TCA_ACT_UNSPEC))
      3 # define TCA_ACT_UNSPEC 0
      4 #endif
      5 #if !(defined(TCA_ACT_KIND) || (defined(HAVE_DECL_TCA_ACT_KIND) && HAVE_DECL_TCA_ACT_KIND))
      6 # define TCA_ACT_KIND 1
      7 #endif
      8 #if !(defined(TCA_ACT_OPTIONS) || (defined(HAVE_DECL_TCA_ACT_OPTIONS) && HAVE_DECL_TCA_ACT_OPTIONS))
      9 # define TCA_ACT_OPTIONS 2
     10 #endif
     11 #if !(defined(TCA_ACT_INDEX) || (defined(HAVE_DECL_TCA_ACT_INDEX) && HAVE_DECL_TCA_ACT_INDEX))
     12 # define TCA_ACT_INDEX 3
     13 #endif
     14 #if !(defined(TCA_ACT_STATS) || (defined(HAVE_DECL_TCA_ACT_STATS) && HAVE_DECL_TCA_ACT_STATS))
     15 # define TCA_ACT_STATS 4
     16 #endif
     17 #if !(defined(TCA_ACT_PAD) || (defined(HAVE_DECL_TCA_ACT_PAD) && HAVE_DECL_TCA_ACT_PAD))
     18 # define TCA_ACT_PAD 5
     19 #endif
     20 #if !(defined(TCA_ACT_COOKIE) || (defined(HAVE_DECL_TCA_ACT_COOKIE) && HAVE_DECL_TCA_ACT_COOKIE))
     21 # define TCA_ACT_COOKIE 6
     22 #endif
     23 
     24 #ifdef IN_MPERS
     25 
     26 # error static const struct xlat rtnl_tc_action_attrs in mpers mode
     27 
     28 #else
     29 
     30 static
     31 const struct xlat rtnl_tc_action_attrs[] = {
     32  XLAT(TCA_ACT_UNSPEC),
     33  XLAT(TCA_ACT_KIND),
     34  XLAT(TCA_ACT_OPTIONS),
     35  XLAT(TCA_ACT_INDEX),
     36  XLAT(TCA_ACT_STATS),
     37  XLAT(TCA_ACT_PAD),
     38  XLAT(TCA_ACT_COOKIE),
     39  XLAT_END
     40 };
     41 
     42 #endif /* !IN_MPERS */
     43