diff options
author | David Goulet <dgoulet@torproject.org> | 2016-08-29 15:28:58 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-10-31 16:03:28 -0400 |
commit | f22eb2730cccab44de579c64ba2386a94abef0fa (patch) | |
tree | 0c6b622bb1938a7c7481083fce38f70b4ce6b00b /src/trunnel/hs/cell_common.trunnel | |
parent | 0ba3444b4a9d408573a442b32be794a78b9250b5 (diff) | |
download | tor-f22eb2730cccab44de579c64ba2386a94abef0fa.tar.gz tor-f22eb2730cccab44de579c64ba2386a94abef0fa.zip |
prop224: Add ESTABLISH_INTRO and INTRO_ESTABLISHED trunnel definition
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/trunnel/hs/cell_common.trunnel')
-rw-r--r-- | src/trunnel/hs/cell_common.trunnel | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/trunnel/hs/cell_common.trunnel b/src/trunnel/hs/cell_common.trunnel new file mode 100644 index 0000000000..1bbec5a1fe --- /dev/null +++ b/src/trunnel/hs/cell_common.trunnel @@ -0,0 +1,12 @@ +/* This file contains common data structure that cells use. */ + +struct cell_extension_fields { + u8 field_type; + u8 field_len; + u8 field[field_len]; +}; + +struct cell_extension { + u8 num; + struct cell_extension_fields fields[num]; +}; |