tor  0.4.1.0-alpha-dev
or_circuit_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef OR_CIRCUIT_ST_H
8 #define OR_CIRCUIT_ST_H
9 
10 #include "core/or/or.h"
11 
12 #include "core/or/circuit_st.h"
13 #include "core/or/crypt_path_st.h"
14 
15 struct onion_queue_t;
16 
19 struct or_circuit_t {
20  circuit_t base_;
21 
29 
46 
50 
54 
56  char rend_circ_nonce[DIGEST_LEN];/* KH in tor-spec.txt */
57 
60  unsigned int remaining_relay_early_cells : 4;
61 
62  /* We have already received an INTRODUCE1 cell on this circuit. */
63  unsigned int already_received_introduce1 : 1;
64 
68 
71  uint32_t processed_cells;
72 
77 };
78 
79 #endif
80 
struct or_circuit_t * rend_splice
Definition: or_circuit_st.h:53
char rend_circ_nonce[DIGEST_LEN]
Definition: or_circuit_st.h:56
channel_t * p_chan
Definition: or_circuit_st.h:35
uint64_t total_cell_waiting_time
Definition: or_circuit_st.h:76
struct onion_queue_t * onionqueue_entry
Definition: or_circuit_st.h:24
edge_connection_t * n_streams
Definition: or_circuit_st.h:42
struct workqueue_entry_s * workqueue_entry
Definition: or_circuit_st.h:28
#define DIGEST_LEN
Definition: digest_sizes.h:20
Master header file for Tor-specific functionality.
unsigned int circuit_carries_hs_traffic_stats
Definition: or_circuit_st.h:67
uint32_t processed_cells
Definition: or_circuit_st.h:71
circid_t p_circ_id
Definition: or_circuit_st.h:31
circuitmux_t * p_mux
Definition: or_circuit_st.h:40
cell_queue_t p_chan_cells
Definition: or_circuit_st.h:33
Definition: workqueue.c:98
edge_connection_t * resolving_streams
Definition: or_circuit_st.h:45
uint32_t circid_t
Definition: or.h:608
unsigned int remaining_relay_early_cells
Definition: or_circuit_st.h:60
relay_crypto_t crypto
Definition: or_circuit_st.h:49