summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
AgeCommit message (Collapse)Author
2003-11-15Use itimerval() instead of alarm() for interval displaying. This increasesragge
accuracy on interval stats also on fast machines.
2003-11-06handle KAME scopeid hack for multicast addr. Matthias Drochneritojun
2003-10-18mbstat.m_drain is still maintained. Don't skip it.enami
2003-10-17Print ips_rcvmemdrop and ips_nogif.enami
2003-09-12fix PR bin/22739 (netstat -nlv -f inet6 weird)itojun
2003-09-04synchronize w/ inpcb/in6pcb changeitojun
2003-08-19correct strange indentationitojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-04always print prefixlen for routes. it's CIDR age.itojun
2003-07-25support new algorithmsitojun
2003-07-22support hmac-sha2.itojun
2003-07-20As a temporary workaround, apply the fix from PR#20390, therebyhe
cooperating with the callout code in working around the race condition caused by the TCP code's use of the callout facility. Instead of unconditionally releasing memory in tcp_close() and SYN_CACHE_PUT(), check whether any of the related callout handlers are about to be invoked (but have not yet done callout_ack()), and if so, just mark the associated data structure (tcpcb or syn cache entry) as "dead", and test for this (and release storage) in the callout handler functions.
2003-07-12strlcpyitojun
2003-05-14use proper #ifdef to determine behavior (__KAME__)itojun
2003-04-18clear errno before strto(u)l() if we're going to test it for ERANGE afterwardslukem
2003-04-15make char array bigger where it seems too small and may overrun.itojun
2003-03-22it's not necessary to limit the service name artificially to 8 charactersjdolecek
in inet*print() - only first 'width' characters of the 'host.service' string would be printed anyway, so allow full service name if string would fit
2003-03-02TF_PROTO1/2 mixup. from itou makotoitojun
2003-02-27Don't use uninitialized variable.enami
2003-02-26Add MBUFTRACE kernel option.matt
Do a little mbuf rework while here. Change all uses of MGET*(*, M_WAIT, *) to m_get*(M_WAIT, *). These are not performance critical and making them call m_get saves considerable space. Add m_clget analogue of MCLGET and make corresponding change for M_WAIT uses. Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE. Begin to change netstat to use sysctl.
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
for correct formatting of the SYNOPSIS any longer.
2003-02-04"Utilize" has exactly the same meaning as "use," but it is moreperry
difficult to read and understand. Most manuals of English style therefore say that you should use "use".
2003-02-04Update for callout changes, and show TCP timers in relative, ratherthorpej
than absolute ticks.
2003-02-03Test CALLOUT_PENDING, not CALLOUT_ACTIVE.thorpej
2003-02-02undo mallocvar.h changes!christos
2003-02-01Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoidtron
build failure because MALLOC_DECLARE() is not defined.
2002-12-14Avoid integer overflow in percent calculation when facing a mbuf leak.martin
Fixes PR bin/19381 by Michael van Elst (slightly different than suggested).
2002-10-26fix typo, from sm@resistor.net in misc/18816.grant
2002-09-30New sentence, new line.grant
2002-09-18makefile delint. use NETBSDSRCDIR as appropriatelukem
2002-07-23Add more software intrq.enami
2002-07-03typo. sync w/kameitojun
2002-07-03Introduce -q flag to print some information (like number of packets droppedenami
due to queue full) about software interrupt queues such as ipintrq.
2002-07-02Sync SYNOPSIS and usage() with reality.soren
2002-06-19use macro to determine link-local multicast addritojun
2002-06-19identify kame scopeid hack with KAME_SCOPEIDitojun
2002-06-11err/errx/warn/warnx do not need \n at the enditojun
2002-06-09use strchr, not indexitojun
2002-06-08make an auto const variable static.yamt
2002-06-02member of mrtstat are u_long, so %lu is more appropriate than %ld.itojun
2002-06-02KNFitojun
2002-05-26path MTU discovery blackhole detection.itojun
PR 12790 (sorry for not committing it for a long time)
2002-05-13Don't count on kernel includes to exports user variables.matt
2002-03-21pfkey statistics was presented in wrong direction.itojun
2002-03-09Adapt to pool rototill.sommerfeld
2002-02-27clarification of vflaglukem
2002-02-27if not -n and the local socket doesn't have INP_ANONPORT set, always trylukem
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 ;-|
2001-12-01Whitespace cleanup.wiz
2001-10-18print rip6stat. sync with kameitojun
2001-10-06Use getnameinfo() to format link-layer addresses for netstat -r rather thanbjh21
doing it ourselves and falling back to link_ntoa().