Skip to content

Commit

Permalink
defining IncludesAckEliciting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Jul 16, 2020
1 parent 07e87d3 commit 1a68921
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,12 @@ When an ACK frame is received, it may newly acknowledge any number of packets.
Pseudocode for OnAckReceived and UpdateRtt follow:

~~~
IncludesAckEliciting(packets):
for packet in packets:
if (packet.ack_eliciting):
return true
return false

OnAckReceived(ack, pn_space):
if (largest_acked_packet[pn_space] == infinite):
largest_acked_packet[pn_space] = ack.largest_acked
Expand Down

0 comments on commit 1a68921

Please sign in to comment.