aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/or_state_st.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-10 08:29:24 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-10 09:25:28 -0400
commitc5db7667d6964344e87fb7ee71df3f2ebe8131e6 (patch)
tree62785a4997724bc8f252ac4d43129c5360dda8dd /src/app/config/or_state_st.h
parent11da5229d103fd13300b88a0efbc1da0b3970782 (diff)
downloadtor-c5db7667d6964344e87fb7ee71df3f2ebe8131e6.tar.gz
tor-c5db7667d6964344e87fb7ee71df3f2ebe8131e6.zip
Add IPv6 read and write history to bwhist, state, and extrainfo.
These values are stored, persisted, and published. They are not yet actually filled with anything.
Diffstat (limited to 'src/app/config/or_state_st.h')
-rw-r--r--src/app/config/or_state_st.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/config/or_state_st.h b/src/app/config/or_state_st.h
index 8c4e9d5e61..31b7f8a983 100644
--- a/src/app/config/or_state_st.h
+++ b/src/app/config/or_state_st.h
@@ -65,6 +65,14 @@ struct or_state_t {
int BWHistoryWriteInterval;
struct smartlist_t *BWHistoryWriteValues;
struct smartlist_t *BWHistoryWriteMaxima;
+ time_t BWHistoryIPv6ReadEnds;
+ int BWHistoryIPv6ReadInterval;
+ struct smartlist_t *BWHistoryIPv6ReadValues;
+ struct smartlist_t *BWHistoryIPv6ReadMaxima;
+ time_t BWHistoryIPv6WriteEnds;
+ int BWHistoryIPv6WriteInterval;
+ struct smartlist_t *BWHistoryIPv6WriteValues;
+ struct smartlist_t *BWHistoryIPv6WriteMaxima;
time_t BWHistoryDirReadEnds;
int BWHistoryDirReadInterval;
struct smartlist_t *BWHistoryDirReadValues;