1 /* Generated by ./xlat/gen.sh from ./xlat/fib_rule_actions.in; do not edit. */ 2 #if !(defined(FR_ACT_UNSPEC) || (defined(HAVE_DECL_FR_ACT_UNSPEC) && HAVE_DECL_FR_ACT_UNSPEC)) 3 # define FR_ACT_UNSPEC 0 4 #endif 5 #if !(defined(FR_ACT_TO_TBL) || (defined(HAVE_DECL_FR_ACT_TO_TBL) && HAVE_DECL_FR_ACT_TO_TBL)) 6 # define FR_ACT_TO_TBL 1 7 #endif 8 #if !(defined(FR_ACT_GOTO) || (defined(HAVE_DECL_FR_ACT_GOTO) && HAVE_DECL_FR_ACT_GOTO)) 9 # define FR_ACT_GOTO 2 10 #endif 11 #if !(defined(FR_ACT_NOP) || (defined(HAVE_DECL_FR_ACT_NOP) && HAVE_DECL_FR_ACT_NOP)) 12 # define FR_ACT_NOP 3 13 #endif 14 #if !(defined(FR_ACT_RES3) || (defined(HAVE_DECL_FR_ACT_RES3) && HAVE_DECL_FR_ACT_RES3)) 15 # define FR_ACT_RES3 4 16 #endif 17 #if !(defined(FR_ACT_RES4) || (defined(HAVE_DECL_FR_ACT_RES4) && HAVE_DECL_FR_ACT_RES4)) 18 # define FR_ACT_RES4 5 19 #endif 20 #if !(defined(FR_ACT_BLACKHOLE) || (defined(HAVE_DECL_FR_ACT_BLACKHOLE) && HAVE_DECL_FR_ACT_BLACKHOLE)) 21 # define FR_ACT_BLACKHOLE 6 22 #endif 23 #if !(defined(FR_ACT_UNREACHABLE) || (defined(HAVE_DECL_FR_ACT_UNREACHABLE) && HAVE_DECL_FR_ACT_UNREACHABLE)) 24 # define FR_ACT_UNREACHABLE 7 25 #endif 26 #if !(defined(FR_ACT_PROHIBIT) || (defined(HAVE_DECL_FR_ACT_PROHIBIT) && HAVE_DECL_FR_ACT_PROHIBIT)) 27 # define FR_ACT_PROHIBIT 8 28 #endif 29 30 #ifdef IN_MPERS 31 32 # error static const struct xlat fib_rule_actions in mpers mode 33 34 #else 35 36 static 37 const struct xlat fib_rule_actions[] = { 38 XLAT(FR_ACT_UNSPEC), 39 XLAT(FR_ACT_TO_TBL), 40 XLAT(FR_ACT_GOTO), 41 XLAT(FR_ACT_NOP), 42 XLAT(FR_ACT_RES3), 43 XLAT(FR_ACT_RES4), 44 XLAT(FR_ACT_BLACKHOLE), 45 XLAT(FR_ACT_UNREACHABLE), 46 XLAT(FR_ACT_PROHIBIT), 47 XLAT_END 48 }; 49 50 #endif /* !IN_MPERS */ 51