summaryrefslogtreecommitdiff
path: root/src/or/hs_cell.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-05 12:26:02 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:33 -0400
commit100386e659533cfa92c5bfff93a15fb3535f7970 (patch)
tree9b658596a0c62cb738e876ded2dc975155bc2243 /src/or/hs_cell.h
parentdfa6301aed8f1c7164b1e8513ab64119944d976c (diff)
downloadtor-100386e659533cfa92c5bfff93a15fb3535f7970.tar.gz
tor-100386e659533cfa92c5bfff93a15fb3535f7970.zip
prop224: Support legacy INTRODUCE2 cell
Also rename some function to follow a bit more the naming convention in that file. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cell.h')
-rw-r--r--src/or/hs_cell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_cell.h b/src/or/hs_cell.h
index fb4950d519..6114182439 100644
--- a/src/or/hs_cell.h
+++ b/src/or/hs_cell.h
@@ -34,6 +34,8 @@ typedef struct hs_cell_introduce2_data_t {
const uint8_t *payload;
/* Size of the payload of the received encoded cell. */
size_t payload_len;
+ /* Is this a legacy introduction point? */
+ unsigned int is_legacy : 1;
/*** Muttable Section. ***/