networkstatus_t Struct Reference

#include <or.h>


Data Fields

networkstatus_type_t type: 8
consensus_flavor_t flavor: 8
time_t published
time_t valid_after
time_t fresh_until
time_t valid_until
int consensus_method
smartlist_tsupported_methods
int vote_seconds
int dist_seconds
char * client_versions
char * server_versions
smartlist_tknown_flags
smartlist_tnet_params
smartlist_tweight_params
smartlist_tvoters
struct authority_cert_tcert
digests_t digests
smartlist_trouterstatus_list
digestmap_t * desc_digest_map


Detailed Description

A common structure to hold a v3 network status vote, or a v3 network status consensus.

Field Documentation

Vote only: Time when vote was written.

Referenced by dirvote_add_vote(), format_networkstatus_vote(), and networkstatus_parse_vote_from_string().

Consensus only: what method was used to produce this consensus?

Referenced by networkstatus_parse_vote_from_string().

Vote only: what methods is this voter willing to use?

Referenced by networkstatus_parse_vote_from_string(), and networkstatus_vote_free().

How long does this vote/consensus claim that authorities take to distribute their votes to one another?

Referenced by dirvote_recalculate_timing(), format_networkstatus_vote(), and networkstatus_parse_vote_from_string().

How long does this vote/consensus claim that authorities take to distribute their consensus signatures to one another?

Referenced by dirvote_recalculate_timing(), format_networkstatus_vote(), and networkstatus_parse_vote_from_string().

Comma-separated list of recommended client software, or NULL if this voter has no opinion.

Referenced by format_networkstatus_vote(), getinfo_helper_events(), networkstatus_parse_vote_from_string(), networkstatus_vote_free(), and routers_update_all_from_networkstatus().

List of flags that this vote/consensus applies to routers. If a flag is not listed here, the voter has no opinion on what its value should be.

Referenced by format_networkstatus_vote(), networkstatus_parse_vote_from_string(), networkstatus_vote_free(), and routerstatus_parse_entry_from_string().

List of key=value strings for the parameters in this vote or consensus, sorted by key.

Referenced by format_networkstatus_vote(), networkstatus_get_param(), networkstatus_parse_vote_from_string(), and networkstatus_vote_free().

List of key=value strings for the bw weight parameters in the consensus.

Referenced by networkstatus_get_bw_weight(), and networkstatus_parse_vote_from_string().

If present, a map from descriptor digest to elements of routerstatus_list.

Referenced by networkstatus_vote_free(), router_get_consensus_status_by_descriptor_digest(), and signed_descs_update_status_from_consensus_networkstatus().


The documentation for this struct was generated from the following file:

Generated on Tue May 25 00:31:15 2010 for tor by  doxygen 1.5.6