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

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

DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPMRA_CREPORT_UNSPEC) == (0), "IPMRA_CREPORT_UNSPEC != 0");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPMRA_CREPORT_MSGTYPE) == (1), "IPMRA_CREPORT_MSGTYPE != 1");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPMRA_CREPORT_VIF_ID) == (2), "IPMRA_CREPORT_VIF_ID != 2");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPMRA_CREPORT_SRC_ADDR) == (3), "IPMRA_CREPORT_SRC_ADDR != 3");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPMRA_CREPORT_DST_ADDR) == (4), "IPMRA_CREPORT_DST_ADDR != 4");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPMRA_CREPORT_PKT) == (5), "IPMRA_CREPORT_PKT != 5");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((IPMRA_CREPORT_TABLE) == (6), "IPMRA_CREPORT_TABLE != 6");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#undef XLAT_PREV_VAL

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat rtnl_ipmra_creport_attr in mpers mode

# else

DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
static const struct xlat_data rtnl_ipmra_creport_attr_xdata[] = {
 [IPMRA_CREPORT_UNSPEC] = XLAT(IPMRA_CREPORT_UNSPEC),
 #define XLAT_VAL_0 ((unsigned) (IPMRA_CREPORT_UNSPEC))
 #define XLAT_STR_0 STRINGIFY(IPMRA_CREPORT_UNSPEC)
 [IPMRA_CREPORT_MSGTYPE] = XLAT(IPMRA_CREPORT_MSGTYPE),
 #define XLAT_VAL_1 ((unsigned) (IPMRA_CREPORT_MSGTYPE))
 #define XLAT_STR_1 STRINGIFY(IPMRA_CREPORT_MSGTYPE)
 [IPMRA_CREPORT_VIF_ID] = XLAT(IPMRA_CREPORT_VIF_ID),
 #define XLAT_VAL_2 ((unsigned) (IPMRA_CREPORT_VIF_ID))
 #define XLAT_STR_2 STRINGIFY(IPMRA_CREPORT_VIF_ID)
 [IPMRA_CREPORT_SRC_ADDR] = XLAT(IPMRA_CREPORT_SRC_ADDR),
 #define XLAT_VAL_3 ((unsigned) (IPMRA_CREPORT_SRC_ADDR))
 #define XLAT_STR_3 STRINGIFY(IPMRA_CREPORT_SRC_ADDR)
 [IPMRA_CREPORT_DST_ADDR] = XLAT(IPMRA_CREPORT_DST_ADDR),
 #define XLAT_VAL_4 ((unsigned) (IPMRA_CREPORT_DST_ADDR))
 #define XLAT_STR_4 STRINGIFY(IPMRA_CREPORT_DST_ADDR)
 [IPMRA_CREPORT_PKT] = XLAT(IPMRA_CREPORT_PKT),
 #define XLAT_VAL_5 ((unsigned) (IPMRA_CREPORT_PKT))
 #define XLAT_STR_5 STRINGIFY(IPMRA_CREPORT_PKT)
 [IPMRA_CREPORT_TABLE] = XLAT(IPMRA_CREPORT_TABLE),
 #define XLAT_VAL_6 ((unsigned) (IPMRA_CREPORT_TABLE))
 #define XLAT_STR_6 STRINGIFY(IPMRA_CREPORT_TABLE)
};
static
const struct xlat rtnl_ipmra_creport_attr[1] = { {
 .data = rtnl_ipmra_creport_attr_xdata,
 .size = ARRAY_SIZE(rtnl_ipmra_creport_attr_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
#  ifdef XLAT_VAL_4
  | XLAT_VAL_4
#  endif
#  ifdef XLAT_VAL_5
  | XLAT_VAL_5
#  endif
#  ifdef XLAT_VAL_6
  | XLAT_VAL_6
#  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
#  ifdef XLAT_STR_4
  + sizeof(XLAT_STR_4)
#  endif
#  ifdef XLAT_STR_5
  + sizeof(XLAT_STR_5)
#  endif
#  ifdef XLAT_STR_6
  + sizeof(XLAT_STR_6)
#  endif
  ,
} };
DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE

#  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
#  undef XLAT_STR_4
#  undef XLAT_VAL_4
#  undef XLAT_STR_5
#  undef XLAT_VAL_5
#  undef XLAT_STR_6
#  undef XLAT_VAL_6
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
