aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-08-14 23:00:57 +0000
committerPeter Palfrader <peter@palfrader.org>2008-08-14 23:00:57 +0000
commitceae7ed96020cf4e4936d57367ca004ba1166147 (patch)
tree10a04c2b140c1ac28db857e78a88fd8eb9ffd308 /src/or/or.h
parent82f8050ac428416a91997003b205ac90019768dd (diff)
downloadtor-ceae7ed96020cf4e4936d57367ca004ba1166147.tar
tor-ceae7ed96020cf4e4936d57367ca004ba1166147.tar.gz
Add bw to consensus
svn:r16551
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 8e8e3387b..ba1981737 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1415,6 +1415,9 @@ typedef struct routerstatus_t {
* we can get v3 downloads from. */
unsigned int version_supports_v3_dir:1;
+ unsigned int has_bandwidth:1; /**< The vote/consensus had bw info */
+ unsigned int has_exitsummary:1; /**< The vote/consensus had exit summaries */
+
uint32_t bandwidth; /**< Bandwidth (capacity) of the router as reported in
* the vote/consensus, in kilobytes/sec. */
addr_policy_action_t exitsummarytype; /**< is the list of ports a list of