summaryrefslogtreecommitdiff
path: root/src/or/channelpadding.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2017-06-23 18:34:41 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-12 10:28:45 -0400
commit6d221c8f371a0c1809552b699f1afab8cde3bd31 (patch)
treef03bda8eca62ccf13b3f0a32af1baf595865bfd0 /src/or/channelpadding.h
parent79e2e4d3cbabff41675aa1f7defb67f4acba398c (diff)
downloadtor-6d221c8f371a0c1809552b699f1afab8cde3bd31.tar.gz
tor-6d221c8f371a0c1809552b699f1afab8cde3bd31.zip
Ticket #17857: Apply padding off-switch to existing connections.
Diffstat (limited to 'src/or/channelpadding.h')
-rw-r--r--src/or/channelpadding.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/channelpadding.h b/src/or/channelpadding.h
index 2708ee9739..a227e27d5b 100644
--- a/src/or/channelpadding.h
+++ b/src/or/channelpadding.h
@@ -13,6 +13,11 @@
#include "channelpadding_negotiation.h"
+#define CHANNELPADDING_TOR2WEB_PARAM "nf_pad_tor2web"
+#define CHANNELPADDING_TOR2WEB_DEFAULT 1
+#define CHANNELPADDING_SOS_PARAM "nf_pad_single_onion"
+#define CHANNELPADDING_SOS_DEFAULT 1
+
typedef enum {
CHANNELPADDING_WONTPAD,
CHANNELPADDING_PADLATER,