summaryrefslogtreecommitdiff
path: root/src/or/parsecommon.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-06-28 16:27:01 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:29:28 -0400
commitcff1fd63f16e83e4620afc9a8219f44e8b88b592 (patch)
tree00f02d0d46dc8f420efee456c5a7126599f00d43 /src/or/parsecommon.h
parent91b5d0789ff5606cf97346590567857bfd78f9ad (diff)
downloadtor-cff1fd63f16e83e4620afc9a8219f44e8b88b592.tar.gz
tor-cff1fd63f16e83e4620afc9a8219f44e8b88b592.zip
prop224: Descriptor decoding implementation
Closes #18571 Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/or/parsecommon.h')
-rw-r--r--src/or/parsecommon.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/or/parsecommon.h b/src/or/parsecommon.h
index 3bb89ce72e..f87e62de98 100644
--- a/src/or/parsecommon.h
+++ b/src/or/parsecommon.h
@@ -145,6 +145,20 @@ typedef enum {
R_INTRODUCTION_POINTS,
R_SIGNATURE,
+ R_HS_DESCRIPTOR, /* From version 3, this MUST be generic to all future
+ descriptor versions thus making it R_. */
+ R3_DESC_LIFETIME,
+ R3_DESC_SIGNING_CERT,
+ R3_REVISION_COUNTER,
+ R3_ENCRYPTED,
+ R3_SIGNATURE,
+ R3_CREATE2_FORMATS,
+ R3_AUTHENTICATION_REQUIRED,
+ R3_INTRODUCTION_POINT,
+ R3_INTRO_AUTH_KEY,
+ R3_INTRO_ENC_KEY,
+ R3_INTRO_ENC_KEY_CERTIFICATION,
+
R_IPO_IDENTIFIER,
R_IPO_IP_ADDRESS,
R_IPO_ONION_PORT,