Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow servers to send a preferred address of each address family #2296

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions draft-ietf-quic-transport.md
Expand Up @@ -4103,13 +4103,14 @@ preferred_address (0x000d):
of this transport parameter is the PreferredAddress struct shown in
{{fig-preffered-address}}. This transport parameter is only sent by a server.
Servers MAY choose to only send a preferred address of one address family by
sending a zero-length address for the other family.
sending an all-zero address and port (0.0.0.0:0 or ::.0) for the other family.

~~~
struct {
opaque ipv4Address<0..2^8-1>;
opaque ipv6Address<0..2^8-1>;
uint16 port;
opaque ipv4Address[4];
uint16 ipv4Port;
opaque ipv6Address[16];
uint16 ipv6Port;
opaque connectionId<0..18>;
opaque statelessResetToken[16];
} PreferredAddress;
Expand Down