diff options
author | David Goulet <dgoulet@torproject.org> | 2022-05-31 10:29:13 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2022-05-31 10:29:13 -0400 |
commit | 988369a95b1a47c261cdf7325f4b5ca19beeb843 (patch) | |
tree | 52ed514f424622b3d0c22ef9f14234644e37fe78 | |
parent | c619a19c5e32da013949088fbaac921822860ea8 (diff) | |
download | torspec-988369a95b1a47c261cdf7325f4b5ca19beeb843.tar.gz torspec-988369a95b1a47c261cdf7325f4b5ca19beeb843.zip |
prop339: Remove header from CONNECTED_UDP cell
Signed-off-by: David Goulet <dgoulet@torproject.org>
-rw-r--r-- | proposals/339-udp-over-tor.md | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/proposals/339-udp-over-tor.md b/proposals/339-udp-over-tor.md index 96abf16..3c1a1d4 100644 --- a/proposals/339-udp-over-tor.md +++ b/proposals/339-udp-over-tor.md @@ -198,12 +198,6 @@ format. ``` struct udp_connected_body { - /* 5 bytes to distinguish from other CONNECTED_UDP cells. This is not - * strictly necessary, since we can distinguish by context, but - * it's nice to have a way to tell them apart at the parsing stage. - */ - u32 zero IN [0]; - u8 ff IN [0xFF]; /* The address that the relay has bound locally. This might not * be an address that is advertised in the relay's descriptor. */ struct address our_address; @@ -216,7 +210,7 @@ struct udp_connected_body { } /* Note that this is a subset of the allowable address parts of a CONNECT_UDP - message */ + * message */ struct address { u8 tag IN [T_IPV4, T_IPV6]; u8 len; @@ -233,8 +227,7 @@ struct address { ``` struct datagram_body { /* The datagram body is the entire body of the message. - This length is in the relay message header. - */ + * This length is in the relay message header. */ u8 body[..]; } ``` |