Commit Graph

220 Commits

Author SHA1 Message Date
lukem 5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
enami 0512a0df7f Add more software intrq. 2002-07-23 23:34:39 +00:00
itojun 15168e8feb typo. sync w/kame 2002-07-03 07:35:40 +00:00
enami 54a4e901f8 Introduce -q flag to print some information (like number of packets dropped
due to queue full) about software interrupt queues such as ipintrq.
2002-07-03 01:42:59 +00:00
soren 81abc60321 Sync SYNOPSIS and usage() with reality. 2002-07-02 21:34:18 +00:00
itojun 8b228ca304 use macro to determine link-local multicast addr 2002-06-19 23:38:59 +00:00
itojun 9be14081f9 identify kame scopeid hack with KAME_SCOPEID 2002-06-19 16:42:09 +00:00
itojun f51456c273 err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
itojun 95c1349e5d use strchr, not index 2002-06-09 02:44:55 +00:00
yamt be385ec4c0 make an auto const variable static. 2002-06-08 14:56:26 +00:00
itojun 3a544704fb member of mrtstat are u_long, so %lu is more appropriate than %ld. 2002-06-02 15:45:58 +00:00
itojun e0280bbb53 KNF 2002-06-02 15:25:42 +00:00
itojun 3e7ae517e0 path MTU discovery blackhole detection.
PR 12790 (sorry for not committing it for a long time)
2002-05-26 16:05:43 +00:00
matt 83765a6e69 Don't count on kernel includes to exports user variables. 2002-05-13 05:13:23 +00:00
itojun 53a52c0ad8 pfkey statistics was presented in wrong direction. 2002-03-21 04:23:36 +00:00
sommerfeld 16d5bd2bae Adapt to pool rototill. 2002-03-09 23:26:51 +00:00
lukem a3bab9b7d7 clarification of vflag 2002-02-27 03:55:14 +00:00
lukem e16c1d5cbc if not -n and the local socket doesn't have INP_ANONPORT set, always try
to determine the symbolic name of the foreign port.

previously the foreign port would be displayed numerically in this case if
the local & foreign ports were different.  this particular behaviour was
added in rev 1.28 when I added INP_ANONPORT support from FreeBSD, and for
the life of me I can't fathom the rationale for it ;-|
2002-02-27 02:33:51 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
itojun c868e666a2 print rip6stat. sync with kame 2001-10-18 09:26:16 +00:00
bjh21 f4c2a9f013 Use getnameinfo() to format link-layer addresses for netstat -r rather than
doing it ourselves and falling back to link_ntoa().
2001-10-06 18:56:49 +00:00
bjh21 3369b8a6bb Use getnameinfo() for printing link-layer addresses in netstat -i, rather
than doing it ourselves.
2001-10-06 18:48:30 +00:00
thorpej daa2a3c1a7 Fix a printf format/argument cast. 2001-09-15 16:28:15 +00:00
thorpej 9c5f5108f7 tcp_dump(): Also print the address of the in6pcb. 2001-09-10 22:19:03 +00:00
thorpej 2807c29a57 Update for TCP timer changes. 2001-09-10 22:17:28 +00:00
thorpej 2dcc5d04ec Update for field name changes in struct tcpcb. 2001-09-10 15:25:24 +00:00
thorpej dc5de996f4 Make the PCB address printing look like the IPv4 version. 2001-09-10 14:25:12 +00:00
sommerfeld e15a851896 Cross-reference fstat(1) 2001-09-03 14:56:08 +00:00
itojun bc9b3f2aa8 snprintf length audit. from openbsd 2001-08-19 02:01:24 +00:00
itojun 8499f264ae present SPD cache lookup stats. sync with kame 2001-08-06 10:25:54 +00:00
wiz 3f9984fc90 `existent', not `existant' 2001-06-19 13:42:07 +00:00
itojun 1dca70a51b typo 2001-06-13 02:50:25 +00:00
itojun 33f046d400 typo 2001-05-28 05:52:41 +00:00
assar 7aedc79d5e add `-s' that prints port numbers symbolically but addresses numerically 2001-05-28 04:22:55 +00:00
wiz 7da30c83ac Change xref for vmstat(8) to vmstat(1).
Whitespace, punctuation and spelling fixes while I'm here.
2001-05-06 23:48:31 +00:00
itojun ea6a7c4787 pedant changes for strcpy/sprintf. 2001-04-06 05:10:28 +00:00
christos 7ee2aad347 PR/12517: Izumi Tsutsui: Don't use paddr_t in netstat; change to u_long 2001-03-31 20:11:18 +00:00
itojun 09afaac4e2 add sctp (maybe we should add it to /etc/protocols instead?) 2001-03-20 17:02:33 +00:00
itojun dd99f85c8e add few icmp type names.
http://www.isi.edu/in-notes/iana/assignments/icmp-parameters
2001-03-20 17:00:08 +00:00
enami 33ee74b742 Print hopcount too when -rv is given. 2001-03-08 03:47:04 +00:00
itojun 7806b5d1f3 increase ipstat.ips_badaddr if the packet fails to pass address checks. 2001-03-02 04:26:10 +00:00
itojun e79a9123a3 use u_quad_t for rtstat.
not sure if it really matters, but short (32K) looks way too small given
recent fat pipes connecting *BSD boxes, and our great uptime :-).
2001-02-21 05:45:11 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
itojun 22b473e0f6 during ip6/icmp6 inbound packet processing, do not call log() nor printf() in
normal operation (/var can get filled up by flodding bogus packets).
sysctl net.inet6.icmp6.nd6_debug will turn on diagnostic messages.
(#define ND6_DEBUG will turn it on by default)

improve stats in ND6 code.

lots of synchronziation with kame (including comments and cometic ones).
2001-02-07 08:59:47 +00:00
itojun fee00b1a78 mark cloned routes with RTF_CLONED. present it with netstat -r by "c".
let static routes overwrite cloned routes, as cloned routes can come back again
if necessary.  behavior same as freebsd/bsdi, code partially from bsdi42.
(NRL rt->rt_parent was not added)
should fix PR 11916 and maybe some other PRs with ARP behavior.

recompilation of usr.sbin/route6d is suggested.
2001-01-27 04:49:31 +00:00
itojun b206900063 try to lookup /etc/protocols for histogram 2000-12-14 20:38:10 +00:00
itojun 8b398d8448 typo in -s message 2000-12-11 17:52:43 +00:00
matt c3405770e4 Do the same IEEE1394 address hack in here. 2000-11-14 23:07:40 +00:00
matt b6e8f357a2 Print out IEEE1394 addresses with : . Add a hack to limit the address
to 8 bytes.
2000-11-14 23:00:57 +00:00
itojun 35ff033435 more fix to "pfkey printed twice" problem. PR 11323 from ura. 2000-10-28 03:53:33 +00:00