tor  master
Data Fields
network_liveness_t Struct Reference

#include <or.h>

Data Fields

time_t network_last_live
 
int nonlive_timeouts
 
int8_t * timeouts_after_firsthop
 
int num_recent_circs
 
int after_firsthop_idx
 

Detailed Description

Information about the state of our local network connection

Field Documentation

◆ after_firsthop_idx

int after_firsthop_idx

Index into circular array.

◆ network_last_live

time_t network_last_live

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

◆ nonlive_timeouts

int nonlive_timeouts

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

◆ num_recent_circs

int num_recent_circs

Number of elements allocated for the above array

◆ timeouts_after_firsthop

int8_t* timeouts_after_firsthop

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


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