* connection. */
unsigned int linked_conn_is_closed:1;
++ /** CONNECT/SOCKS proxy client handshake state (for outgoing connections). */
++ unsigned int proxy_state:4;
++
/** Our socket; -1 if this connection is closed, or has no socket. */
evutil_socket_t s;
int conn_array_index; /**< Index into the global connection array. */
* to the evdns_server_port is uses to listen to and answer connections. */
struct evdns_server_port *dns_server_port;
- /** CONNECT/SOCKS proxy client handshake state (for outgoing connections). */
- unsigned int proxy_state:4;
+#ifdef ENABLE_DIRREQ_STATS
+ /** Unique ID for measuring tunneled network status requests. */
+ uint64_t dirreq_id;
+#endif
+
} connection_t;
/** Stores flags and information related to the portion of a v2 Tor OR