signed_descriptor_t Struct Reference

#include <or.h>


Data Fields

char * signed_descriptor_body
size_t annotations_len
size_t signed_descriptor_len
char signed_descriptor_digest [DIGEST_LEN]
char identity_digest [DIGEST_LEN]
time_t published_on
char extra_info_digest [DIGEST_LEN]
download_status_t ei_dl_status
saved_location_t saved_location
off_t saved_offset
int routerlist_index
time_t last_listed_as_valid_until
unsigned int do_not_cache: 1
unsigned int is_extrainfo: 1
unsigned int extrainfo_is_bogus: 1
unsigned int send_unencrypted: 1


Detailed Description

Information need to cache an onion router's descriptor.

Field Documentation

Length of the annotations preceding the server descriptor.

Referenced by router_parse_entry_from_string(), routerlist_reparse_old(), signed_desc_append_to_journal(), and signed_descriptor_get_body_impl().

Identity digest of the router.

Referenced by _compare_old_routers_by_identity(), _compare_routerinfo_by_id_digest(), _compare_routerinfo_by_ip_and_bw(), add_an_entry_guard(), already_have_cert(), authority_cert_parse_from_string(), circuit_rep_hist_note_result(), connection_ap_can_use_exit(), consider_testing_reachability(), directory_get_from_dirserver(), dirserv_add_descriptor(), dirserv_add_extrainfo(), dirserv_get_networkstatus_v2_fingerprints(), dirserv_get_routerdesc_fingerprints(), dirserv_set_router_is_running(), dirserv_single_reachability_test(), dirserv_thinks_router_is_unreliable(), dirvote_act(), dirvote_add_vote(), dirvote_get_vote(), extend_info_from_router(), extrainfo_dump_to_string(), extrainfo_insert(), extrainfo_parse_entry_from_string(), format_networkstatus_vote(), getinfo_helper_misc(), hid_serv_acting_as_directory(), hid_serv_responsible_for_desc_id(), list_single_server_status(), networkstatus_check_document_signature(), networkstatus_parse_vote_from_string(), router_add_to_routerlist(), router_get_my_share_of_directory_requests(), router_get_verbose_nickname(), router_hex_digest_matches(), router_is_me(), router_parse_entry_from_string(), router_rebuild_descriptor(), routerinfo_get_configured_bridge(), routerinfo_incompatible_with_extrainfo(), routerlist_insert(), routerlist_remove(), routerlist_remove_old_cached_routers_with_id(), routerlist_remove_old_routers(), routerlist_replace(), routerset_contains_router(), set_routerstatus_from_routerinfo(), signed_desc_digest_is_recognized(), smartlist_choose_by_bandwidth(), smartlist_choose_by_bandwidth_weights(), trusted_dirs_load_certs_from_string(), and update_extrainfo_downloads().

For routerdescs only: Status of downloading the corresponding extrainfo.

Referenced by dir_routerdesc_download_failed(), and update_extrainfo_downloads().

If saved_location is SAVED_IN_CACHE or SAVED_IN_JOURNAL, the offset of this descriptor in the corresponding file.

Referenced by router_parse_list_from_string(), signed_desc_append_to_journal(), and signed_descriptor_get_body_impl().

The valid-until time of the most recent consensus that listed this descriptor, or a bit after the publication time of the most recent v2 networkstatus that listed it. 0 for "never listed in a consensus or status, so far as we know."

Referenced by router_set_networkstatus_v2(), routerlist_remove_old_cached_routers_with_id(), and routerlist_remove_old_routers().


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

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