Tor  0.4.7.0-alpha-dev
Data Fields
padding_counts_t Struct Reference

Data Fields

uint64_t read_cell_count
 
uint64_t write_cell_count
 
uint64_t read_pad_cell_count
 
uint64_t write_pad_cell_count
 
uint64_t enabled_read_cell_count
 
uint64_t enabled_write_cell_count
 
uint64_t enabled_read_pad_cell_count
 
uint64_t enabled_write_pad_cell_count
 
uint64_t read_drop_cell_count
 
uint64_t write_drop_cell_count
 
uint64_t maximum_chanpad_timers
 
char first_published_at [ISO_TIME_LEN+1]
 

Detailed Description

This structure holds accounting needed to calculate the padding overhead.

Definition at line 143 of file rephist.c.

Field Documentation

◆ enabled_read_cell_count

uint64_t enabled_read_cell_count

Total number of read cells on padding-enabled conns

Definition at line 153 of file rephist.c.

◆ enabled_read_pad_cell_count

uint64_t enabled_read_pad_cell_count

Total number of read CELL_PADDING cells on padding-enabled cons

Definition at line 157 of file rephist.c.

◆ enabled_write_cell_count

uint64_t enabled_write_cell_count

Total number of sent cells on padding-enabled conns

Definition at line 155 of file rephist.c.

◆ enabled_write_pad_cell_count

uint64_t enabled_write_pad_cell_count

Total number of sent CELL_PADDING cells on padding-enabled cons

Definition at line 159 of file rephist.c.

◆ first_published_at

char first_published_at[ISO_TIME_LEN+1]

When did we first copy padding_current into padding_published?

Definition at line 167 of file rephist.c.

Referenced by rep_hist_get_padding_count_lines().

◆ maximum_chanpad_timers

uint64_t maximum_chanpad_timers

The maximum number of padding timers we've seen in 24 hours

Definition at line 165 of file rephist.c.

Referenced by rep_hist_padding_count_timers().

◆ read_cell_count

uint64_t read_cell_count

Total number of cells we have received, including padding

Definition at line 145 of file rephist.c.

Referenced by rep_hist_get_padding_count_lines().

◆ read_drop_cell_count

uint64_t read_drop_cell_count

Total number of RELAY_DROP cells we have received

Definition at line 161 of file rephist.c.

◆ read_pad_cell_count

uint64_t read_pad_cell_count

Total number of CELL_PADDING cells we have received

Definition at line 149 of file rephist.c.

◆ write_cell_count

uint64_t write_cell_count

Total number of cells we have sent, including padding

Definition at line 147 of file rephist.c.

Referenced by rep_hist_get_padding_count_lines().

◆ write_drop_cell_count

uint64_t write_drop_cell_count

Total number of RELAY_DROP cells we have sent

Definition at line 163 of file rephist.c.

◆ write_pad_cell_count

uint64_t write_pad_cell_count

Total number of CELL_PADDING cells we have sent

Definition at line 151 of file rephist.c.


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