1 /* Generated by ./xlat/gen.sh from ./xlat/netlink_types.in; do not edit. */ 2 #if !(defined(NLMSG_NOOP) || (defined(HAVE_DECL_NLMSG_NOOP) && HAVE_DECL_NLMSG_NOOP)) 3 # define NLMSG_NOOP 0x1 4 #endif 5 #if !(defined(NLMSG_ERROR) || (defined(HAVE_DECL_NLMSG_ERROR) && HAVE_DECL_NLMSG_ERROR)) 6 # define NLMSG_ERROR 0x2 7 #endif 8 #if !(defined(NLMSG_DONE) || (defined(HAVE_DECL_NLMSG_DONE) && HAVE_DECL_NLMSG_DONE)) 9 # define NLMSG_DONE 0x3 10 #endif 11 #if !(defined(NLMSG_OVERRUN) || (defined(HAVE_DECL_NLMSG_OVERRUN) && HAVE_DECL_NLMSG_OVERRUN)) 12 # define NLMSG_OVERRUN 0x4 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat netlink_types in mpers mode 18 19 #else 20 21 static 22 const struct xlat netlink_types[] = { 23 XLAT(NLMSG_NOOP), 24 XLAT(NLMSG_ERROR), 25 XLAT(NLMSG_DONE), 26 XLAT(NLMSG_OVERRUN), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31