aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-14 06:03:26 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-14 06:03:26 +0000
commit6da96f0ed79f532dedbf3af109f90f263301afd8 (patch)
tree084ab320cc11be08bc0fee644d18cb6e4c5fc7d9 /src/or/or.h
parent2c27cfc38ea3dcdf80a039ed804b2311864e5e3e (diff)
downloadtor-6da96f0ed79f532dedbf3af109f90f263301afd8.tar
tor-6da96f0ed79f532dedbf3af109f90f263301afd8.tar.gz
r7369@Kushana: nickm | 2006-08-14 02:03:10 -0400
Shortening fields is only one part of making structs shorter. You must also consider alignment padding. Whee. svn:r7045
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h
index cb21a3c0b..94f2a6b2c 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -710,10 +710,6 @@ typedef struct edge_connection_t {
* circuit? */
int deliver_window; /**< How many more relay cells can end at me? */
- /** Number of times we've reassigned this application connection to
- * a new circuit. We keep track because the timeout is longer if we've
- * already retried several times. */
- uint8_t num_socks_retries;
/** Nickname of planned exit node -- used with .exit support. */
char *chosen_exit_name;
@@ -735,6 +731,12 @@ typedef struct edge_connection_t {
char rend_query[REND_SERVICE_ID_LEN+1]; /**< What rendezvous service are we
* querying for? (AP only) */
+
+ /** Number of times we've reassigned this application connection to
+ * a new circuit. We keep track because the timeout is longer if we've
+ * already retried several times. */
+ uint8_t num_socks_retries;
+
} edge_connection_t;
/** Subtype of connection_t for an "directory connection" -- that is, an HTTP