4GB limit with netstat
andy at evo6.org
Tue May 20 00:03:03 PDT 2003
----- Original Message -----
From: "Gregory Bond" <gnb at itga.com.au>
To: "Andy Gilligan" <andy at evo6.org>
Cc: <freebsd-stable at freebsd.org>
Sent: Tuesday, May 20, 2003 7:24 AM
Subject: Re: 4GB limit with netstat
> andy at 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.
More information about the freebsd-stable