aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-06 01:53:29 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 11:29:47 -0500
commitb2863739083125d332cf1166ae6b095df7d0f155 (patch)
tree44e6a25866048d143b1e739a46528823306ff9e7 /src/or/or.h
parentecf88b16b8672c8b734d13d84910e97357c470a8 (diff)
downloadtor-b2863739083125d332cf1166ae6b095df7d0f155.tar
tor-b2863739083125d332cf1166ae6b095df7d0f155.tar.gz
Enable the ntor handshake on the client side.
"works for me"
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 66e905449..b5718a83d 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2025,6 +2025,9 @@ typedef struct routerstatus_t {
/** True iff this router is a version that allows DATA cells to arrive on
* a stream before it has sent a CONNECTED cell. */
unsigned int version_supports_optimistic_data:1;
+ /** True iff this router has a version that allows it to accept EXTEND2
+ * cells */
+ unsigned int version_supports_extend2_cells:1;
unsigned int has_bandwidth:1; /**< The vote/consensus had bw info */
unsigned int has_exitsummary:1; /**< The vote/consensus had exit summaries */
@@ -3799,6 +3802,8 @@ typedef struct {
int IPv6Exit; /**< Do we support exiting to IPv6 addresses? */
+ /** Autobool: should we use the ntor handshake if we can? */
+ int UseNTorHandshake;
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */