/* Generated by ./xlat/gen.sh from ./xlat/nf_ctnetlink_exp_msg_types.in; do not edit. */

#include "gcc_compat.h"
#include "static_assert.h"

#if defined(IPCTNL_MSG_EXP_NEW) || (defined(HAVE_DECL_IPCTNL_MSG_EXP_NEW) && HAVE_DECL_IPCTNL_MSG_EXP_NEW)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPCTNL_MSG_EXP_NEW) == (0), "IPCTNL_MSG_EXP_NEW != 0");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define IPCTNL_MSG_EXP_NEW 0
#endif
#if defined(IPCTNL_MSG_EXP_GET) || (defined(HAVE_DECL_IPCTNL_MSG_EXP_GET) && HAVE_DECL_IPCTNL_MSG_EXP_GET)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPCTNL_MSG_EXP_GET) == (1), "IPCTNL_MSG_EXP_GET != 1");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define IPCTNL_MSG_EXP_GET 1
#endif
#if defined(IPCTNL_MSG_EXP_DELETE) || (defined(HAVE_DECL_IPCTNL_MSG_EXP_DELETE) && HAVE_DECL_IPCTNL_MSG_EXP_DELETE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPCTNL_MSG_EXP_DELETE) == (2), "IPCTNL_MSG_EXP_DELETE != 2");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define IPCTNL_MSG_EXP_DELETE 2
#endif
#if defined(IPCTNL_MSG_EXP_GET_STATS_CPU) || (defined(HAVE_DECL_IPCTNL_MSG_EXP_GET_STATS_CPU) && HAVE_DECL_IPCTNL_MSG_EXP_GET_STATS_CPU)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPCTNL_MSG_EXP_GET_STATS_CPU) == (3), "IPCTNL_MSG_EXP_GET_STATS_CPU != 3");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define IPCTNL_MSG_EXP_GET_STATS_CPU 3
#endif

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat nf_ctnetlink_exp_msg_types in mpers mode

# else

static const struct xlat_data nf_ctnetlink_exp_msg_types_xdata[] = {
 [IPCTNL_MSG_EXP_NEW] = XLAT(IPCTNL_MSG_EXP_NEW),
 #define XLAT_VAL_0 ((unsigned) (IPCTNL_MSG_EXP_NEW))
 #define XLAT_STR_0 STRINGIFY(IPCTNL_MSG_EXP_NEW)
 [IPCTNL_MSG_EXP_GET] = XLAT(IPCTNL_MSG_EXP_GET),
 #define XLAT_VAL_1 ((unsigned) (IPCTNL_MSG_EXP_GET))
 #define XLAT_STR_1 STRINGIFY(IPCTNL_MSG_EXP_GET)
 [IPCTNL_MSG_EXP_DELETE] = XLAT(IPCTNL_MSG_EXP_DELETE),
 #define XLAT_VAL_2 ((unsigned) (IPCTNL_MSG_EXP_DELETE))
 #define XLAT_STR_2 STRINGIFY(IPCTNL_MSG_EXP_DELETE)
 [IPCTNL_MSG_EXP_GET_STATS_CPU] = XLAT(IPCTNL_MSG_EXP_GET_STATS_CPU),
 #define XLAT_VAL_3 ((unsigned) (IPCTNL_MSG_EXP_GET_STATS_CPU))
 #define XLAT_STR_3 STRINGIFY(IPCTNL_MSG_EXP_GET_STATS_CPU)
};
static
const struct xlat nf_ctnetlink_exp_msg_types[1] = { {
 .data = nf_ctnetlink_exp_msg_types_xdata,
 .size = ARRAY_SIZE(nf_ctnetlink_exp_msg_types_xdata),
 .type = XT_INDEXED,
 .flags_mask = 0
#  ifdef XLAT_VAL_0
  | XLAT_VAL_0
#  endif
#  ifdef XLAT_VAL_1
  | XLAT_VAL_1
#  endif
#  ifdef XLAT_VAL_2
  | XLAT_VAL_2
#  endif
#  ifdef XLAT_VAL_3
  | XLAT_VAL_3
#  endif
  ,
 .flags_strsz = 0
#  ifdef XLAT_STR_0
  + sizeof(XLAT_STR_0)
#  endif
#  ifdef XLAT_STR_1
  + sizeof(XLAT_STR_1)
#  endif
#  ifdef XLAT_STR_2
  + sizeof(XLAT_STR_2)
#  endif
#  ifdef XLAT_STR_3
  + sizeof(XLAT_STR_3)
#  endif
  ,
} };

#  undef XLAT_STR_0
#  undef XLAT_VAL_0
#  undef XLAT_STR_1
#  undef XLAT_VAL_1
#  undef XLAT_STR_2
#  undef XLAT_VAL_2
#  undef XLAT_STR_3
#  undef XLAT_VAL_3
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
