diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-14 23:00:44 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-14 23:00:44 +0000 |
commit | 82f8050ac428416a91997003b205ac90019768dd (patch) | |
tree | f79e94527d760f5658ff54629a2c76466192fb6f /src/or/or.h | |
parent | e8de3ff54d043407c490c538dc75f1566c478bff (diff) | |
download | tor-82f8050ac428416a91997003b205ac90019768dd.tar.gz tor-82f8050ac428416a91997003b205ac90019768dd.zip |
Parse policies and weight (bw) into routerstatuses
svn:r16550
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 7dc0de138f..8e8e3387b4 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1415,6 +1415,13 @@ typedef struct routerstatus_t { * we can get v3 downloads from. */ unsigned int version_supports_v3_dir:1; + 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 + * rejected or accepted ports? */ + char *exitsummary; /**< exit policy summary - + * XXX weasel: this probably should not stay a string. */ + /* ---- The fields below aren't derived from the networkstatus; they * hold local information only. */ |