Skip to content

Commit

Permalink
Move references to RFC5827 to text (#375)
Browse files Browse the repository at this point in the history
* Move references to RFC5827 to text
  • Loading branch information
ianswett committed Mar 9, 2017
1 parent 1b7a0d5 commit 8e0100e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,12 @@ timeouts{{?RFC6298}} are an alarm based mechanism to recover from cases when
there are outstanding retransmittable packets, but an acknowledgement has
not been received in a timely manner.

### Early Retransmit

Early retransmit {{?RFC5827}} is implemented with a 1/4 RTT timer. It is
part of QUIC's time based loss detection, but is always enabled, even when
only packet reordering loss detection is enabled.

### Pseudocode

Pseudocode for SetLossDetectionAlarm follows:
Expand All @@ -402,18 +408,18 @@ Pseudocode for SetLossDetectionAlarm follows:
alarm_duration = max(alarm_duration, kMinTLPTimeout)
alarm_duration = alarm_duration << handshake_count
else if (largest sent packet is acked):
// Early retransmit {{?RFC5827}}
// Early retransmit
// with an alarm to reduce spurious retransmits.
alarm_duration = 0.25 * smoothed_rtt
else if (tlp_count < kMaxTLPs):
// Tail Loss Probe {{?I-D.dukkipati-tcpm-tcp-loss-probe}}
// Tail Loss Probe
if (retransmittable_packets_outstanding = 1):
alarm_duration = 1.5 * smoothed_rtt + kDelayedAckTimeout
else:
alarm_duration = kMinTLPTimeout
alarm_duration = max(alarm_duration, 2 * smoothed_rtt)
else:
// RTO alarm.
// RTO alarm
if (rto_count = 0):
alarm_duration = smoothed_rtt + 4 * rttvar
alarm_duration = max(alarm_duration, kMinRTOTimeout)
Expand Down

0 comments on commit 8e0100e

Please sign in to comment.