+#define foreach_ct_flags \
+ _ (CLIENT, "client") \
+ _ (HALF_OPEN, "half-open")
+
+enum
+{
+#define _(sym, str) CT_CONN_BIT_F_##sym,
+ foreach_ct_flags
+#undef _
+};
+
+typedef enum
+{
+#define _(sym, str) CT_CONN_F_##sym = 1 << CT_CONN_BIT_F_##sym,
+ foreach_ct_flags
+#undef _
+} ct_connection_flags_t;
+