|
Tor 0.4.9.8
|
#include "lib/testsupport/testsupport.h"Go to the source code of this file.
Functions | |
| void | note_connection (bool inbound, const connection_t *conn) |
| void | note_circ_closed_for_unrecognized_cells (time_t n_seconds, uint32_t n_cells) |
| int | log_heartbeat (time_t now) |
| int log_heartbeat | ( | time_t | now | ) |
Log a "heartbeat" message describing Tor's status and history so that the user can know that there is indeed a running Tor. Return 0 on success and -1 on failure.
Now, if we are an HS service, log some stats about our usage
Definition at line 184 of file status.c.
Referenced by heartbeat_callback(), and process_signal().
| void note_circ_closed_for_unrecognized_cells | ( | time_t | n_seconds, |
| uint32_t | n_cells ) |
Note that a circuit has closed n_seconds after having been created, because of one or more unrecognized cells. Also note the number of unrecognized cells n_cells.
Definition at line 172 of file status.c.
Referenced by circuit_about_to_free().
| void note_connection | ( | bool | inbound, |
| const connection_t * | conn ) |
Note that a connection has arrived or has been made, for use in the heartbeat message.
Definition at line 135 of file status.c.
Referenced by connection_connect_sockaddr(), and connection_handle_listener_read().