routerinfo_t Struct Reference

#include <or.h>


Data Fields

signed_descriptor_t cache_info
char * address
char * nickname
uint32_t addr
uint16_t or_port
uint16_t dir_port
crypto_pk_env_tonion_pkey
crypto_pk_env_tidentity_pkey
char * platform
uint32_t bandwidthrate
uint32_t bandwidthburst
uint32_t bandwidthcapacity
smartlist_texit_policy
long uptime
smartlist_tdeclared_family
char * contact_info
unsigned int is_hibernating:1
unsigned int has_old_dnsworkers:1
unsigned int caches_extra_info:1
unsigned int allow_single_hop_exits:1
unsigned int is_running:1
unsigned int is_valid:1
unsigned int is_named:1
unsigned int is_fast:1
unsigned int is_stable:1
unsigned int is_possible_guard:1
unsigned int is_exit:1
unsigned int is_bad_exit:1
unsigned int is_bad_directory:1
unsigned int wants_to_be_hs_dir:1
unsigned int is_hs_dir:1
unsigned int policy_is_reject_star:1
uint8_t purpose
time_t last_reachable
time_t testing_since
country_t country


Detailed Description

Information about another onion router in the network.

Field Documentation

How many seconds the router claims to have been up

Referenced by real_uptime(), rep_hist_get_router_stability_doc(), router_differences_are_cosmetic(), and router_parse_entry_from_string().

Whether the router is using dnsworker code.

Referenced by connection_ap_can_use_exit(), router_differences_are_cosmetic(), and router_parse_entry_from_string().

Whether the router caches and serves extrainfo documents.

Referenced by router_parse_entry_from_string(), and router_supports_extrainfo().

Whether the router allows single hop exits.

Referenced by choose_good_exit_server_general(), handle_control_attachstream(), and router_parse_entry_from_string().

unsigned int routerinfo_t::is_valid

unsigned int routerinfo_t::is_named

Do we think this is a fast OR?

Referenced by router_clear_status_flags(), router_is_unreliable(), and set_routerstatus_from_routerinfo().

unsigned int routerinfo_t::is_exit

Do we think this directory is junky, underpowered, or otherwise useless?

Referenced by authdir_wants_to_reject_router(), directory_remove_invalid(), router_clear_status_flags(), and set_routerstatus_from_routerinfo().

True iff this router claims to be a hidden service directory.

Referenced by dirserv_thinks_router_is_hs_dir(), and router_parse_entry_from_string().

True iff this router is a hidden service directory according to the authorities.

Referenced by router_clear_status_flags(), and set_routerstatus_from_routerinfo().

True iff the exit policy for this router rejects everything.

Referenced by router_exit_policy_rejects_all(), and router_parse_entry_from_string().

What positions in a circuit is this router good for? When was the last time we could reach this OR?

Referenced by dirserv_set_router_is_running(), and router_add_to_routerlist().

When did we start testing reachability for this OR?

Referenced by dirserv_single_reachability_test(), and router_add_to_routerlist().

According to the geoip db what country is this router in?

Referenced by router_parse_entry_from_string(), routerinfo_set_country(), and routerset_contains_router().


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

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