Subject: kern/1515: Changing netstat variables to 64 bit
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 09/26/1995 13:57:21
>Synopsis: Netstat variables wrap around with lots of network activity
>Responsible: kern-bug-people (Kernel Bug People)
>Arrival-Date: Tue Sep 26 08:05:00 1995
>Originator: Jukka Marin
>Release: <NetBSD-current source date> all
System: NetBSD silakka.jmp.fi 1.0A NetBSD 1.0A (SILAKKA) #52: Tue Sep 26 12:57:22 EET 1995 firstname.lastname@example.org:/local/src/sys/arch/amiga/compile/SILAKKA amiga
On systems with lots of network traffic, the network byte counters wrap
around quite easily. The counter are now 32 bits wide while my humble
opinion is that they should be made 64 bits wide.
I have seen 'netstat -p tcp' report wrong byte counts after the counters
have wrapped. The packet counters should be changed as well.
Mode over 4 gigabytes of data over the network.
Change the counter types to long long. I haven't examined the kernel and
other things to see how difficult this would be (afraid of breaking
While not a critical problem, I wish this could be fixed before the
upcoming 1.1 release. Thank you.