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 817 of file or.h.

Field Documentation

◆ command

uint8_t command

cell command number.

Definition at line 818 of file or.h.

◆ exitward

unsigned int exitward

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

Definition at line 825 of file or.h.

◆ removed

unsigned int removed

0 for added to, 1 for removed from queue.

Definition at line 824 of file or.h.

◆ waiting_time

unsigned int 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 823 of file or.h.

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