4GB limit with netstat
Gregory Bond
gnb at itga.com.au
Mon May 19 23:24:26 PDT 2003
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
More information about the freebsd-stable
mailing list