diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-04-11 11:43:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-14 21:45:05 -0400 |
commit | 52cadff0d60e393d7b75001aee304cdc1ab79c6b (patch) | |
tree | a7666a52c873ea1adccd522ffc32323cf277664c /src/or/or.h | |
parent | 49696786fb1ffee28ea17f624591311b075f2842 (diff) | |
download | tor-52cadff0d60e393d7b75001aee304cdc1ab79c6b.tar.gz tor-52cadff0d60e393d7b75001aee304cdc1ab79c6b.zip |
Rename all fields which measure bw in kb to end with _kb
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index ece2bc7b19..4a9534727e 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2096,7 +2096,7 @@ typedef struct routerstatus_t { unsigned int bw_is_unmeasured:1; /**< This is a consensus entry, with * the Unmeasured flag set. */ - uint32_t bandwidth; /**< Bandwidth (capacity) of the router as reported in + uint32_t bandwidth_kb; /**< Bandwidth (capacity) of the router as reported in * the vote/consensus, in kilobytes/sec. */ char *exitsummary; /**< exit policy summary - * XXX weasel: this probably should not stay a string. */ @@ -2342,7 +2342,7 @@ typedef struct vote_routerstatus_t { char *version; /**< The version that the authority says this router is * running. */ unsigned int has_measured_bw:1; /**< The vote had a measured bw */ - uint32_t measured_bw; /**< Measured bandwidth (capacity) of the router */ + uint32_t measured_bw_kb; /**< Measured bandwidth (capacity) of the router */ /** The hash or hashes that the authority claims this microdesc has. */ vote_microdesc_hash_t *microdesc; } vote_routerstatus_t; @@ -4478,7 +4478,7 @@ typedef enum { typedef struct measured_bw_line_t { char node_id[DIGEST_LEN]; char node_hex[MAX_HEX_NICKNAME_LEN+1]; - long int bw; + long int bw_kb; } measured_bw_line_t; #endif |