#include <or.h>
Data Fields | |
char * | description |
char * | nickname |
char * | address |
uint32_t | addr |
uint16_t | dir_port |
uint16_t | or_port |
char | digest [DIGEST_LEN] |
char | v3_identity_digest [DIGEST_LEN] |
unsigned int | is_running:1 |
unsigned int | has_accepted_serverdesc:1 |
authority_type_t | type |
download_status_t | v2_ns_dl_status |
time_t | addr_current_at |
routerstatus_t | fake_status |
Hostname.
Referenced by add_trusted_dir_server(), trusted_dir_server_free(), and trusted_dirs_load_certs_from_string().
uint32_t trusted_dir_server_t::addr |
IPv4 address.
Referenced by add_trusted_dir_server(), and trusted_dirs_load_certs_from_string().
uint16_t trusted_dir_server_t::dir_port |
Directory port.
Referenced by add_trusted_dir_server(), and trusted_dirs_load_certs_from_string().
uint16_t trusted_dir_server_t::or_port |
OR port: Used for tunneling connections.
Referenced by add_trusted_dir_server().
char trusted_dir_server_t::digest[DIGEST_LEN] |
Digest of identity key.
Referenced by add_trusted_dir_server().
char trusted_dir_server_t::v3_identity_digest[DIGEST_LEN] |
Digest of v3 (authority only, high-security) identity key.
Referenced by add_trusted_dir_server(), and init_keys().
unsigned int trusted_dir_server_t::is_running |
True iff we think this server is running.
Referenced by add_trusted_dir_server(), and update_router_descriptor_cache_downloads_v2().
unsigned int trusted_dir_server_t::has_accepted_serverdesc |
True iff this server has accepted the most recent server descriptor we tried to upload to it.
Referenced by connection_dir_client_reached_eof().
What kind of authority is this? (Bitfield.)
Referenced by add_trusted_dir_server(), init_keys(), and router_set_networkstatus_v2().
Status of downloading this server's v2 network status.
Referenced by dir_networkstatus_download_failed(), and router_set_networkstatus_v2().
When was the document that we derived the address information from published?
Referenced by trusted_dirs_load_certs_from_string().
Used when we need to pass this trusted dir_server_t to directory_initiate_command_* as a routerstatus_t. Not updated by the router-status management code!
Referenced by add_trusted_dir_server(), connection_dir_client_reached_eof(), and update_consensus_router_descriptor_downloads().