aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-22 09:05:52 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-30 14:42:53 -0500
commitde617a471442342fc2abafdde4e250fd31eb45ac (patch)
tree7f2fbc4b163aa826d4ab71b255f1f48ad2f8de8f /src/or/or.h
parent8e43398986313f31bfda53aa798263972bf24c11 (diff)
downloadtor-de617a471442342fc2abafdde4e250fd31eb45ac.tar.gz
tor-de617a471442342fc2abafdde4e250fd31eb45ac.zip
Maintain a list of all the origin circuits.
We'll want this for upgrading waiting circuits.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 8282731eea..c8f39f90d9 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3157,6 +3157,10 @@ typedef struct origin_circuit_t {
* whether this circuit can be used. */
struct circuit_guard_state_t *guard_state;
+ /** Index into global_origin_circuit_list for this circuit. -1 if not
+ * present. */
+ int global_origin_circuit_list_idx;
+
/** How many more relay_early cells can we send on this circuit, according
* to the specification? */
unsigned int remaining_relay_early_cells : 4;