network_liveness_t Struct Reference

#include <or.h>


Data Fields

time_t network_last_live
int nonlive_timeouts
int nonlive_discarded
int8_t * timeouts_after_firsthop
int num_recent_circs
int after_firsthop_idx
int net_suspended


Detailed Description

Information about the state of our local network connection

Field Documentation

The timestamp we last completed a TLS handshake or received a cell

Referenced by circuit_build_times_network_check_live(), circuit_build_times_network_is_live(), and circuit_build_times_network_timeout().

If the network is not live, how many timeouts has this caused?

Referenced by circuit_build_times_network_check_live(), circuit_build_times_network_is_live(), and circuit_build_times_network_timeout().

If the network is not live, have we yet discarded our history?

Referenced by circuit_build_times_network_check_live(), and circuit_build_times_network_is_live().

Circular array of circuits that have made it to the first hop. Slot is 1 if circuit timed out, 0 if circuit succeeded

Referenced by circuit_build_times_init(), circuit_build_times_network_check_changed(), circuit_build_times_network_circ_success(), circuit_build_times_network_timeout(), and circuit_build_times_new_consensus_params().

The network is not live. Timeout gathering is suspended

Referenced by circuit_build_times_network_check_live().


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

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