1 /* Generated by ./xlat/gen.sh from ./xlat/socknetlinkoptions.in; do not edit. */ 2 #if !(defined(NETLINK_ADD_MEMBERSHIP) || (defined(HAVE_DECL_NETLINK_ADD_MEMBERSHIP) && HAVE_DECL_NETLINK_ADD_MEMBERSHIP)) 3 # define NETLINK_ADD_MEMBERSHIP 1 4 #endif 5 #if !(defined(NETLINK_DROP_MEMBERSHIP) || (defined(HAVE_DECL_NETLINK_DROP_MEMBERSHIP) && HAVE_DECL_NETLINK_DROP_MEMBERSHIP)) 6 # define NETLINK_DROP_MEMBERSHIP 2 7 #endif 8 #if !(defined(NETLINK_PKTINFO) || (defined(HAVE_DECL_NETLINK_PKTINFO) && HAVE_DECL_NETLINK_PKTINFO)) 9 # define NETLINK_PKTINFO 3 10 #endif 11 #if !(defined(NETLINK_BROADCAST_ERROR) || (defined(HAVE_DECL_NETLINK_BROADCAST_ERROR) && HAVE_DECL_NETLINK_BROADCAST_ERROR)) 12 # define NETLINK_BROADCAST_ERROR 4 13 #endif 14 #if !(defined(NETLINK_NO_ENOBUFS) || (defined(HAVE_DECL_NETLINK_NO_ENOBUFS) && HAVE_DECL_NETLINK_NO_ENOBUFS)) 15 # define NETLINK_NO_ENOBUFS 5 16 #endif 17 #if !(defined(NETLINK_RX_RING) || (defined(HAVE_DECL_NETLINK_RX_RING) && HAVE_DECL_NETLINK_RX_RING)) 18 # define NETLINK_RX_RING 6 19 #endif 20 #if !(defined(NETLINK_TX_RING) || (defined(HAVE_DECL_NETLINK_TX_RING) && HAVE_DECL_NETLINK_TX_RING)) 21 # define NETLINK_TX_RING 7 22 #endif 23 #if !(defined(NETLINK_LISTEN_ALL_NSID) || (defined(HAVE_DECL_NETLINK_LISTEN_ALL_NSID) && HAVE_DECL_NETLINK_LISTEN_ALL_NSID)) 24 # define NETLINK_LISTEN_ALL_NSID 8 25 #endif 26 #if !(defined(NETLINK_LIST_MEMBERSHIPS) || (defined(HAVE_DECL_NETLINK_LIST_MEMBERSHIPS) && HAVE_DECL_NETLINK_LIST_MEMBERSHIPS)) 27 # define NETLINK_LIST_MEMBERSHIPS 9 28 #endif 29 #if !(defined(NETLINK_CAP_ACK) || (defined(HAVE_DECL_NETLINK_CAP_ACK) && HAVE_DECL_NETLINK_CAP_ACK)) 30 # define NETLINK_CAP_ACK 10 31 #endif 32 #if !(defined(NETLINK_EXT_ACK) || (defined(HAVE_DECL_NETLINK_EXT_ACK) && HAVE_DECL_NETLINK_EXT_ACK)) 33 # define NETLINK_EXT_ACK 11 34 #endif 35 36 #ifdef IN_MPERS 37 38 # error static const struct xlat socknetlinkoptions in mpers mode 39 40 #else 41 42 static 43 const struct xlat socknetlinkoptions[] = { 44 XLAT(NETLINK_ADD_MEMBERSHIP), 45 XLAT(NETLINK_DROP_MEMBERSHIP), 46 XLAT(NETLINK_PKTINFO), 47 XLAT(NETLINK_BROADCAST_ERROR), 48 XLAT(NETLINK_NO_ENOBUFS), 49 XLAT(NETLINK_RX_RING), 50 XLAT(NETLINK_TX_RING), 51 XLAT(NETLINK_LISTEN_ALL_NSID), 52 XLAT(NETLINK_LIST_MEMBERSHIPS), 53 XLAT(NETLINK_CAP_ACK), 54 XLAT(NETLINK_EXT_ACK), 55 XLAT_END 56 }; 57 58 #endif /* !IN_MPERS */ 59