Re: tcp_xmit_timer()

2005-07-04 Thread Christian Vogt
Yes, and this (from sys/netinet/tcp_var.h): #define TCP_RTTVAR_SCALE 16 /* multiplier for rttvar; 2 bits */ #define TCP_RTTVAR_SHIFT 4/* shift for rttvar; 2 bits */ ...should say "...for rttvar; 4 bits frac." in both places. - Christian -- Christian Vogt, Institute of Telematic

Re: tcp_xmit_timer()

2005-07-04 Thread John-Mark Gurney
Christian Vogt wrote this message on Mon, Jul 04, 2005 at 20:58 +0200: > Hi everybody, > > just a nit in sys/netinet/tcp_input.c:tcp_xmit_timer(). A comment says: > >/* > * srtt is stored as fixed point with 5 bits after the > * binary point (i.e., scaled by 8). The following magic

tcp_xmit_timer()

2005-07-04 Thread Christian Vogt
Hi everybody, just a nit in sys/netinet/tcp_input.c:tcp_xmit_timer(). A comment says: /* * srtt is stored as fixed point with 5 bits after the * binary point (i.e., scaled by 8). The following magic * is equivalent to the smoothing algorithm in rfc793 with * an alpha of .875