Date: Tue, 20 May 2003 16:24:07 +1000 From: Gregory Bond <gnb@itga.com.au> To: "Andy Gilligan" <andy@evo6.org> Cc: freebsd-stable@freebsd.org Subject: Re: 4GB limit with netstat Message-ID: <200305200624.QAA20280@lightning.itga.com.au> In-Reply-To: Your message of Tue, 20 May 2003 06:33:29 %2B0100.
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305200624.QAA20280>