Subject: bin/3732: Change tcp stats types to quad
To: None <>
From: Heiko W.Rupp <>
List: netbsd-bugs
Date: 06/10/1997 10:20:42
>Number:         3732
>Category:       bin
>Synopsis:       Change tcp stats types to quad
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 10 01:35:00 1997
>Originator:     Heiko W.Rupp
>Release:        1.1
System: NetBSD 1.1 NetBSD 1.1 (SNERT+PPP) #11: Thu Jan 30 11:00:49 MET 1997 i386

	When doing a netstat -s, many counters about transferred bytes
	are displayed. These are 32bit quantities. With NetBSD being
	stable, it is well possible that a computer sends or receives
	more than 4GB in its livetime (a busy news/web box will get them
	within a week).


	$netstat -s -s

        9299827 packets sent
                4594962 data packets (2586830728 bytes)
Are these really 2GB or 6GB or ... 


Change all involved counters from u_long to u_quad and also the 
associated printf's