diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-10-26 12:38:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-10-26 12:38:50 -0400 |
commit | 9c8dbcd0d676e9092da75c7bdae75679c9d753e3 (patch) | |
tree | 9c791c036f1c621ac528eca2a16e69b6c063069a /src/or/entrynodes.h | |
parent | 206a9726b112d674b712949fadc653def57f427b (diff) | |
download | tor-9c8dbcd0d676e9092da75c7bdae75679c9d753e3.tar.gz tor-9c8dbcd0d676e9092da75c7bdae75679c9d753e3.zip |
More module documentation (circpathbias, circuitlist)
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index eb2fbf7392..00f96916b6 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -56,6 +56,14 @@ typedef struct entry_guard_t { time_t last_attempted; /**< 0 if we can connect to this guard, or the time * at which we last failed to connect to it. */ + /** + * @name circpathbias fields + * + * These fields are used in circpathbias.c to try to detect entry + * nodes that are failing circuits at a suspicious frequency. + */ + /**@{*/ + double circ_attempts; /**< Number of circuits this guard has "attempted" */ double circ_successes; /**< Number of successfully built circuits using * this guard as first hop. */ @@ -71,6 +79,7 @@ typedef struct entry_guard_t { double use_attempts; /**< Number of circuits we tried to use with streams */ double use_successes; /**< Number of successfully used circuits using * this guard as first hop. */ + /**@}*/ } entry_guard_t; entry_guard_t *entry_guard_get_by_id_digest_for_guard_selection( |