From owner-freebsd-net Wed Jan 24 8: 8:55 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 8623C37B402 for ; Wed, 24 Jan 2001 08:08:37 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id LAA61455; Wed, 24 Jan 2001 11:08:04 -0500 (EST) (envelope-from wollman) Date: Wed, 24 Jan 2001 11:08:04 -0500 (EST) From: Garrett Wollman Message-Id: <200101241608.LAA61455@khavrinen.lcs.mit.edu> To: Tatsuhiko Terai Cc: freebsd-net@FreeBSD.ORG Subject: estimation of RTT,RTO from tcpcb parameter In-Reply-To: <3A6EFB83208.3FA9GENUINE@ma4.justnet.ne.jp> References: <3A6EFB83208.3FA9GENUINE@ma4.justnet.ne.jp> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > I know that UNIX is not allowed floating point calculation > in the kernel, so RTT estimator is implemented as using int. > However, I don't know the method of calculation of the now RTT, RTO > using t_srtt, t_rttvar in kernel tcpcb and so on. See the function tcp_xmit_timer() in netinet/tcp_input.c. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message