tor
master
|
#include <or.h>
Data Fields | |
circuit_t | base_ |
struct onion_queue_t * | onionqueue_entry |
struct workqueue_entry_s * | workqueue_entry |
circid_t | p_circ_id |
cell_queue_t | p_chan_cells |
channel_t * | p_chan |
circuitmux_t * | p_mux |
edge_connection_t * | n_streams |
edge_connection_t * | resolving_streams |
relay_crypto_t | crypto |
struct or_circuit_t * | rend_splice |
char | rend_circ_nonce [DIGEST_LEN] |
unsigned int | remaining_relay_early_cells: 4 |
unsigned int | already_received_introduce1: 1 |
unsigned int | circuit_carries_hs_traffic_stats: 1 |
uint32_t | processed_cells |
uint64_t | total_cell_waiting_time |
An or_circuit_t holds information needed to implement a circuit at an OR.
unsigned int circuit_carries_hs_traffic_stats |
If set, this circuit carries HS traffic. Consider it in any HS statistics.
relay_crypto_t crypto |
Cryptographic state used for encrypting and authenticating relay cells to and from this hop.
edge_connection_t* n_streams |
Linked list of Exit streams associated with this circuit.
struct onion_queue_t* onionqueue_entry |
Pointer to an entry on the onion queue, if this circuit is waiting for a chance to give an onionskin to a cpuworker. Used only in onion.c
channel_t* p_chan |
The channel that is previous in this circuit.
cell_queue_t p_chan_cells |
Queue of cells waiting to be transmitted on p_conn.
circid_t p_circ_id |
The circuit_id used in the previous (backward) hop of this circuit.
circuitmux_t* p_mux |
Circuit mux associated with p_chan to which this circuit is attached; NULL if we have no p_chan.
uint32_t processed_cells |
Number of cells that were removed from circuit queue; reset every time when writing buffer stats to disk.
unsigned int remaining_relay_early_cells |
How many more relay_early cells can we send on this circuit, according to the specification?
char rend_circ_nonce[DIGEST_LEN] |
Stores KH for the handshake.
struct or_circuit_t* rend_splice |
Points to spliced circuit if purpose is REND_ESTABLISHED, and circuit is not marked for close.
edge_connection_t* resolving_streams |
Linked list of Exit streams associated with this circuit that are still being resolved.
uint64_t total_cell_waiting_time |
Total time in milliseconds that cells spent in both app-ward and exit-ward queues of this circuit; reset every time when writing buffer stats to disk.
struct workqueue_entry_s* workqueue_entry |
Pointer to a workqueue entry, if this circuit has given an onionskin to a cpuworker and is waiting for a response. Used to decide whether it is safe to free a circuit or if it is still in use by a cpuworker.