From ceae7ed96020cf4e4936d57367ca004ba1166147 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 14 Aug 2008 23:00:57 +0000 Subject: Add bw to consensus svn:r16551 --- src/or/or.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or/or.h') 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 -- cgit v1.2.3