1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_netconf_attrs.in; do not edit. */ 2 #if !(defined(NETCONFA_UNSPEC) || (defined(HAVE_DECL_NETCONFA_UNSPEC) && HAVE_DECL_NETCONFA_UNSPEC)) 3 # define NETCONFA_UNSPEC 0 4 #endif 5 #if !(defined(NETCONFA_IFINDEX) || (defined(HAVE_DECL_NETCONFA_IFINDEX) && HAVE_DECL_NETCONFA_IFINDEX)) 6 # define NETCONFA_IFINDEX 1 7 #endif 8 #if !(defined(NETCONFA_FORWARDING) || (defined(HAVE_DECL_NETCONFA_FORWARDING) && HAVE_DECL_NETCONFA_FORWARDING)) 9 # define NETCONFA_FORWARDING 2 10 #endif 11 #if !(defined(NETCONFA_RP_FILTER) || (defined(HAVE_DECL_NETCONFA_RP_FILTER) && HAVE_DECL_NETCONFA_RP_FILTER)) 12 # define NETCONFA_RP_FILTER 3 13 #endif 14 #if !(defined(NETCONFA_MC_FORWARDING) || (defined(HAVE_DECL_NETCONFA_MC_FORWARDING) && HAVE_DECL_NETCONFA_MC_FORWARDING)) 15 # define NETCONFA_MC_FORWARDING 4 16 #endif 17 #if !(defined(NETCONFA_PROXY_NEIGH) || (defined(HAVE_DECL_NETCONFA_PROXY_NEIGH) && HAVE_DECL_NETCONFA_PROXY_NEIGH)) 18 # define NETCONFA_PROXY_NEIGH 5 19 #endif 20 #if !(defined(NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN) || (defined(HAVE_DECL_NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN) && HAVE_DECL_NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN)) 21 # define NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN 6 22 #endif 23 #if !(defined(NETCONFA_INPUT) || (defined(HAVE_DECL_NETCONFA_INPUT) && HAVE_DECL_NETCONFA_INPUT)) 24 # define NETCONFA_INPUT 7 25 #endif 26 27 #ifdef IN_MPERS 28 29 # error static const struct xlat rtnl_netconf_attrs in mpers mode 30 31 #else 32 33 static 34 const struct xlat rtnl_netconf_attrs[] = { 35 XLAT(NETCONFA_UNSPEC), 36 XLAT(NETCONFA_IFINDEX), 37 XLAT(NETCONFA_FORWARDING), 38 XLAT(NETCONFA_RP_FILTER), 39 XLAT(NETCONFA_MC_FORWARDING), 40 XLAT(NETCONFA_PROXY_NEIGH), 41 XLAT(NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN), 42 XLAT(NETCONFA_INPUT), 43 XLAT_END 44 }; 45 46 #endif /* !IN_MPERS */ 47