trusted_dir_server_t Struct Reference

#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


Detailed Description

Represents information about a single trusted directory server.

Field Documentation

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().

Digest of v3 (authority only, high-security) identity key.

Referenced by add_trusted_dir_server(), and init_keys().

True iff we think this server is running.

Referenced by add_trusted_dir_server(), and update_router_descriptor_cache_downloads_v2().

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().


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

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