1 /* Generated by ./xlat/gen.sh from ./xlat/sock_packet_options.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 
7 #ifndef XLAT_MACROS_ONLY
8 
9 # ifdef IN_MPERS
10 
11 #  error static const struct xlat sock_packet_options in mpers mode
12 
13 # else
14 
15 static
16 const struct xlat sock_packet_options[] = {
17 #if defined(PACKET_ADD_MEMBERSHIP) || (defined(HAVE_DECL_PACKET_ADD_MEMBERSHIP) && HAVE_DECL_PACKET_ADD_MEMBERSHIP)
18   XLAT(PACKET_ADD_MEMBERSHIP),
19 #endif
20 #if defined(PACKET_DROP_MEMBERSHIP) || (defined(HAVE_DECL_PACKET_DROP_MEMBERSHIP) && HAVE_DECL_PACKET_DROP_MEMBERSHIP)
21   XLAT(PACKET_DROP_MEMBERSHIP),
22 #endif
23 #if defined(PACKET_RECV_OUTPUT) || (defined(HAVE_DECL_PACKET_RECV_OUTPUT) && HAVE_DECL_PACKET_RECV_OUTPUT)
24   XLAT(PACKET_RECV_OUTPUT),
25 #endif
26 #if defined(PACKET_RX_RING) || (defined(HAVE_DECL_PACKET_RX_RING) && HAVE_DECL_PACKET_RX_RING)
27   XLAT(PACKET_RX_RING),
28 #endif
29 #if defined(PACKET_STATISTICS) || (defined(HAVE_DECL_PACKET_STATISTICS) && HAVE_DECL_PACKET_STATISTICS)
30   XLAT(PACKET_STATISTICS),
31 #endif
32 #if defined(PACKET_COPY_THRESH) || (defined(HAVE_DECL_PACKET_COPY_THRESH) && HAVE_DECL_PACKET_COPY_THRESH)
33   XLAT(PACKET_COPY_THRESH),
34 #endif
35 #if defined(PACKET_AUXDATA) || (defined(HAVE_DECL_PACKET_AUXDATA) && HAVE_DECL_PACKET_AUXDATA)
36   XLAT(PACKET_AUXDATA),
37 #endif
38 #if defined(PACKET_ORIGDEV) || (defined(HAVE_DECL_PACKET_ORIGDEV) && HAVE_DECL_PACKET_ORIGDEV)
39   XLAT(PACKET_ORIGDEV),
40 #endif
41 #if defined(PACKET_VERSION) || (defined(HAVE_DECL_PACKET_VERSION) && HAVE_DECL_PACKET_VERSION)
42   XLAT(PACKET_VERSION),
43 #endif
44 #if defined(PACKET_HDRLEN) || (defined(HAVE_DECL_PACKET_HDRLEN) && HAVE_DECL_PACKET_HDRLEN)
45   XLAT(PACKET_HDRLEN),
46 #endif
47 #if defined(PACKET_RESERVE) || (defined(HAVE_DECL_PACKET_RESERVE) && HAVE_DECL_PACKET_RESERVE)
48   XLAT(PACKET_RESERVE),
49 #endif
50 #if defined(PACKET_TX_RING) || (defined(HAVE_DECL_PACKET_TX_RING) && HAVE_DECL_PACKET_TX_RING)
51   XLAT(PACKET_TX_RING),
52 #endif
53 #if defined(PACKET_LOSS) || (defined(HAVE_DECL_PACKET_LOSS) && HAVE_DECL_PACKET_LOSS)
54   XLAT(PACKET_LOSS),
55 #endif
56 #if defined(PACKET_VNET_HDR) || (defined(HAVE_DECL_PACKET_VNET_HDR) && HAVE_DECL_PACKET_VNET_HDR)
57   XLAT(PACKET_VNET_HDR),
58 #endif
59 #if defined(PACKET_TX_TIMESTAMP) || (defined(HAVE_DECL_PACKET_TX_TIMESTAMP) && HAVE_DECL_PACKET_TX_TIMESTAMP)
60   XLAT(PACKET_TX_TIMESTAMP),
61 #endif
62 #if defined(PACKET_TIMESTAMP) || (defined(HAVE_DECL_PACKET_TIMESTAMP) && HAVE_DECL_PACKET_TIMESTAMP)
63   XLAT(PACKET_TIMESTAMP),
64 #endif
65 #if defined(PACKET_FANOUT) || (defined(HAVE_DECL_PACKET_FANOUT) && HAVE_DECL_PACKET_FANOUT)
66   XLAT(PACKET_FANOUT),
67 #endif
68 #if defined(PACKET_TX_HAS_OFF) || (defined(HAVE_DECL_PACKET_TX_HAS_OFF) && HAVE_DECL_PACKET_TX_HAS_OFF)
69   XLAT(PACKET_TX_HAS_OFF),
70 #endif
71 #if defined(PACKET_QDISC_BYPASS) || (defined(HAVE_DECL_PACKET_QDISC_BYPASS) && HAVE_DECL_PACKET_QDISC_BYPASS)
72   XLAT(PACKET_QDISC_BYPASS),
73 #endif
74 #if defined(PACKET_ROLLOVER_STATS) || (defined(HAVE_DECL_PACKET_ROLLOVER_STATS) && HAVE_DECL_PACKET_ROLLOVER_STATS)
75   XLAT(PACKET_ROLLOVER_STATS),
76 #endif
77 #if defined(PACKET_FANOUT_DATA) || (defined(HAVE_DECL_PACKET_FANOUT_DATA) && HAVE_DECL_PACKET_FANOUT_DATA)
78   XLAT(PACKET_FANOUT_DATA),
79 #endif
80  XLAT_END
81 };
82 
83 # endif /* !IN_MPERS */
84 
85 #endif /* !XLAT_MACROS_ONLY */
86