1 /* Generated by ./xlat/gen.sh from ./xlat/multicast_router_types.in; do not edit. */ 2 #if !(defined(MDB_RTR_TYPE_DISABLED) || (defined(HAVE_DECL_MDB_RTR_TYPE_DISABLED) && HAVE_DECL_MDB_RTR_TYPE_DISABLED)) 3 # define MDB_RTR_TYPE_DISABLED 0 4 #endif 5 #if !(defined(MDB_RTR_TYPE_TEMP_QUERY) || (defined(HAVE_DECL_MDB_RTR_TYPE_TEMP_QUERY) && HAVE_DECL_MDB_RTR_TYPE_TEMP_QUERY)) 6 # define MDB_RTR_TYPE_TEMP_QUERY 1 7 #endif 8 #if !(defined(MDB_RTR_TYPE_PERM) || (defined(HAVE_DECL_MDB_RTR_TYPE_PERM) && HAVE_DECL_MDB_RTR_TYPE_PERM)) 9 # define MDB_RTR_TYPE_PERM 2 10 #endif 11 #if !(defined(MDB_RTR_TYPE_TEMP) || (defined(HAVE_DECL_MDB_RTR_TYPE_TEMP) && HAVE_DECL_MDB_RTR_TYPE_TEMP)) 12 # define MDB_RTR_TYPE_TEMP 3 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat multicast_router_types in mpers mode 18 19 #else 20 21 static 22 const struct xlat multicast_router_types[] = { 23 XLAT(MDB_RTR_TYPE_DISABLED), 24 XLAT(MDB_RTR_TYPE_TEMP_QUERY), 25 XLAT(MDB_RTR_TYPE_PERM), 26 XLAT(MDB_RTR_TYPE_TEMP), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31