lukem
dfb301f79f
Fix WARNS=4 issues (-Wshadow -Wcast-qual)
2009-04-19 00:26:18 +00:00
lukem
9c1945664c
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
jmcneill
afa3505c29
Make trpt build again, based on recent netstat changes.
2007-07-10 22:23:13 +00:00
rpaulo
e288e9d823
Show ECN ECE and CWR flags too.
2006-03-31 10:20:21 +00:00
rpaulo
7c18197a2e
If reading values from a live system use sysctls net.tcp.inet.(debug|debx)
...
and kern.hardclock_ticks. Also, remove the set*gid() calls.
2005-09-06 03:04:15 +00:00
lukem
1fab072e48
appease gcc -Wuninitialized
2005-06-02 09:42:57 +00:00
perry
d34cc2ba13
de-__P, ANSIfy function declarations, remove obsolete "register" declarations
2005-02-06 05:00:46 +00:00
itojun
4a7fa92f21
no need for explicit '?'; openbsd
2003-09-19 08:24:07 +00:00
agc
326b2259b7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
thorpej
9abf2fa449
Update for callout changes, and show TCP timers in relative, rather
...
than absolute ticks.
2003-02-04 01:22:08 +00:00
thorpej
a2ca4434b0
Test CALLOUT_PENDING, not CALLOUT_ACTIVE.
2003-02-04 00:20:50 +00:00
itojun
7bd25b06e9
die if out-of-range address is specified to -p
2002-11-16 04:20:42 +00:00
soda
bcb7e65b95
revision 1.5 missed to add option -N and -M to 3rd argument of getopt(3).
2002-10-12 08:57:16 +00:00
thorpej
dd5462b93f
Update for TCP timer changes.
2001-09-11 15:45:01 +00:00
itojun
48375d983c
copy necessary variables from sys/netinet/tcp_debug.c.
...
not sure if it is the right way to deal with this.
2001-07-09 07:54:59 +00:00
cgd
25bdbb661e
convert to use getprogname()
2001-02-19 23:22:40 +00:00
itojun
38646d353f
IPv6 support.
1999-07-01 19:15:03 +00:00
mrg
80efe80bc9
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
...
and the top, and then set the effective gid back to kmem around the call to
kvm_openfiles(). this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
thorpej
a2d326c63c
Fix potential bad pointer arithmetic interaction with sort comparison
...
function.
1997-07-23 16:41:43 +00:00
thorpej
b8a640f6ab
Fix thinko in previous.
1997-07-23 16:27:50 +00:00
thorpej
1f6eefecf8
- Rewrite this program to use libkvm, not grovel /dev/kmem manually. Remove
...
all of the old 4.{2,3}BSD VM goop.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings (including a Metric *load of printf formats).
- Build with WARNS.
- Update copyright.
1997-07-23 08:19:59 +00:00
mikel
35c642e5b1
merge lite-2 changes, RCSid police
1997-07-23 06:31:43 +00:00
cgd
ca58df5133
be more careful with types.
1994-12-23 16:35:50 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
cf98284671
added accton, edquota, flcopy, gettable, htable, iostat, quotaon,
...
repquota, trpt, and trsp, per (currently alpha) patch 125.
1993-04-09 12:15:37 +00:00