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

#ifdef IN_MPERS

# error static const struct xlat socknetlinkoptions in mpers mode

#else

static
const struct xlat socknetlinkoptions[] = {
 XLAT(NETLINK_ADD_MEMBERSHIP),
 XLAT(NETLINK_DROP_MEMBERSHIP),
 XLAT(NETLINK_PKTINFO),
 XLAT(NETLINK_BROADCAST_ERROR),
 XLAT(NETLINK_NO_ENOBUFS),
 XLAT(NETLINK_RX_RING),
 XLAT(NETLINK_TX_RING),
 XLAT(NETLINK_LISTEN_ALL_NSID),
 XLAT(NETLINK_LIST_MEMBERSHIPS),
 XLAT(NETLINK_CAP_ACK),
 XLAT(NETLINK_EXT_ACK),
 XLAT_END
};

#endif /* !IN_MPERS */