diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-11-04 19:17:05 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 22:49:02 -0700 |
commit | 5e0a6d54d0f1341eddc26a6fa6d349e22966c255 (patch) | |
tree | 43e2e4d1f3882e1d9b4eba749e2bb1c95a39c7c9 /src/or/channel.h | |
parent | f0533d8d223c40e487bbddc46256856f80e96389 (diff) | |
download | tor-5e0a6d54d0f1341eddc26a6fa6d349e22966c255.tar.gz tor-5e0a6d54d0f1341eddc26a6fa6d349e22966c255.zip |
Add global cell/byte counters and per channel byte counters to channel.c
Diffstat (limited to 'src/or/channel.h')
-rw-r--r-- | src/or/channel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/channel.h b/src/or/channel.h index 28b5ab0ccf..f35cb27aa6 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -200,8 +200,8 @@ struct channel_s { uint64_t dirreq_id; /** Channel counters for cell channels */ - uint64_t n_cells_recved; - uint64_t n_cells_xmitted; + uint64_t n_cells_recved, n_bytes_recved; + uint64_t n_cells_xmitted, n_bytes_xmitted; }; struct channel_listener_s { |