diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-09-16 17:17:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-09-16 17:17:39 +0000 |
commit | c09de55fb843c2875caf59cc6447f184d51ce209 (patch) | |
tree | 3163492bdbc4903a96398cb8fda1c0f0b1930604 /src/or/or.h | |
parent | 8b71b7338faeaedf60e40b335b865781106ad1a2 (diff) | |
download | tor-c09de55fb843c2875caf59cc6447f184d51ce209.tar.gz tor-c09de55fb843c2875caf59cc6447f184d51ce209.zip |
Add #ifdef'd code (on by default) to allocate ACIs sequentially.
svn:r462
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index c52fb35259..ad677d5cab 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -8,6 +8,7 @@ #include "orconfig.h" #define USE_TLS +#define SEQUENTIAL_ACI #include <stdio.h> #include <stdlib.h> @@ -314,6 +315,9 @@ struct connection_t { char nonce[8]; #endif +#ifdef SEQUENTIAL_ACI + uint16_t next_aci; /* Which ACI do we try to use next on this connection? */ +#endif /* Used only by edge connections: */ char stream_id[STREAM_ID_SIZE]; |