tor  0.4.2.1-alpha-dev
Data Fields
testing_cell_stats_entry_t Struct Reference

#include <or.h>

Data Fields

uint8_t command
 
unsigned int waiting_time:22
 
unsigned int removed:1
 
unsigned int exitward:1
 

Detailed Description

Entry in the cell stats list of a circuit; used only if CELL_STATS events are enabled.

Definition at line 923 of file or.h.

Field Documentation

◆ command

uint8_t testing_cell_stats_entry_t::command

cell command number.

Definition at line 924 of file or.h.

◆ exitward

unsigned int testing_cell_stats_entry_t::exitward

0 for app-ward, 1 for exit-ward.

Definition at line 931 of file or.h.

◆ removed

unsigned int testing_cell_stats_entry_t::removed

0 for added to, 1 for removed from queue.

Definition at line 930 of file or.h.

◆ waiting_time

unsigned int testing_cell_stats_entry_t::waiting_time

Waiting time in centiseconds if this event is for a removed cell, or 0 if this event is for adding a cell to the queue. 22 bits can store more than 11 hours, enough to assume that a circuit with this delay would long have been closed.

Definition at line 929 of file or.h.


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