|
Tor 0.4.9.8
|
#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 315 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 331 of file hs_service.h.
Referenced by build_service_desc_encrypted(), build_service_desc_plaintext(), build_service_desc_superencrypted(), close_service_circuits(), compute_subcredentials(), config_generic_service(), config_has_invalid_options(), config_learn_service_version(), config_service(), get_max_intro_circ_per_period(), get_service_anonymity_string(), hs_circ_handle_introduce2(), hs_circ_launch_intro_point(), hs_circ_service_intro_has_opened(), hs_ob_service_is_instance(), hs_service_add_ephemeral(), hs_service_del_ephemeral(), hs_service_exports_circuit_id(), hs_service_free_(), hs_service_get_version_from_key(), hs_service_new(), hs_service_set_conn_addr_port(), init_store(), initialize_pow_defenses(), is_client_auth_enabled(), launch_intro_point_circuits(), launch_rendezvous_point_circuit(), load_client_keys(), load_service_keys(), move_descriptors(), move_ephemeral_services(), pick_needed_intro_points(), remove_service(), send_establish_intro(), service_add_fnames_to_list(), service_escaped_dir(), service_is_duplicate_in_list(), should_service_upload_descriptor(), update_service_descriptor_intro_points(), upload_descriptor_to_hsdir(), and write_address_to_file().
| hs_service_descriptor_t* desc_current |
Current descriptor.
Definition at line 334 of file hs_service.h.
Referenced by build_descriptors_for_new_service(), compute_subcredentials(), get_max_intro_circ_per_period(), hs_ob_refresh_keys(), hs_service_lookup_current_desc(), move_descriptors(), refresh_service_descriptor(), rotate_service_descriptors(), should_rotate_descriptors(), and update_service_descriptor_intro_points().
| hs_service_descriptor_t* desc_next |
Next descriptor.
Definition at line 336 of file hs_service.h.
Referenced by build_descriptors_for_new_service(), compute_subcredentials(), get_max_intro_circ_per_period(), hs_ob_refresh_keys(), log_cant_upload_desc(), move_descriptors(), rotate_service_descriptors(), service_desc_hsdirs_changed(), should_rotate_descriptors(), upload_descriptor_to_all(), and upload_descriptor_to_hsdir().
| hs_service_keys_t keys |
Key material of the service.
Definition at line 328 of file hs_service.h.
Referenced by build_service_desc_keys(), build_service_desc_plaintext(), close_directory_connections(), close_service_rp_circuits(), count_opened_desc_intro_point_circuits(), count_service_rp_circuits_pending(), create_intro_circuit_identifier(), create_rp_circuit_identifier(), find_service(), hs_circ_service_rp_has_opened(), hs_service_add_ephemeral(), hs_service_free_(), hs_service_ht_eq(), hs_service_ht_hash(), launch_rendezvous_point_circuit(), load_service_keys(), register_service(), remove_service(), and upload_descriptor_to_hsdir().
| hs_service_metrics_t metrics |
Metrics.
Definition at line 339 of file hs_service.h.
Referenced by add_metric_with_labels(), hs_metrics_service_free(), hs_metrics_service_init(), and hs_metrics_update_by_service().
| 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 318 of file hs_service.h.
Referenced by add_metric_with_labels(), build_descriptors_for_new_service(), build_service_desc_keys(), build_service_descriptor(), can_service_launch_intro_circuit(), close_directory_connections(), hs_cell_parse_introduce2(), hs_circ_handle_intro_established(), hs_circ_launch_intro_point(), hs_circ_service_intro_has_opened(), hs_circ_service_rp_has_opened(), hs_service_add_ephemeral(), hs_service_set_conn_addr_port(), launch_intro_point_circuits(), launch_rendezvous_point_circuit(), load_service_keys(), log_cant_upload_desc(), parse_introduce2_cell(), parse_introduce2_encrypted(), pick_needed_intro_points(), send_establish_intro(), service_handle_intro_established(), service_handle_introduce2(), service_intro_circ_has_opened(), set_rotation_time(), update_service_descriptor_intro_points(), upload_descriptor_to_all(), upload_descriptor_to_hsdir(), and write_address_to_file().
| hs_service_state_t state |
Service state which contains various flags and counters.
Definition at line 325 of file hs_service.h.
Referenced by can_service_launch_intro_circuit(), enqueue_rend_request(), get_subcredential_for_handling_intro2_cell(), handle_introduce2_encrypted_cell_pow_extension(), hs_circ_handle_introduce2(), hs_circ_launch_intro_point(), hs_ob_refresh_keys(), hs_service_free_(), hs_service_new(), initialize_pow_defenses(), move_hs_state(), pow_housekeeping(), rotate_pow_seeds(), set_rotation_time(), should_rotate_descriptors(), and update_suggested_effort().