aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r--src/or/entrynodes.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index f087f900bd..b9c8052533 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -51,7 +51,15 @@ typedef struct entry_guard_t {
unsigned first_hops; /**< Number of first hops this guard has completed */
unsigned circuit_successes; /**< Number of successfully built circuits using
* this guard as first hop. */
- unsigned timeouts; /**< Number of 'right-censored' timeouts for this guard.*/
+ unsigned successful_circuits_closed; /**< Number of circuits that carried
+ * streams successfully. */
+ unsigned collapsed_circuits; /**< Number of fully built circuits that were
+ * remotely closed before any streams were
+ * attempted. */
+ unsigned unusable_circuits; /**< Number of circuits for which streams were
+ * attempted, but none succeeded. */
+ unsigned timeouts; /**< Number of 'right-censored' circuit timeouts for this
+ * guard. */
} entry_guard_t;
entry_guard_t *entry_guard_get_by_id_digest(const char *digest);