diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-13 14:23:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-13 14:23:59 -0400 |
commit | 902672eac6dc4cbdbdd7e410a6dc7580f0df7509 (patch) | |
tree | 156db18fc10dbaba56fcb2622e5f6321d5d4b504 /src/or/or.h | |
parent | 63e39b291e97438460814e6428f102aeb8528324 (diff) | |
parent | f02868bb53f57e416094c7ebc9f6632ce6a3d007 (diff) | |
download | tor-902672eac6dc4cbdbdd7e410a6dc7580f0df7509.tar.gz tor-902672eac6dc4cbdbdd7e410a6dc7580f0df7509.zip |
Merge branch 'ticket21889_031_01_squashed'
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/or/or.h b/src/or/or.h index f36b12b3f7..a7b3a66561 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3074,6 +3074,13 @@ typedef struct circuit_t { * circuit's queues; used only if CELL_STATS events are enabled and * cleared after being sent to control port. */ smartlist_t *testing_cell_stats; + + /** If set, points to an HS token that this circuit might be carrying. + * Used by the HS circuitmap. */ + hs_token_t *hs_token; + /** Hashtable node: used to look up the circuit by its HS token using the HS + circuitmap. */ + HT_ENTRY(circuit_t) hs_circuitmap_node; } circuit_t; /** Largest number of relay_early cells that we can send on a given @@ -3383,13 +3390,6 @@ typedef struct or_circuit_t { * is not marked for close. */ struct or_circuit_t *rend_splice; - /** If set, points to an HS token that this circuit might be carrying. - * Used by the HS circuitmap. */ - hs_token_t *hs_token; - /** Hashtable node: used to look up the circuit by its HS token using the HS - circuitmap. */ - HT_ENTRY(or_circuit_t) hs_circuitmap_node; - /** Stores KH for the handshake. */ char rend_circ_nonce[DIGEST_LEN];/* KH in tor-spec.txt */ |