thorpej
8fc3977bed
Don't even bother initializing the namelist if we're not going to use it.
2008-04-10 17:16:39 +00:00
thorpej
f2bff8adc3
Use sysctl to fetch network statistics unless a memory file is specified
...
on the command line.
2008-04-10 17:14:25 +00:00
thorpej
88d65e9212
Change IP stats from a structure to an array of uint64_t's.
...
Note: This is ABI-compatible with the old ipstat structure; old netstat
binaries will continue to work properly.
2008-04-07 06:31:27 +00:00
thorpej
cca37a84ef
Update for ICMP and UDP stats changes.
2008-04-07 05:18:25 +00:00
christos
8a3920f2c8
use c99 initializers
...
consistently terminate nlist arrays with NULL not ""
2006-10-22 16:43:24 +00:00
dsl
019733f61e
WARNS=3
2005-02-26 22:12:33 +00:00
dsl
9f46bb077a
Create subwins that end one line from the bottom of the screen even
...
after the window is resized.
2003-02-24 10:10:00 +00:00
wiz
0a600be867
receive, not recieve
2001-06-12 15:17:10 +00:00
simonb
828483a73e
Remove extern variables and functions now declared in dkstats.h.
...
While here, remove 77 (!) unneed #includes.
2000-12-01 02:19:43 +00:00
ad
fc3915475d
- Add `boot', `run', `time' and `zero' commands to all IP displays. These work
...
as in the `vmstat' display mode. The default mode is now `time', not `boot'.
- ANSIfy.
- s@kre\(@vmstat\(@.
- __RCSID() police.
- Tweak inet.icmp display visual a little.
2000-07-05 11:03:20 +00:00
ad
3553879fc2
Use my proper name.
2000-06-13 13:36:42 +00:00
thorpej
20a1abdaef
u_quad_t must be cast to (long long) to be printed with %llu.
2000-04-27 21:40:41 +00:00
ad
b7de5e4494
Two tiny formatting nits in each file.
2000-01-13 12:39:04 +00:00
itojun
d7b4ec9207
- implement layered help.
...
Suggested by: Andy Doran <ad@mr-magoo.sports.gov.uk>
- inet6.ip6 and ipsec menu
- u_quad_t printing fix
- #ifdefs to allow compilation on 1.4.x
2000-01-08 23:12:36 +00:00
msaitoh
dad5b69f37
fix printf format for inet.ip
...
(because the entries in struct ipstat is u_quad_t)
2000-01-04 15:17:00 +00:00
ad
5cd8715136
Formatting nits.
1999-07-30 16:08:59 +00:00
ad
00116cf582
Add 4 new modes: ip, icmp, tcp, tcpsyn. XXX still some work to be done
...
on aesthetics and update modes.
1999-05-30 20:26:20 +00:00