You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
/* Generated by ./xlat/gen.sh from ./xlat/netlink_flags.in; do not edit. */ |
|
#if !(defined(NLM_F_REQUEST) || (defined(HAVE_DECL_NLM_F_REQUEST) && HAVE_DECL_NLM_F_REQUEST)) |
|
# define NLM_F_REQUEST 0x1 |
|
#endif |
|
#if !(defined(NLM_F_MULTI) || (defined(HAVE_DECL_NLM_F_MULTI) && HAVE_DECL_NLM_F_MULTI)) |
|
# define NLM_F_MULTI 0x2 |
|
#endif |
|
#if !(defined(NLM_F_ACK) || (defined(HAVE_DECL_NLM_F_ACK) && HAVE_DECL_NLM_F_ACK)) |
|
# define NLM_F_ACK 0x4 |
|
#endif |
|
#if !(defined(NLM_F_ECHO) || (defined(HAVE_DECL_NLM_F_ECHO) && HAVE_DECL_NLM_F_ECHO)) |
|
# define NLM_F_ECHO 0x8 |
|
#endif |
|
#if !(defined(NLM_F_DUMP_INTR) || (defined(HAVE_DECL_NLM_F_DUMP_INTR) && HAVE_DECL_NLM_F_DUMP_INTR)) |
|
# define NLM_F_DUMP_INTR 0x10 |
|
#endif |
|
#if !(defined(NLM_F_DUMP_FILTERED) || (defined(HAVE_DECL_NLM_F_DUMP_FILTERED) && HAVE_DECL_NLM_F_DUMP_FILTERED)) |
|
# define NLM_F_DUMP_FILTERED 0x20 |
|
#endif |
|
|
|
#ifdef IN_MPERS |
|
|
|
# error static const struct xlat netlink_flags in mpers mode |
|
|
|
#else |
|
|
|
static |
|
const struct xlat netlink_flags[] = { |
|
XLAT(NLM_F_REQUEST), |
|
XLAT(NLM_F_MULTI), |
|
XLAT(NLM_F_ACK), |
|
XLAT(NLM_F_ECHO), |
|
XLAT(NLM_F_DUMP_INTR), |
|
XLAT(NLM_F_DUMP_FILTERED), |
|
XLAT_END |
|
}; |
|
|
|
#endif /* !IN_MPERS */
|
|
|