1 /* Generated by ./xlat/gen.sh from ./xlat/smc_states.in; do not edit. */ 2 #if !(defined(SMC_ACTIVE) || (defined(HAVE_DECL_SMC_ACTIVE) && HAVE_DECL_SMC_ACTIVE)) 3 # define SMC_ACTIVE 1 4 #endif 5 #if !(defined(SMC_INIT) || (defined(HAVE_DECL_SMC_INIT) && HAVE_DECL_SMC_INIT)) 6 # define SMC_INIT 2 7 #endif 8 #if !(defined(SMC_CLOSED) || (defined(HAVE_DECL_SMC_CLOSED) && HAVE_DECL_SMC_CLOSED)) 9 # define SMC_CLOSED 7 10 #endif 11 #if !(defined(SMC_LISTEN) || (defined(HAVE_DECL_SMC_LISTEN) && HAVE_DECL_SMC_LISTEN)) 12 # define SMC_LISTEN 10 13 #endif 14 #if !(defined(SMC_PEERCLOSEWAIT1) || (defined(HAVE_DECL_SMC_PEERCLOSEWAIT1) && HAVE_DECL_SMC_PEERCLOSEWAIT1)) 15 # define SMC_PEERCLOSEWAIT1 20 16 #endif 17 #if !(defined(SMC_PEERCLOSEWAIT2) || (defined(HAVE_DECL_SMC_PEERCLOSEWAIT2) && HAVE_DECL_SMC_PEERCLOSEWAIT2)) 18 # define SMC_PEERCLOSEWAIT2 21 19 #endif 20 #if !(defined(SMC_APPFINCLOSEWAIT) || (defined(HAVE_DECL_SMC_APPFINCLOSEWAIT) && HAVE_DECL_SMC_APPFINCLOSEWAIT)) 21 # define SMC_APPFINCLOSEWAIT 24 22 #endif 23 #if !(defined(SMC_APPCLOSEWAIT1) || (defined(HAVE_DECL_SMC_APPCLOSEWAIT1) && HAVE_DECL_SMC_APPCLOSEWAIT1)) 24 # define SMC_APPCLOSEWAIT1 22 25 #endif 26 #if !(defined(SMC_APPCLOSEWAIT2) || (defined(HAVE_DECL_SMC_APPCLOSEWAIT2) && HAVE_DECL_SMC_APPCLOSEWAIT2)) 27 # define SMC_APPCLOSEWAIT2 23 28 #endif 29 #if !(defined(SMC_PEERFINCLOSEWAIT) || (defined(HAVE_DECL_SMC_PEERFINCLOSEWAIT) && HAVE_DECL_SMC_PEERFINCLOSEWAIT)) 30 # define SMC_PEERFINCLOSEWAIT 25 31 #endif 32 #if !(defined(SMC_PEERABORTWAIT) || (defined(HAVE_DECL_SMC_PEERABORTWAIT) && HAVE_DECL_SMC_PEERABORTWAIT)) 33 # define SMC_PEERABORTWAIT 26 34 #endif 35 #if !(defined(SMC_PROCESSABORT) || (defined(HAVE_DECL_SMC_PROCESSABORT) && HAVE_DECL_SMC_PROCESSABORT)) 36 # define SMC_PROCESSABORT 27 37 #endif 38 39 #ifdef IN_MPERS 40 41 # error static const struct xlat smc_states in mpers mode 42 43 #else 44 45 static 46 const struct xlat smc_states[] = { 47 XLAT(SMC_ACTIVE), 48 XLAT(SMC_INIT), 49 XLAT(SMC_CLOSED), 50 XLAT(SMC_LISTEN), 51 XLAT(SMC_PEERCLOSEWAIT1), 52 XLAT(SMC_PEERCLOSEWAIT2), 53 XLAT(SMC_APPFINCLOSEWAIT), 54 XLAT(SMC_APPCLOSEWAIT1), 55 XLAT(SMC_APPCLOSEWAIT2), 56 XLAT(SMC_PEERFINCLOSEWAIT), 57 XLAT(SMC_PEERABORTWAIT), 58 XLAT(SMC_PROCESSABORT), 59 XLAT_END 60 }; 61 62 #endif /* !IN_MPERS */ 63