diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-06-10 13:35:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-06-14 11:00:44 -0400 |
commit | 8f3e3279c198dd13c11ffd739ddf08dbe8b07762 (patch) | |
tree | cb013d3fe1b324718adc9a8ec75fc920c83fca07 /src/or/relay.h | |
parent | 173a1afc5819f1fcabfa34bab5714d61088cc29f (diff) | |
download | tor-8f3e3279c198dd13c11ffd739ddf08dbe8b07762.tar.gz tor-8f3e3279c198dd13c11ffd739ddf08dbe8b07762.zip |
Try to diagnose bug 12184
Check for consistency between the queued destroy cells and the marked
circuit IDs. Check for consistency in the count of queued destroy
cells in several ways. Check to see whether any of the marked circuit
IDs have somehow been marked longer than the channel has existed.
Diffstat (limited to 'src/or/relay.h')
-rw-r--r-- | src/or/relay.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/relay.h b/src/or/relay.h index 479d474b35..969c6fb61d 100644 --- a/src/or/relay.h +++ b/src/or/relay.h @@ -82,6 +82,8 @@ void stream_choice_seed_weak_rng(void); int relay_crypt(circuit_t *circ, cell_t *cell, cell_direction_t cell_direction, crypt_path_t **layer_hint, char *recognized); +circid_t packed_cell_get_circid(const packed_cell_t *cell, int wide_circ_ids); + #ifdef RELAY_PRIVATE STATIC int connected_cell_parse(const relay_header_t *rh, const cell_t *cell, tor_addr_t *addr_out, int *ttl_out); |