summaryrefslogtreecommitdiff
path: root/src/or/circuitstats.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2017-08-04 17:16:38 -0400
committerMike Perry <mikeperry-git@torproject.org>2017-12-07 00:04:33 +0000
commitb5d4cd1b4178bfa285fc5c512a29daa2580d96b8 (patch)
tree343e3a9dd79f6c804aa2b789685ebd99715203ea /src/or/circuitstats.h
parent23820a39439637f401b24085dfe7a703dee88c43 (diff)
downloadtor-b5d4cd1b4178bfa285fc5c512a29daa2580d96b8.tar.gz
tor-b5d4cd1b4178bfa285fc5c512a29daa2580d96b8.zip
Bug #23100: Count all 3 hop circuits for CBT.
This change causes us to count anything once it reaches 3 hops (but not after).
Diffstat (limited to 'src/or/circuitstats.h')
-rw-r--r--src/or/circuitstats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitstats.h b/src/or/circuitstats.h
index 92dc6405ba..68b66af1ba 100644
--- a/src/or/circuitstats.h
+++ b/src/or/circuitstats.h
@@ -34,6 +34,7 @@ void circuit_build_times_set_timeout(circuit_build_times_t *cbt);
int circuit_build_times_add_time(circuit_build_times_t *cbt,
build_time_t time);
int circuit_build_times_needs_circuits(const circuit_build_times_t *cbt);
+void circuit_build_times_handle_completed_hop(origin_circuit_t *circ);
int circuit_build_times_needs_circuits_now(const circuit_build_times_t *cbt);
void circuit_build_times_init(circuit_build_times_t *cbt);