1 /* Generated by ./xlat/gen.sh from ./xlat/netlink_flags.in; do not edit. */ 2 #if !(defined(NLM_F_REQUEST) || (defined(HAVE_DECL_NLM_F_REQUEST) && HAVE_DECL_NLM_F_REQUEST)) 3 # define NLM_F_REQUEST 0x1 4 #endif 5 #if !(defined(NLM_F_MULTI) || (defined(HAVE_DECL_NLM_F_MULTI) && HAVE_DECL_NLM_F_MULTI)) 6 # define NLM_F_MULTI 0x2 7 #endif 8 #if !(defined(NLM_F_ACK) || (defined(HAVE_DECL_NLM_F_ACK) && HAVE_DECL_NLM_F_ACK)) 9 # define NLM_F_ACK 0x4 10 #endif 11 #if !(defined(NLM_F_ECHO) || (defined(HAVE_DECL_NLM_F_ECHO) && HAVE_DECL_NLM_F_ECHO)) 12 # define NLM_F_ECHO 0x8 13 #endif 14 #if !(defined(NLM_F_DUMP_INTR) || (defined(HAVE_DECL_NLM_F_DUMP_INTR) && HAVE_DECL_NLM_F_DUMP_INTR)) 15 # define NLM_F_DUMP_INTR 0x10 16 #endif 17 #if !(defined(NLM_F_DUMP_FILTERED) || (defined(HAVE_DECL_NLM_F_DUMP_FILTERED) && HAVE_DECL_NLM_F_DUMP_FILTERED)) 18 # define NLM_F_DUMP_FILTERED 0x20 19 #endif 20 21 #ifdef IN_MPERS 22 23 # error static const struct xlat netlink_flags in mpers mode 24 25 #else 26 27 static 28 const struct xlat netlink_flags[] = { 29 XLAT(NLM_F_REQUEST), 30 XLAT(NLM_F_MULTI), 31 XLAT(NLM_F_ACK), 32 XLAT(NLM_F_ECHO), 33 XLAT(NLM_F_DUMP_INTR), 34 XLAT(NLM_F_DUMP_FILTERED), 35 XLAT_END 36 }; 37 38 #endif /* !IN_MPERS */ 39