aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-09-04 17:43:15 -0400
committerRoger Dingledine <arma@torproject.org>2013-09-05 01:44:52 -0400
commit2c877d2da4a989639311de11e4ada8dd03bc8187 (patch)
treebe7544f239f3da21443c967158e4ebf47303d2c4 /src/or/rephist.h
parentf51add6dbcef073d3ba57df13eee3c99d647fde9 (diff)
downloadtor-2c877d2da4a989639311de11e4ada8dd03bc8187.tar.gz
tor-2c877d2da4a989639311de11e4ada8dd03bc8187.zip
collect and log statistics about onionskins received/processed
we skip onionskins that came from non-relays, so we're less likely to run into privacy troubles. starts to implement ticket 9658.
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r--src/or/rephist.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h
index 811cd8d450..de824749b4 100644
--- a/src/or/rephist.h
+++ b/src/or/rephist.h
@@ -64,8 +64,6 @@ int rep_hist_circbuilding_dormant(time_t now);
void note_crypto_pk_op(pk_op_t operation);
void dump_pk_ops(int severity);
-void rep_hist_free_all(void);
-
void rep_hist_exit_stats_init(time_t now);
void rep_hist_reset_exit_stats(time_t now);
void rep_hist_exit_stats_term(void);
@@ -98,5 +96,11 @@ char *rep_hist_format_conn_stats(time_t now);
time_t rep_hist_conn_stats_write(time_t now);
void rep_hist_conn_stats_term(void);
+void rep_hist_note_circuit_handshake_requested(uint16_t type);
+void rep_hist_note_circuit_handshake_completed(uint16_t type);
+void rep_hist_log_circuit_handshake_stats(time_t now);
+
+void rep_hist_free_all(void);
+
#endif