Tor
0.4.7.0-alpha-dev
|
#include <routerlist_st.h>
Data Fields | |
struct digest_ri_map_t * | identity_map |
struct digest_sd_map_t * | desc_digest_map |
struct digest_ei_map_t * | extra_info_map |
struct digest_sd_map_t * | desc_by_eid_map |
smartlist_t * | routers |
smartlist_t * | old_routers |
desc_store_t | desc_store |
desc_store_t | extrainfo_store |
Contents of a directory of onion routers.
Definition at line 18 of file routerlist_st.h.
struct digest_sd_map_t* desc_by_eid_map |
Map from extra-info digests to a signed_descriptor_t for a router descriptor having that extra-info digest. Only exists for routers in routers or old_routers.
Definition at line 30 of file routerlist_st.h.
Referenced by extrainfo_insert(), and router_get_by_extrainfo_digest().
struct digest_sd_map_t* desc_digest_map |
Map from server descriptor digest to a signed_descriptor_t from routers or old_routers.
Definition at line 23 of file routerlist_st.h.
Referenced by router_get_by_descriptor_digest(), routerlist_assert_ok(), and routerlist_insert().
desc_store_t desc_store |
Store holding server descriptors. If present, any router whose cache_info.saved_location == SAVED_IN_CACHE is stored in this file starting at cache_info.saved_offset
Definition at line 39 of file routerlist_st.h.
Referenced by desc_get_store(), and router_reload_router_list().
struct digest_ei_map_t* extra_info_map |
Map from extra-info digest to an extrainfo_t. Only exists for routers in routers or old_routers.
Definition at line 26 of file routerlist_st.h.
Referenced by extrainfo_get_by_descriptor_digest().
desc_store_t extrainfo_store |
Store holding extra-info documents.
Definition at line 41 of file routerlist_st.h.
Referenced by desc_get_store(), router_add_extrainfo_to_routerlist(), and router_reload_router_list().
struct digest_ri_map_t* identity_map |
Map from server identity digest to a member of routers.
Definition at line 20 of file routerlist_st.h.
Referenced by extrainfo_insert(), router_get_mutable_by_digest(), routerlist_assert_ok(), and routerlist_insert().
smartlist_t* old_routers |
List of signed_descriptor_t for older router descriptors we're caching.
Definition at line 35 of file routerlist_st.h.
Referenced by dump_routerlist_mem_usage(), routerlist_insert(), routerlist_remove_old_cached_routers_with_id(), and update_extrainfo_downloads().
smartlist_t* routers |
List of routerinfo_t for all currently live routers we know.
Definition at line 32 of file routerlist_st.h.
Referenced by controller_get_routerdescs(), dirserv_get_routerdesc_spool(), dirserv_set_bridges_running(), dump_routerlist_mem_usage(), nodelist_assert_ok(), routerlist_assert_ok(), routerlist_find_my_routerinfo(), and update_extrainfo_downloads().