Tor  0.4.7.0-alpha-dev
Data Fields
conn_counts_t Struct Reference

Data Fields

uint32_t below_threshold
 
uint32_t mostly_read
 
uint32_t mostly_written
 
uint32_t both_read_and_written
 

Detailed Description

A single grouped set of connection type counts.

Definition at line 52 of file connstats.c.

Field Documentation

◆ below_threshold

uint32_t below_threshold

Number of connections that we read and wrote less than BIDI_THRESHOLD bytes from/to in BIDI_INTERVAL seconds.

Definition at line 55 of file connstats.c.

Referenced by add_entry_to_count().

◆ both_read_and_written

uint32_t both_read_and_written

Number of connections that we read and wrote at least BIDI_THRESHOLD bytes from/to, but not BIDI_FACTOR times more in either direction in BIDI_INTERVAL seconds.

Definition at line 68 of file connstats.c.

Referenced by add_entry_to_count().

◆ mostly_read

uint32_t mostly_read

Number of connections that we read at least BIDI_FACTOR times more bytes from than we wrote to in BIDI_INTERVAL seconds.

Definition at line 59 of file connstats.c.

Referenced by add_entry_to_count().

◆ mostly_written

uint32_t mostly_written

Number of connections that we wrote at least BIDI_FACTOR times more bytes to than we read from in BIDI_INTERVAL seconds.

Definition at line 63 of file connstats.c.

Referenced by add_entry_to_count().


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