diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-23 17:56:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-23 17:56:31 +0000 |
commit | 558e9899e4d11d8ef194e5bc1761d5d2f6dff450 (patch) | |
tree | 45eb50017f2b65c70babf90b3c088a3c952ce6de /src/or/or.h | |
parent | d7f55dafe0287c1a8c13478c4e077da65533769c (diff) | |
download | tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.tar.gz tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.zip |
Document most undocumented variables.
svn:r17754
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index ff578b0b4b..1082a79c6a 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2527,11 +2527,17 @@ typedef struct { * count of how many client addresses have contacted us so that we can help * the bridge authority guess which countries have blocked access to us. */ int BridgeRecordUsageByCountry; + #ifdef ENABLE_GEOIP_STATS - /* DOCDOC all of these. */ + /** If true, and Tor is built with GEOIP_STATS support, and we're a + * directory, record how many directory requests we get from each country. */ int DirRecordUsageByCountry; + /** Round all GeoIP results to the next multiple of this value, to avoid + * leaking information. */ int DirRecordUsageGranularity; + /** Time interval: purge geoip stats after this long. */ int DirRecordUsageRetainIPs; + /** Time interval: Flush geoip data to disk this often. */ int DirRecordUsageSaveInterval; #endif |