summaryrefslogtreecommitdiff
path: root/src/feature/stats/connstats.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-10 09:47:55 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-10 09:47:55 -0400
commitdbdf8bebde8b0f18009c7e9c6e89406f241ad0e6 (patch)
treeec7d18cd63a0bab4a070636cfa6440fdee9a11f2 /src/feature/stats/connstats.h
parent54141d66e27a47719fe81a886d5e92d2b730f374 (diff)
downloadtor-dbdf8bebde8b0f18009c7e9c6e89406f241ad0e6.tar.gz
tor-dbdf8bebde8b0f18009c7e9c6e89406f241ad0e6.zip
Collect IPv6 bidi connection statistics
Diffstat (limited to 'src/feature/stats/connstats.h')
-rw-r--r--src/feature/stats/connstats.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/stats/connstats.h b/src/feature/stats/connstats.h
index 43b6549741..1a03d0748b 100644
--- a/src/feature/stats/connstats.h
+++ b/src/feature/stats/connstats.h
@@ -14,7 +14,8 @@
void conn_stats_init(time_t now);
void conn_stats_note_or_conn_bytes(uint64_t conn_id, size_t num_read,
- size_t num_written, time_t when);
+ size_t num_written, time_t when,
+ bool is_ipv6);
void conn_stats_reset(time_t now);
char *conn_stats_format(time_t now);
time_t conn_stats_save(time_t now);