Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_neigh_attrs.in; do not edit. */
      2 #if !(defined(NDA_UNSPEC) || (defined(HAVE_DECL_NDA_UNSPEC) && HAVE_DECL_NDA_UNSPEC))
      3 # define NDA_UNSPEC 0
      4 #endif
      5 #if !(defined(NDA_DST) || (defined(HAVE_DECL_NDA_DST) && HAVE_DECL_NDA_DST))
      6 # define NDA_DST 1
      7 #endif
      8 #if !(defined(NDA_LLADDR) || (defined(HAVE_DECL_NDA_LLADDR) && HAVE_DECL_NDA_LLADDR))
      9 # define NDA_LLADDR 2
     10 #endif
     11 #if !(defined(NDA_CACHEINFO) || (defined(HAVE_DECL_NDA_CACHEINFO) && HAVE_DECL_NDA_CACHEINFO))
     12 # define NDA_CACHEINFO 3
     13 #endif
     14 #if !(defined(NDA_PROBES) || (defined(HAVE_DECL_NDA_PROBES) && HAVE_DECL_NDA_PROBES))
     15 # define NDA_PROBES 4
     16 #endif
     17 #if !(defined(NDA_VLAN) || (defined(HAVE_DECL_NDA_VLAN) && HAVE_DECL_NDA_VLAN))
     18 # define NDA_VLAN 5
     19 #endif
     20 #if !(defined(NDA_PORT) || (defined(HAVE_DECL_NDA_PORT) && HAVE_DECL_NDA_PORT))
     21 # define NDA_PORT 6
     22 #endif
     23 #if !(defined(NDA_VNI) || (defined(HAVE_DECL_NDA_VNI) && HAVE_DECL_NDA_VNI))
     24 # define NDA_VNI 7
     25 #endif
     26 #if !(defined(NDA_IFINDEX) || (defined(HAVE_DECL_NDA_IFINDEX) && HAVE_DECL_NDA_IFINDEX))
     27 # define NDA_IFINDEX 8
     28 #endif
     29 #if !(defined(NDA_MASTER) || (defined(HAVE_DECL_NDA_MASTER) && HAVE_DECL_NDA_MASTER))
     30 # define NDA_MASTER 9
     31 #endif
     32 #if !(defined(NDA_LINK_NETNSID) || (defined(HAVE_DECL_NDA_LINK_NETNSID) && HAVE_DECL_NDA_LINK_NETNSID))
     33 # define NDA_LINK_NETNSID 10
     34 #endif
     35 #if !(defined(NDA_SRC_VNI) || (defined(HAVE_DECL_NDA_SRC_VNI) && HAVE_DECL_NDA_SRC_VNI))
     36 # define NDA_SRC_VNI 11
     37 #endif
     38 
     39 #ifdef IN_MPERS
     40 
     41 # error static const struct xlat rtnl_neigh_attrs in mpers mode
     42 
     43 #else
     44 
     45 static
     46 const struct xlat rtnl_neigh_attrs[] = {
     47  XLAT(NDA_UNSPEC),
     48  XLAT(NDA_DST),
     49  XLAT(NDA_LLADDR),
     50  XLAT(NDA_CACHEINFO),
     51  XLAT(NDA_PROBES),
     52  XLAT(NDA_VLAN),
     53  XLAT(NDA_PORT),
     54  XLAT(NDA_VNI),
     55  XLAT(NDA_IFINDEX),
     56  XLAT(NDA_MASTER),
     57  XLAT(NDA_LINK_NETNSID),
     58  XLAT(NDA_SRC_VNI),
     59  XLAT_END
     60 };
     61 
     62 #endif /* !IN_MPERS */
     63