Date: Tue, 20 May 2003 09:09:11 -0400 From: Bosko Milekic <bmilekic@unixdaemons.com> To: Andy Gilligan <andy@evo6.org> Cc: freebsd-stable@freebsd.org Subject: Re: 4GB limit with netstat Message-ID: <20030520130911.GB14649@unixdaemons.com> In-Reply-To: <001301c31e9d$d5523860$0101000a@vx> References: <200305200624.QAA20280@lightning.itga.com.au> <001301c31e9d$d5523860$0101000a@vx>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <gnb@itga.com.au> > To: "Andy Gilligan" <andy@evo6.org> > Cc: <freebsd-stable@freebsd.org> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030520130911.GB14649>