Skip to content

Commit 3335dd5

Browse files
committed
Update examples for shorter encodings
1 parent 4f8bb35 commit 3335dd5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

draft-ietf-quic-transport.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ Once packet number protection is removed, the packet number is decoded by
802802
finding the packet number value that is closest to the next expected packet.
803803
The next expected packet is the highest received packet number plus one. For
804804
example, if the highest successfully authenticated packet had a packet number of
805-
0xaa82f30e, then a packet containing a 16-bit value of 0x1f94 will be decoded as
805+
0xaa82f30e, then a packet containing a 14-bit value of 0x1f94 will be decoded as
806806
0xaa831f94.
807807

808808
The sender MUST use a packet number size able to represent more than twice as
@@ -818,9 +818,9 @@ the base 2 logarithm of the number of contiguous unacknowledged packet numbers,
818818
including the new packet.
819819

820820
For example, if an endpoint has received an acknowledgment for packet 0x6afa2f,
821-
sending a packet with a number of 0x6b4264 requires a 16-bit or larger packet
822-
number encoding; whereas a 32-bit packet number is needed to send a packet with
823-
a number of 0x6bc107.
821+
sending a packet with a number of 0x6b2d79 requires a packet number encoding
822+
with 14 bits or more; whereas the 30-bit packet number encoding is needed to
823+
send a packet with a number of 0x6bc107.
824824

825825
A Version Negotiation packet ({{packet-version}}) does not include a packet
826826
number. The Retry packet ({{packet-retry}}) has special rules for populating

0 commit comments

Comments
 (0)