diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-10 08:44:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-10 09:25:28 -0400 |
commit | 27c5cadf7e86551c7d62d27b107098266bb4c11b (patch) | |
tree | a8a039a4f73554319420e6548fcc59caefbe7de5 /src/feature/stats/bwhist.h | |
parent | a81827d99ffdd36d87ca91637f022558783d44ac (diff) | |
download | tor-27c5cadf7e86551c7d62d27b107098266bb4c11b.tar.gz tor-27c5cadf7e86551c7d62d27b107098266bb4c11b.zip |
Record IPv6 bandwidth history as appropriate.
Diffstat (limited to 'src/feature/stats/bwhist.h')
-rw-r--r-- | src/feature/stats/bwhist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/stats/bwhist.h b/src/feature/stats/bwhist.h index 17d2a8394a..d556f5a026 100644 --- a/src/feature/stats/bwhist.h +++ b/src/feature/stats/bwhist.h @@ -15,8 +15,8 @@ void bwhist_init(void); void bwhist_free_all(void); -void bwhist_note_bytes_read(uint64_t num_bytes, time_t when); -void bwhist_note_bytes_written(uint64_t num_bytes, time_t when); +void bwhist_note_bytes_read(uint64_t num_bytes, time_t when, bool ipv6); +void bwhist_note_bytes_written(uint64_t num_bytes, time_t when, bool ipv6); void bwhist_note_dir_bytes_read(uint64_t num_bytes, time_t when); void bwhist_note_dir_bytes_written(uint64_t num_bytes, time_t when); |