Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/nlmsgerr_attrs.in; do not edit. */
      2 #if !(defined(NLMSGERR_ATTR_UNUSED) || (defined(HAVE_DECL_NLMSGERR_ATTR_UNUSED) && HAVE_DECL_NLMSGERR_ATTR_UNUSED))
      3 # define NLMSGERR_ATTR_UNUSED 0
      4 #endif
      5 #if !(defined(NLMSGERR_ATTR_MSG) || (defined(HAVE_DECL_NLMSGERR_ATTR_MSG) && HAVE_DECL_NLMSGERR_ATTR_MSG))
      6 # define NLMSGERR_ATTR_MSG 1
      7 #endif
      8 #if !(defined(NLMSGERR_ATTR_OFFS) || (defined(HAVE_DECL_NLMSGERR_ATTR_OFFS) && HAVE_DECL_NLMSGERR_ATTR_OFFS))
      9 # define NLMSGERR_ATTR_OFFS 2
     10 #endif
     11 #if !(defined(NLMSGERR_ATTR_COOKIE) || (defined(HAVE_DECL_NLMSGERR_ATTR_COOKIE) && HAVE_DECL_NLMSGERR_ATTR_COOKIE))
     12 # define NLMSGERR_ATTR_COOKIE 3
     13 #endif
     14 
     15 #ifdef IN_MPERS
     16 
     17 # error static const struct xlat nlmsgerr_attrs in mpers mode
     18 
     19 #else
     20 
     21 static
     22 const struct xlat nlmsgerr_attrs[] = {
     23  XLAT(NLMSGERR_ATTR_UNUSED),
     24  XLAT(NLMSGERR_ATTR_MSG),
     25  XLAT(NLMSGERR_ATTR_OFFS),
     26  XLAT(NLMSGERR_ATTR_COOKIE),
     27  XLAT_END
     28 };
     29 
     30 #endif /* !IN_MPERS */
     31