From owner-freebsd-hackers Thu Nov 21 13:36:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6947037B404 for ; Thu, 21 Nov 2002 13:36:58 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EA5C43E9C for ; Thu, 21 Nov 2002 13:36:57 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id gALLaldK032818; Thu, 21 Nov 2002 13:36:47 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id gALLal5b080934; Thu, 21 Nov 2002 13:36:47 -0800 (PST) (envelope-from jdp) Date: Thu, 21 Nov 2002 13:36:47 -0800 (PST) Message-Id: <200211212136.gALLal5b080934@vashon.polstra.com> To: hackers@freebsd.org From: John Polstra Cc: danderse@cs.utah.edu Subject: Re: Changing socket buffer timeout to a u_long? In-Reply-To: <20021121123126.E75421@cs.utah.edu> References: <20021121123126.E75421@cs.utah.edu> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20021121123126.E75421@cs.utah.edu>, David G. Andersen wrote: > Are there compelling reasons not to change the socket buffer > timeout to a u_long from a u_short? This variable stores > the number of ticks before the socket operation times out. I already changed it from short to int in -current in July. (It has never been unsigned in FreeBSD, as far as I know.) Making it long is overkill since that means it is 64 bits on the Alpha and Sparc64 platforms. I didn't change it in -stable for compatibility reasons, though I doubt it is much of an issue. In -current only netstat and systat needed to be recompiled. I haven't heard about it affecting any ports. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message