Commit Graph

21 Commits

Author SHA1 Message Date
lukem 183f6d8af1 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-13 10:56:56 +00:00
martin 637bc2e71d Move TNF licenses to 2 clause form 2008-05-04 19:43:05 +00:00
martin 3028e483e4 Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
he a2decb9dc9 It's wrong for user-land programs to define _KERNEL before including
<sys/types.h>.  The reason is that this will break the build for about
half of our ports, because the wrong variant of e.g. bswap16() is being
defined and referenced (either __bswap16() or bswap16()).  Removing
the _KERNEL define restores buildability for this program.
2008-03-01 11:04:30 +00:00
ad f4b74daf98 +#define _KERNEL
+#include <sys/types.h>
+#undef _KERNEL
2008-02-27 16:37:31 +00:00
ad ea3f10f7e0 Merge more changes from vmlocking2, mainly:
- Locking improvements.
- Use pool_cache for more items.
2007-12-26 16:01:34 +00:00
peter 49e6c2a1db Document the option -n and bump date. 2006-07-14 21:14:24 +00:00
wiz 17d58c1431 Argument is address_family, not "address family". From YOMURA Masanori in private mail. 2005-09-11 23:26:35 +00:00
rpaulo fcf2b555d7 If the specificed MIB doesn't exist, then it's probably a kernel without
that socket type (AF_INET, AF_INET6, etc.). That's a normal condition, so
don't bail out.

Reviewed by Andrew Brown.
2005-08-24 21:33:57 +00:00
rpaulo f16cc5d95a Don't break each name in the AUTHORS section. 2005-08-24 21:31:45 +00:00
rpaulo cccbf666c8 Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmi
on PR#30963.

ok atatat@
2005-08-10 20:32:57 +00:00
rpaulo 0459285527 Fix a typo in the islistening() routine. Patch provided by Jukka Salmi
on PR#30963.
2005-08-10 20:21:14 +00:00
lukem ef45472693 appease gcc -Wuninitialized 2005-06-02 03:00:19 +00:00
atatat 04274e4899 Don't allow the command length to mess up the formatting 2005-04-09 02:10:27 +00:00
peter c36f9da926 Fix a typo. 2005-03-22 15:51:35 +00:00
atatat 1a773e1da4 Fix printing of AF_LOCAL names. 2005-03-10 05:39:54 +00:00
kleink fcbd09f9f1 Field width and precision specifier arguments to printf must be ints. 2005-03-09 19:09:05 +00:00
wiz 73eb81183c Make Dd date match import date more closely. 2005-03-09 17:16:54 +00:00
wiz 0f7047cb0b Grammar improvements. 2005-03-09 17:16:30 +00:00
atatat 900e40a9ae almost forgot about this.
Optimize getting process information by not getting it again if you're
looking for the same pid.
2005-03-09 05:53:47 +00:00
atatat 724bd01950 Add a sockstat(1) command that can list open sockets and the processes
that own them.  The implementation concept and man page came largely
from FreeBSD, but the program is fresh.
2005-03-09 05:20:05 +00:00