From 988369a95b1a47c261cdf7325f4b5ca19beeb843 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 31 May 2022 10:29:13 -0400 Subject: prop339: Remove header from CONNECTED_UDP cell Signed-off-by: David Goulet --- proposals/339-udp-over-tor.md | 11 ++--------- 1 file 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[..]; } ``` -- cgit v1.2.3-54-g00ecf