jhawk
684592f691
Rewrite tprintstat() so that netstat -ss functionality works
...
correctly for the "tp:" case (family iso). To avoid serious code
space bloat, stats are now table-driven.
A side-effect is that the mbuf chain statistics have been slightly re-ordered
to follow the 3 lines of EOT stats (still under Miscellaneous) rather
than sandwiched between "dec bits" and the EOTs.
2000-08-31 06:49:42 +00:00
itojun
4372a4b82a
-Wall friendly
2000-08-13 18:48:22 +00:00
jhawk
a80c6e8208
Fix netstat -ss handling for a bunch of ISO cases, so that
...
zero values are not printed.
"tp:" still needs some work, though.
2000-08-13 18:41:38 +00:00
mrg
efa1d2c3a5
- KNF
...
- use err(3)
- sprintf/strcpy -> snprintf/strncpy
- change route.c:domask() to take a size_t of the buffer passed.
1998-07-12 03:20:13 +00:00
frueauf
feff15ad4a
s/_offsetof/offsetof and include stddef.h to reflect recent
...
change in sys/netiso/iso.h.
1998-01-29 09:11:21 +00:00
lukem
e55eeec2c5
fix up .Nm usage, getopt returns -1 not EOF
1997-10-19 05:49:56 +00:00
christos
c3a7122e73
- netatalk additions
...
- printf format fixes
- minor prototype cleanups
1997-04-03 04:46:44 +00:00
thorpej
67f6822225
New-style RCS ids.
1995-10-03 21:42:34 +00:00
cgd
43f1b4beca
a couple of these need <sys/queue.h>
1994-12-24 17:21:51 +00:00
mycroft
4f96184b10
Re-enable some ugly ISO code.
1994-10-06 16:30:55 +00:00
mycroft
d3877f2073
Clean up import.
1994-05-13 08:08:09 +00:00
cgd
ea7e0c1cca
kill lots of off_t's.
1994-04-01 09:18:06 +00:00
cgd
1e6c1e0ef2
clean up, for off_t... ugliest 'cleaning' possible, i think...
1994-03-28 10:29:31 +00:00
glass
5bee302b77
moved useful contents of netiso/tp_astring.c down
1994-03-26 04:08:45 +00:00
mycroft
1b543e994f
Don't generate two warnings if OSI isn't configured in the kernel.
1993-11-03 06:17:08 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
599306af5d
get rid of select.h inclusion, and clean up headers *more*.
1993-05-20 12:03:49 +00:00
cgd
7d313cbd4c
fix for new select & clean up headers
1993-05-20 10:40:48 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00