4GB limit with netstat

Bosko Milekic bmilekic at unixdaemons.com
Tue May 20 06:09:29 PDT 2003


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 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.
> 
> -
> Andy
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 

-- 
Bosko Milekic
bmilekic at unixdaemons.com
bmilekic at FreeBSD.org



More information about the freebsd-stable mailing list