Tor
0.4.7.0-alpha-dev
|
#include <hs_service.h>
Public Member Functions | |
HT_ENTRY (hs_service_t) hs_service_node | |
Representation of a service running on this tor instance.
Definition at line 297 of file hs_service.h.
HT_ENTRY | ( | hs_service_t | ) |
Hashtable node: use to look up the service by its master public identity key in the service global map.
hs_service_config_t config |
Configuration of the service.
Definition at line 313 of file hs_service.h.
Referenced by build_service_desc_encrypted(), build_service_desc_plaintext(), build_service_desc_superencrypted(), config_generic_service(), config_has_invalid_options(), config_learn_service_version(), get_max_intro_circ_per_period(), get_service_anonymity_string(), hs_circ_service_intro_has_opened(), hs_service_add_ephemeral(), hs_service_exports_circuit_id(), hs_service_get_version_from_key(), is_client_auth_enabled(), launch_intro_point_circuits(), launch_rendezvous_point_circuit(), load_client_keys(), load_service_keys(), move_ephemeral_services(), pick_needed_intro_points(), send_establish_intro(), service_add_fnames_to_list(), service_escaped_dir(), service_is_duplicate_in_list(), and should_service_upload_descriptor().
hs_service_descriptor_t* desc_current |
Current descriptor.
Definition at line 316 of file hs_service.h.
Referenced by build_descriptors_for_new_service(), compute_subcredentials(), hs_ob_refresh_keys(), hs_service_lookup_current_desc(), move_descriptors(), refresh_service_descriptor(), and rotate_service_descriptors().
hs_service_descriptor_t* desc_next |
Next descriptor.
Definition at line 318 of file hs_service.h.
Referenced by build_descriptors_for_new_service(), compute_subcredentials(), hs_ob_refresh_keys(), rotate_service_descriptors(), and upload_descriptor_to_all().
hs_service_keys_t keys |
Key material of the service.
Definition at line 310 of file hs_service.h.
Referenced by build_service_desc_keys(), build_service_desc_plaintext(), close_service_rp_circuits(), create_intro_circuit_identifier(), create_rp_circuit_identifier(), find_service(), hs_service_ht_eq(), hs_service_ht_hash(), and register_service().
hs_service_metrics_t metrics |
Metrics.
Definition at line 321 of file hs_service.h.
Referenced by hs_metrics_service_init(), hs_metrics_update_by_service(), and init_store().
char onion_address[HS_SERVICE_ADDR_LEN_BASE32+1] |
Onion address base32 encoded and NUL terminated. We keep it for logging purposes so we don't have to build it every time.
Definition at line 300 of file hs_service.h.
Referenced by write_address_to_file().
hs_service_state_t state |
Service state which contains various flags and counters.
Definition at line 307 of file hs_service.h.
Referenced by can_service_launch_intro_circuit(), hs_circ_handle_introduce2(), move_hs_state(), set_rotation_time(), and should_rotate_descriptors().