Commit Graph

16 Commits

Author SHA1 Message Date
cgd
a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
hubertf
a8aaa73992 Remove duplicated if() statementA.
This fixes PR 7308 by Feico Dillema <feico@pasta.cs.uit.no>
1999-04-02 22:45:45 +00:00
thorpej
ed8849cd5a Define __POOL_EXPOSE to get at the guts of the pool descriptor. 1999-03-31 23:25:46 +00:00
sommerfe
b36297112e fix PR7057: division by zero if no mbufs allocated
fix PR7059 (partial): mbuf cluster counts were based on counters which
are no longer maintained.
(full fix will involve renaming the now-unused fields in mclstat in mbuf.h)
1999-02-27 17:37:24 +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
jonathan
f0f7e53290 Add compiled-in MCLBYTES and MSIZE to conf/param.c, as 'mclbytes" and "msize".
Add code to netstat to use libkvm to for kernel variables "mclbytes"
and "msize', and if found, use those for netstat -m rather than
compiled-in defaults.
1997-02-28 00:14:19 +00:00
thorpej
22afdc2c33 Update for the changes to struct ifnet. While I'm here, fix a couple
of long-standing bugs:

	- Actually deal with the fact that the kernel ifnet list is
	  a TAILQ; it just happened to work before.

	- Use kvm_openfiles() instead of kvm_open().  The code passed
	  arguments to kvm_open() as if it were kvm_openfiles(), but
	  apparently went unnoticed since the prototypes are the same.
	  Amusing bit: there were XXX's in the code which seemed to
	  apologize for a verbose libkvm, when it happened to be a
	  bug in netstat!
1996-05-07 02:55:00 +00:00
thorpej
67f6822225 New-style RCS ids. 1995-10-03 21:42:34 +00:00
mycroft
d7b28f05aa Garbage collect mbuf types. 1995-08-17 03:24:54 +00:00
mycroft
9094d0cb63 Garbage collect mbuf types. 1995-08-17 03:23:40 +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
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00