Round-trip time samples arrive with new ACKs. The RTT sample is computed as the difference between the current time and a ``time echo'' field in the ACK packet. When the first sample is taken, its value is used as the initial value for srtt_. Half the first sample is used as the initial value for rttvar_. For subsequent samples, the values are updated as follows:
Tom Henderson 2011-11-05