|
Hi all,
Having examined in detail the current TCP
IP stack implementation within Linux Kernel, I have come with the piece of code
in which the RTO timer is calculated, ie the following lines in
tcp_input.c
tp->rto = (tp->srtt >> 3) +
tp->mdev;
tp->rto += (tp->rto >> 2) + (tp->rto >>
(tp->snd_cwnd-1));
The fact is that the rto should be
calculated, according to Jacobson's algorithm, as srtt+4*mdev, which is exactly
the first line shown above. Taking this into account, I can't see why the second
line is used....Furthermore I would like to know what does the tp->snd_cwnd
variable exactly mean.
I would be grateful if I get some little
piece of help with this issue....
Thank you in advance and
regards
Ramón
PD.- Please I wish to be personally CC'ed the
answers/comments posted to the list in response to my
posting
|