Tor
0.4.7.0-alpha-dev
|
#include <cpath_build_state_st.h>
Data Fields | |
int | desired_path_len |
extend_info_t * | chosen_exit |
unsigned int | need_uptime: 1 |
unsigned int | need_capacity: 1 |
unsigned int | is_internal: 1 |
unsigned int | is_ipv6_selftest: 1 |
unsigned int | onehop_tunnel: 1 |
int | failure_count |
time_t | expiry_time |
Information used to build a circuit.
Definition at line 16 of file cpath_build_state_st.h.
extend_info_t* chosen_exit |
How to extend to the planned exit node.
Definition at line 20 of file cpath_build_state_st.h.
Referenced by build_state_get_exit_nickname(), build_state_get_exit_node(), build_state_get_exit_rsa_id(), circuit_can_be_cannibalized_for_v3_rp(), client_rendezvous_circ_has_opened(), connection_ap_fail_onehop(), and setup_intro_circ_auth_key().
int desired_path_len |
Intended length of the final circuit.
Definition at line 18 of file cpath_build_state_st.h.
Referenced by circuit_build_failed(), circuit_list_path_impl(), circuit_timeout_want_to_count_circ(), and onion_extend_cpath().
time_t expiry_time |
At what time should we give up on this task?
Definition at line 36 of file cpath_build_state_st.h.
int failure_count |
How many times has building a circuit for this task failed?
Definition at line 34 of file cpath_build_state_st.h.
unsigned int is_internal |
Whether the last hop was picked with exiting in mind.
Definition at line 26 of file cpath_build_state_st.h.
Referenced by circuit_describe_status_for_controller(), circuit_is_acceptable(), circuit_list_path_impl(), and circuit_stream_is_being_handled().
unsigned int is_ipv6_selftest |
Is this an IPv6 ORPort self-testing circuit?
Definition at line 28 of file cpath_build_state_st.h.
unsigned int need_capacity |
Whether every node in the circ must have adequate capacity.
Definition at line 24 of file cpath_build_state_st.h.
Referenced by circuit_describe_status_for_controller().
unsigned int need_uptime |
Whether every node in the circ must have adequate uptime.
Definition at line 22 of file cpath_build_state_st.h.
Referenced by circuit_describe_status_for_controller(), circuit_is_acceptable(), circuit_list_path_impl(), and circuit_stream_is_being_handled().
unsigned int onehop_tunnel |
Did we pick this as a one-hop tunnel (not safe for other streams)? These are for encrypted dir conns that exit to this router, not for arbitrary exits from the circuit.
Definition at line 32 of file cpath_build_state_st.h.
Referenced by circuit_describe_status_for_controller(), circuit_is_acceptable(), circuit_stream_is_being_handled(), onion_pick_cpath_exit(), and warn_if_last_router_excluded().