Subject: [quicwg/base-drafts] Layout of PreferredAddress (#2944)

From: Rui Paulo <[email-masked]>
Date: Wed, 31 Jul 2019 11:14:38 -0700

The PreferredAddress structure has a variable length field right in the middle of it.  Since the CID is the only variable length field, we could make it slightly easier to implement by moving the CID to the end:

```
  struct {
     opaque ipv4Address[4];
     uint16 ipv4Port;
     opaque ipv6Address[16];
     uint16 ipv6Port;
     opaque statelessResetToken[16];
     opaque connectionId<0..18>;
   } PreferredAddress;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/2944