aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/or.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-10-23 20:55:10 +0000
committerGeorge Kadianakis <desnacked@riseup.net>2019-01-02 15:12:16 +0200
commit659a4f06d46a0e8e4f391eda3b6d86f2ab6e4db9 (patch)
treef33207b1bf0355076b244b161b2bb093c8840c34 /src/core/or/or.h
parent70e9245f6feecceee96f0ea8d426e1a5a6fc9b8d (diff)
downloadtor-659a4f06d46a0e8e4f391eda3b6d86f2ab6e4db9.tar.gz
tor-659a4f06d46a0e8e4f391eda3b6d86f2ab6e4db9.zip
Circuit padding ProtoVer plumbing.
This helps us to determine if a middle node can pad to us or not. Co-authored-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/core/or/or.h')
-rw-r--r--src/core/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/or/or.h b/src/core/or/or.h
index ca373d8ed5..f297bc9267 100644
--- a/src/core/or/or.h
+++ b/src/core/or/or.h
@@ -836,6 +836,10 @@ typedef struct protover_summary_flags_t {
* service rendezvous point supporting version 3 as seen in proposal 224.
* This requires HSRend=2. */
unsigned int supports_v3_rendezvous_point: 1;
+
+ /** True iff this router has a protocol list that allows clients to
+ * negotiate link-level padding. Requires Padding>=1. */
+ unsigned int supports_padding : 1;
} protover_summary_flags_t;
typedef struct routerinfo_t routerinfo_t;