summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/mbuf.c
Commit message (Collapse)AuthorAgeFilesLines
* Add (unsigned) cast to prevent overflow in %ache1997-11-101-2/+2
| | | | Submitted by: "Alex G. Bulushev" <bag@demos.su>
* Bandaid to make this compile.. These old mbuf types should probably bepeter1997-08-171-1/+13
| | | | ripped out.
* Remove prog, unused variables.charnier1997-07-291-0/+5
| | | | Cosmetic in usage string.
* Use the new sysctl(3) interface to mbuf statistics rather thanwollman1997-02-241-7/+19
| | | | groveling about in kmem.
* When the mbuf code was changed to use a private allocator instead ofwollman1997-02-121-3/+4
| | | | | | | the kernel malloc, netstat was never updated to reflect the fact that there are once again allocated-but-free mbufs, just as there are clusters, and so the information presented about how much memory was allocated to the network was bogus. Fixed.
* Code cleanup: remove unused variables, use correct *printf formatalex1996-06-021-4/+4
| | | | | | specifiers (some unsigned values were printed as signed, some longs were printed as ints), and place parentheses around assignments in if statements.
* Changed "mapped pages in use" to "mbuf clusters in use".dg1995-02-231-1/+1
|
* Don't print protocol-cloned routes by default (enabled by -a flag).wollman1995-01-231-3/+2
| | | | | Print non-zero expiration timers. Use err(3) for error reporting.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+122
OpenPOWER on IntegriCloud