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

Declare time_of_last_sent_packet #552

Merged
merged 2 commits into from May 24, 2017
Merged
Changes from all commits
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
5 changes: 5 additions & 0 deletions draft-ietf-quic-recovery.md
Expand Up @@ -255,6 +255,9 @@ largest_sent_before_rto:
: The last packet number sent prior to the first retransmission
timeout.

time_of_last_sent_packet:
: The time the most recent packet was sent.

latest_rtt:
: The most recent RTT measurement made when receiving an ack for
a previously unacked packet.
Expand Down Expand Up @@ -305,6 +308,7 @@ follows:
smoothed_rtt = 0
rttvar = 0
largest_sent_before_rto = 0
time_of_last_sent_packet = 0
~~~

### On Sending a Packet
Expand All @@ -327,6 +331,7 @@ Pseudocode for OnPacketSent follows:

~~~
OnPacketSent(packet_number, is_retransmittable, sent_bytes):
time_of_last_sent_packet = now;
sent_packets[packet_number].packet_number = packet_number
sent_packets[packet_number].time = now
if is_retransmittable:
Expand Down