1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_tc_attrs.in; do not edit. */ 2 #if !(defined(TCA_UNSPEC) || (defined(HAVE_DECL_TCA_UNSPEC) && HAVE_DECL_TCA_UNSPEC)) 3 # define TCA_UNSPEC 0 4 #endif 5 #if !(defined(TCA_KIND) || (defined(HAVE_DECL_TCA_KIND) && HAVE_DECL_TCA_KIND)) 6 # define TCA_KIND 1 7 #endif 8 #if !(defined(TCA_OPTIONS) || (defined(HAVE_DECL_TCA_OPTIONS) && HAVE_DECL_TCA_OPTIONS)) 9 # define TCA_OPTIONS 2 10 #endif 11 #if !(defined(TCA_STATS) || (defined(HAVE_DECL_TCA_STATS) && HAVE_DECL_TCA_STATS)) 12 # define TCA_STATS 3 13 #endif 14 #if !(defined(TCA_XSTATS) || (defined(HAVE_DECL_TCA_XSTATS) && HAVE_DECL_TCA_XSTATS)) 15 # define TCA_XSTATS 4 16 #endif 17 #if !(defined(TCA_RATE) || (defined(HAVE_DECL_TCA_RATE) && HAVE_DECL_TCA_RATE)) 18 # define TCA_RATE 5 19 #endif 20 #if !(defined(TCA_FCNT) || (defined(HAVE_DECL_TCA_FCNT) && HAVE_DECL_TCA_FCNT)) 21 # define TCA_FCNT 6 22 #endif 23 #if !(defined(TCA_STATS2) || (defined(HAVE_DECL_TCA_STATS2) && HAVE_DECL_TCA_STATS2)) 24 # define TCA_STATS2 7 25 #endif 26 #if !(defined(TCA_STAB) || (defined(HAVE_DECL_TCA_STAB) && HAVE_DECL_TCA_STAB)) 27 # define TCA_STAB 8 28 #endif 29 #if !(defined(TCA_PAD) || (defined(HAVE_DECL_TCA_PAD) && HAVE_DECL_TCA_PAD)) 30 # define TCA_PAD 9 31 #endif 32 #if !(defined(TCA_DUMP_INVISIBLE) || (defined(HAVE_DECL_TCA_DUMP_INVISIBLE) && HAVE_DECL_TCA_DUMP_INVISIBLE)) 33 # define TCA_DUMP_INVISIBLE 10 34 #endif 35 #if !(defined(TCA_CHAIN) || (defined(HAVE_DECL_TCA_CHAIN) && HAVE_DECL_TCA_CHAIN)) 36 # define TCA_CHAIN 11 37 #endif 38 39 #ifdef IN_MPERS 40 41 # error static const struct xlat rtnl_tc_attrs in mpers mode 42 43 #else 44 45 static 46 const struct xlat rtnl_tc_attrs[] = { 47 XLAT(TCA_UNSPEC), 48 XLAT(TCA_KIND), 49 XLAT(TCA_OPTIONS), 50 XLAT(TCA_STATS), 51 XLAT(TCA_XSTATS), 52 XLAT(TCA_RATE), 53 XLAT(TCA_FCNT), 54 XLAT(TCA_STATS2), 55 XLAT(TCA_STAB), 56 XLAT(TCA_PAD), 57 XLAT(TCA_DUMP_INVISIBLE), 58 XLAT(TCA_CHAIN), 59 XLAT_END 60 }; 61 62 #endif /* !IN_MPERS */ 63