1 /* Generated by ./xlat/gen.sh from ./xlat/routing_types.in; do not edit. */ 2 #if !(defined(RTN_UNSPEC) || (defined(HAVE_DECL_RTN_UNSPEC) && HAVE_DECL_RTN_UNSPEC)) 3 # define RTN_UNSPEC 0 4 #endif 5 #if !(defined(RTN_UNICAST) || (defined(HAVE_DECL_RTN_UNICAST) && HAVE_DECL_RTN_UNICAST)) 6 # define RTN_UNICAST 1 7 #endif 8 #if !(defined(RTN_LOCAL) || (defined(HAVE_DECL_RTN_LOCAL) && HAVE_DECL_RTN_LOCAL)) 9 # define RTN_LOCAL 2 10 #endif 11 #if !(defined(RTN_BROADCAST) || (defined(HAVE_DECL_RTN_BROADCAST) && HAVE_DECL_RTN_BROADCAST)) 12 # define RTN_BROADCAST 3 13 #endif 14 #if !(defined(RTN_ANYCAST) || (defined(HAVE_DECL_RTN_ANYCAST) && HAVE_DECL_RTN_ANYCAST)) 15 # define RTN_ANYCAST 4 16 #endif 17 #if !(defined(RTN_MULTICAST) || (defined(HAVE_DECL_RTN_MULTICAST) && HAVE_DECL_RTN_MULTICAST)) 18 # define RTN_MULTICAST 5 19 #endif 20 #if !(defined(RTN_BLACKHOLE) || (defined(HAVE_DECL_RTN_BLACKHOLE) && HAVE_DECL_RTN_BLACKHOLE)) 21 # define RTN_BLACKHOLE 6 22 #endif 23 #if !(defined(RTN_UNREACHABLE) || (defined(HAVE_DECL_RTN_UNREACHABLE) && HAVE_DECL_RTN_UNREACHABLE)) 24 # define RTN_UNREACHABLE 7 25 #endif 26 #if !(defined(RTN_PROHIBIT) || (defined(HAVE_DECL_RTN_PROHIBIT) && HAVE_DECL_RTN_PROHIBIT)) 27 # define RTN_PROHIBIT 8 28 #endif 29 #if !(defined(RTN_THROW) || (defined(HAVE_DECL_RTN_THROW) && HAVE_DECL_RTN_THROW)) 30 # define RTN_THROW 9 31 #endif 32 #if !(defined(RTN_NAT) || (defined(HAVE_DECL_RTN_NAT) && HAVE_DECL_RTN_NAT)) 33 # define RTN_NAT 10 34 #endif 35 #if !(defined(RTN_XRESOLVE) || (defined(HAVE_DECL_RTN_XRESOLVE) && HAVE_DECL_RTN_XRESOLVE)) 36 # define RTN_XRESOLVE 11 37 #endif 38 39 #ifndef IN_MPERS 40 41 const struct xlat routing_types[] = { 42 XLAT(RTN_UNSPEC), 43 XLAT(RTN_UNICAST), 44 XLAT(RTN_LOCAL), 45 XLAT(RTN_BROADCAST), 46 XLAT(RTN_ANYCAST), 47 XLAT(RTN_MULTICAST), 48 XLAT(RTN_BLACKHOLE), 49 XLAT(RTN_UNREACHABLE), 50 XLAT(RTN_PROHIBIT), 51 XLAT(RTN_THROW), 52 XLAT(RTN_NAT), 53 XLAT(RTN_XRESOLVE), 54 XLAT_END 55 }; 56 57 #endif /* !IN_MPERS */ 58