• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/xdp_flags.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 xdp_flags in mpers mode
12 
13 # else
14 
15 static
16 const struct xlat xdp_flags[] = {
17 #if defined(XDP_FLAGS_MODES) || (defined(HAVE_DECL_XDP_FLAGS_MODES) && HAVE_DECL_XDP_FLAGS_MODES)
18   XLAT(XDP_FLAGS_MODES),
19 #endif
20 #if defined(XDP_FLAGS_UPDATE_IF_NOEXIST) || (defined(HAVE_DECL_XDP_FLAGS_UPDATE_IF_NOEXIST) && HAVE_DECL_XDP_FLAGS_UPDATE_IF_NOEXIST)
21   XLAT(XDP_FLAGS_UPDATE_IF_NOEXIST),
22 #endif
23 #if defined(XDP_FLAGS_SKB_MODE) || (defined(HAVE_DECL_XDP_FLAGS_SKB_MODE) && HAVE_DECL_XDP_FLAGS_SKB_MODE)
24   XLAT(XDP_FLAGS_SKB_MODE),
25 #endif
26 #if defined(XDP_FLAGS_DRV_MODE) || (defined(HAVE_DECL_XDP_FLAGS_DRV_MODE) && HAVE_DECL_XDP_FLAGS_DRV_MODE)
27   XLAT(XDP_FLAGS_DRV_MODE),
28 #endif
29 #if defined(XDP_FLAGS_HW_MODE) || (defined(HAVE_DECL_XDP_FLAGS_HW_MODE) && HAVE_DECL_XDP_FLAGS_HW_MODE)
30   XLAT(XDP_FLAGS_HW_MODE),
31 #endif
32  XLAT_END
33 };
34 
35 # endif /* !IN_MPERS */
36 
37 #endif /* !XLAT_MACROS_ONLY */
38