From owner-freebsd-stable@FreeBSD.ORG Tue May 20 06:09:28 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA01D37B404 for ; Tue, 20 May 2003 06:09:28 -0700 (PDT) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id A689943FE0 for ; Tue, 20 May 2003 06:09:27 -0700 (PDT) (envelope-from bmilekic@unixdaemons.com) Received: from angelica.unixdaemons.com (bmilekic@localhost.unixdaemons.com [127.0.0.1])h4KD9EY9016104; Tue, 20 May 2003 09:09:14 -0400 (EDT) Received: (from bmilekic@localhost) by angelica.unixdaemons.com (8.12.9/8.12.1/Submit) id h4KD9B6a016101; Tue, 20 May 2003 09:09:11 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) X-Authentication-Warning: angelica.unixdaemons.com: bmilekic set sender to bmilekic@unixdaemons.com using -f Date: Tue, 20 May 2003 09:09:11 -0400 From: Bosko Milekic To: Andy Gilligan Message-ID: <20030520130911.GB14649@unixdaemons.com> References: <200305200624.QAA20280@lightning.itga.com.au> <001301c31e9d$d5523860$0101000a@vx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001301c31e9d$d5523860$0101000a@vx> User-Agent: Mutt/1.4.1i cc: Gregory Bond cc: freebsd-stable@freebsd.org Subject: Re: 4GB limit with netstat X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 13:09:29 -0000 If you're willing to do them and roll a patch, I would be willing to look at it and commit it, barring objections, of course. -Bosko On Tue, May 20, 2003 at 08:02:52AM +0100, Andy Gilligan wrote: > ----- Original Message ----- > From: "Gregory Bond" > To: "Andy Gilligan" > Cc: > Sent: Tuesday, May 20, 2003 7:24 AM > Subject: Re: 4GB limit with netstat > > > > > andy@evo6.org said: > > > How much would need to change in either the kernel or netstat to make > > > > 4GB possible? > > > > At the very least: > > - edit sys/net/if.h & change struct if_data entries to u_int64_t. > > - edit usr.bin/netstat/if.c intpr() & change variables to be u_int64_t > > and use %ull in printf strings > > - redo all the layouts in if.c to handle the wider fields > > - recompile everything in the entire system - kernel, world, all ports that > > might look at network interfaces or routing tables, etc > > - hope that the broken binary compatibility doesn't hurt too bad > > I expected it might break a few things :) > > On that basis, I imagine it will be a long time before these changes will > happen in -STABLE, if at all? > > On another note, I noticed -CURRENT seems to have the same limit. > > - > Andy > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org