Skip to content

Commit c2647e3

Browse files
author
Dmitri Tikhonov
committed
Drop IPv4addr and IPv6addr structs in favor of vectors
1 parent b845dcb commit c2647e3

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

draft-ietf-quic-transport.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,19 +1444,11 @@ language from Section 3 of {{!I-D.ietf-tls-tls13}}.
14441444
TransportParameter parameters<22..2^16-1>;
14451445
} TransportParameters;
14461446

1447-
struct {
1448-
uint8[4] addr;
1449-
} IPv4addr;
1450-
1451-
struct {
1452-
uint8[16] addr;
1453-
} IPv6addr;
1454-
14551447
struct {
14561448
enum { IPv4(4), IPv6(6), (15) } ipVersion;
14571449
select (PreferredAddress.ipVersion) {
1458-
case IPv4: IPv4addr;
1459-
case IPv6: IPv6addr;
1450+
case IPv4: uint8 IPv4addr[4];
1451+
case IPv6: uint8 IPv6addr[16];
14601452
};
14611453
uint16 port;
14621454
opaque connectionId<0..18>;

0 commit comments

Comments
 (0)