freebsd-nq/usr.bin/systat
Ryan Stone 9daa89f3bb Fix integer truncation in affecting systat -ifstat
The "systat -ifstat" command was using a u_int to store byte counters.
With a 10Gbps or faster interface, this overflows within the default
5 second refresh period.  Switch to using a uint64_t across the board,
which matches the size used for all counters as of r263102.

PR:		182448
MFC after:	1 week
Sponsored by:	Sandvine Inc
2014-09-29 17:38:50 +00:00
..
cmds.c
cmdtab.c Nuke "systat -mbuf". It was broken since FreeBSD 5, and since there 2013-07-15 12:15:14 +00:00
convtbl.c
convtbl.h
devs.c
devs.h
extern.h Nuke "systat -mbuf". It was broken since FreeBSD 5, and since there 2013-07-15 12:15:14 +00:00
fetch.c
icmp6.c
icmp.c
ifcmds.c Fix several new & old style issues. 2013-02-20 14:19:09 +00:00
ifstat.c Fix integer truncation in affecting systat -ifstat 2014-09-29 17:38:50 +00:00
iostat.c
ip6.c
ip.c
keyboard.c
main.c Revert r261296. This removes the WITHOUT_NCURSESW option. 2014-05-15 16:44:25 +00:00
Makefile Revert r261296. This removes the WITHOUT_NCURSESW option. 2014-05-15 16:44:25 +00:00
mode.c
mode.h
netcmds.c Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
netstat.c
pigs.c
swap.c
systat.1 mdoc: kill EOL whitespace. 2014-07-29 19:49:27 +00:00
systat.h
tcp.c
vmstat.c Make systat -vmstat to use suffixes to display big floating point numbers 2013-03-23 13:11:54 +00:00