diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-10-24 17:34:18 -0700 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-07 15:28:36 -0800 |
commit | 954f263ed5eb451a0742f8888681e10e64dd193a (patch) | |
tree | 17cf84ee506b600c6f597ecc5dbfad9c49580f17 /src/or/entrynodes.h | |
parent | c8056dcbbb9b468fe4070eff4b55b63d109801c5 (diff) | |
download | tor-954f263ed5eb451a0742f8888681e10e64dd193a.tar.gz tor-954f263ed5eb451a0742f8888681e10e64dd193a.zip |
Add the ability to count circuit timeouts for guards.
This is purely for informational reasons for debugging.
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index 4d031c3593..b34744183c 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -47,6 +47,8 @@ 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. */ } entry_guard_t; entry_guard_t *entry_guard_get_by_id_digest(const char *digest); |