tor  0.4.2.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 
41 
45 
49 
51  char rend_circ_nonce[DIGEST_LEN];/* KH in tor-spec.txt */
52 
55  unsigned int remaining_relay_early_cells : 4;
56 
57  /* We have already received an INTRODUCE1 cell on this circuit. */
58  unsigned int already_received_introduce1 : 1;
59 
63 
66  uint32_t processed_cells;
67 
72 };
73 
74 #endif /* !defined(OR_CIRCUIT_ST_H) */
75 
struct or_circuit_t * rend_splice
Definition: or_circuit_st.h:48
char rend_circ_nonce[DIGEST_LEN]
Definition: or_circuit_st.h:51
channel_t * p_chan
Definition: or_circuit_st.h:35
uint64_t total_cell_waiting_time
Definition: or_circuit_st.h:71
struct onion_queue_t * onionqueue_entry
Definition: or_circuit_st.h:24
edge_connection_t * n_streams
Definition: or_circuit_st.h:37
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:62
uint32_t processed_cells
Definition: or_circuit_st.h:66
circid_t p_circ_id
Definition: or_circuit_st.h:31
cell_queue_t p_chan_cells
Definition: or_circuit_st.h:33
Definition: workqueue.c:95
edge_connection_t * resolving_streams
Definition: or_circuit_st.h:40
uint32_t circid_t
Definition: or.h:608
unsigned int remaining_relay_early_cells
Definition: or_circuit_st.h:55
relay_crypto_t crypto
Definition: or_circuit_st.h:44