Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 08:02:52 +0100
From:      "Andy Gilligan" <andy@evo6.org>
To:        "Gregory Bond" <gnb@itga.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 4GB limit with netstat 
Message-ID:  <001301c31e9d$d5523860$0101000a@vx>
References:  <200305200624.QAA20280@lightning.itga.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
----- 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c31e9d$d5523860$0101000a>