diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2008-12-30 11:43:50 +0000 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2008-12-30 11:43:50 +0000 |
commit | 9a04358d878326d7f4275d32105efd9ba985c257 (patch) | |
tree | fae8a1b498a8bef7ed30c3f4af62e04175e9fc5b /src/or/or.h | |
parent | 52932d6f1a72b9cd3a0bd9571016fa763662d3d6 (diff) | |
download | tor-9a04358d878326d7f4275d32105efd9ba985c257.tar.gz tor-9a04358d878326d7f4275d32105efd9ba985c257.zip |
Debug code for task 878.
svn:r17828
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index d6f7c3b916..19b6bc7c9f 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1997,6 +1997,14 @@ typedef struct origin_circuit_t { * to the specification? */ unsigned int remaining_relay_early_cells : 4; + /** What commands were sent over this circuit that decremented the + * RELAY_EARLY counter? This is for debugging task 878. */ + uint8_t relay_early_commands[MAX_RELAY_EARLY_CELLS_PER_CIRCUIT]; + + /** How many RELAY_EARLY cells have been sent over this circuit? This is + * for debugging task 878, too. */ + int relay_early_cells_sent; + /** The next stream_id that will be tried when we're attempting to * construct a new AP stream originating at this circuit. */ streamid_t next_stream_id; |