1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_addr_attrs.in; do not edit. */ 2 #if !(defined(IFA_UNSPEC) || (defined(HAVE_DECL_IFA_UNSPEC) && HAVE_DECL_IFA_UNSPEC)) 3 # define IFA_UNSPEC 0 4 #endif 5 #if !(defined(IFA_ADDRESS) || (defined(HAVE_DECL_IFA_ADDRESS) && HAVE_DECL_IFA_ADDRESS)) 6 # define IFA_ADDRESS 1 7 #endif 8 #if !(defined(IFA_LOCAL) || (defined(HAVE_DECL_IFA_LOCAL) && HAVE_DECL_IFA_LOCAL)) 9 # define IFA_LOCAL 2 10 #endif 11 #if !(defined(IFA_LABEL) || (defined(HAVE_DECL_IFA_LABEL) && HAVE_DECL_IFA_LABEL)) 12 # define IFA_LABEL 3 13 #endif 14 #if !(defined(IFA_BROADCAST) || (defined(HAVE_DECL_IFA_BROADCAST) && HAVE_DECL_IFA_BROADCAST)) 15 # define IFA_BROADCAST 4 16 #endif 17 #if !(defined(IFA_ANYCAST) || (defined(HAVE_DECL_IFA_ANYCAST) && HAVE_DECL_IFA_ANYCAST)) 18 # define IFA_ANYCAST 5 19 #endif 20 #if !(defined(IFA_CACHEINFO) || (defined(HAVE_DECL_IFA_CACHEINFO) && HAVE_DECL_IFA_CACHEINFO)) 21 # define IFA_CACHEINFO 6 22 #endif 23 #if !(defined(IFA_MULTICAST) || (defined(HAVE_DECL_IFA_MULTICAST) && HAVE_DECL_IFA_MULTICAST)) 24 # define IFA_MULTICAST 7 25 #endif 26 #if !(defined(IFA_FLAGS) || (defined(HAVE_DECL_IFA_FLAGS) && HAVE_DECL_IFA_FLAGS)) 27 # define IFA_FLAGS 8 28 #endif 29 30 #ifdef IN_MPERS 31 32 # error static const struct xlat rtnl_addr_attrs in mpers mode 33 34 #else 35 36 static 37 const struct xlat rtnl_addr_attrs[] = { 38 XLAT(IFA_UNSPEC), 39 XLAT(IFA_ADDRESS), 40 XLAT(IFA_LOCAL), 41 XLAT(IFA_LABEL), 42 XLAT(IFA_BROADCAST), 43 XLAT(IFA_ANYCAST), 44 XLAT(IFA_CACHEINFO), 45 XLAT(IFA_MULTICAST), 46 XLAT(IFA_FLAGS), 47 XLAT_END 48 }; 49 50 #endif /* !IN_MPERS */ 51