Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_nsid_attrs.in; do not edit. */
      2 #if !(defined(NETNSA_NSID_NOT_ASSIGNED) || (defined(HAVE_DECL_NETNSA_NSID_NOT_ASSIGNED) && HAVE_DECL_NETNSA_NSID_NOT_ASSIGNED))
      3 # define NETNSA_NSID_NOT_ASSIGNED -1
      4 #endif
      5 #if !(defined(NETNSA_NONE) || (defined(HAVE_DECL_NETNSA_NONE) && HAVE_DECL_NETNSA_NONE))
      6 # define NETNSA_NONE 0
      7 #endif
      8 #if !(defined(NETNSA_NSID) || (defined(HAVE_DECL_NETNSA_NSID) && HAVE_DECL_NETNSA_NSID))
      9 # define NETNSA_NSID 1
     10 #endif
     11 #if !(defined(NETNSA_PID) || (defined(HAVE_DECL_NETNSA_PID) && HAVE_DECL_NETNSA_PID))
     12 # define NETNSA_PID 2
     13 #endif
     14 #if !(defined(NETNSA_FD) || (defined(HAVE_DECL_NETNSA_FD) && HAVE_DECL_NETNSA_FD))
     15 # define NETNSA_FD 3
     16 #endif
     17 
     18 #ifdef IN_MPERS
     19 
     20 # error static const struct xlat rtnl_nsid_attrs in mpers mode
     21 
     22 #else
     23 
     24 static
     25 const struct xlat rtnl_nsid_attrs[] = {
     26  XLAT(NETNSA_NSID_NOT_ASSIGNED),
     27  XLAT(NETNSA_NONE),
     28  XLAT(NETNSA_NSID),
     29  XLAT(NETNSA_PID),
     30  XLAT(NETNSA_FD),
     31  XLAT_END
     32 };
     33 
     34 #endif /* !IN_MPERS */
     35