itojun
77ac5d68c9
sync with latest kame netstat. basically, more statistics
2000-07-04 16:26:46 +00:00
shin
b8e88750ca
-permit protocol specific statistics at iflag,
...
only when either of sflag and "-f inet6" is specified.
-fix the indentation of default output
Specified by: Stephen McKay <syssgm@detir.qld.gov.au>
Reviewed and Confirmed by: Stephen McKay <syssgm@detir.qld.gov.au>
2000-01-07 05:17:09 +00:00
guido
39eef9ac50
Add new option, -L that will listen the various listen queue lengths.
...
Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
Clive Lin <clive@GnatS.CirX.ORG>
1999-12-13 20:08:44 +00:00
shin
70f0bdf681
udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
...
packet divert at kernel for IPv6/IPv4 translater daemon
This includes queue related patch submitted by jburkhol@home.com .
Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-07 17:39:16 +00:00
julian
698af92f86
Cleanup towards -Wall
1999-10-21 07:08:56 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
des
f234b406a4
Don't truncate port numbers.
...
Submitted by: ru
1999-07-06 19:10:15 +00:00
des
ebe2a5b78b
Fix fstat compatibility by printing the address of the tcppcb instead of
...
that of the regular socket pcb for TCP sockets.
PR: bin/9963
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1999-03-10 17:25:42 +00:00
bde
0609531ab6
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
imp
94f67b7ef5
o Use snprintf over sprintf.
...
o Use strncpy correctly.
o Use enough buffer for line.
Inspired by or Obtained from: Similar changes in OpenBSD
1998-06-09 04:13:03 +00:00
pb
03f5c91484
Make "netstat -s" display stats on fast-forwarded packets.
...
Obtained from: NetBSD code
1998-05-19 16:00:55 +00:00
wollman
e37570d812
mbuf, inet, and unix modules no longer read kvm.
1998-05-15 20:19:21 +00:00
wollman
fefb319840
Print out the two new fields in the ICMP stats. While we're at it, also
...
convert icmp_stats() to use sysctl(3) to retrieve the information
rather than kvm. This makes it easy to also print whether ICMP address
mask responses are enabled, so do so.
1997-08-25 16:57:05 +00:00
peter
f390c26dd9
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
wollman
fe537196d3
Print out the new uninteresting-multicast-packets statistic.
1997-01-21 21:08:57 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
pst
ac82b8a657
TCP statistics are unsigned counters.
...
Tor Egge reports counter wrap and requests and update to quad_t sized
counters, which is also a good thing to do, but I'm unhappy about adding
two more instructions into the code path every time we doink a counter.
Maybe with or after the Lite2 merge...
Submitted by: Tor Egge <Tor.Egge@idt.ntnu.no>
1997-01-07 20:09:28 +00:00
wollman
cd2ff97cee
Eliminate unnecessary include of <sys/mbuf.h>. PCBs aren't stored in mbufs
...
any more.
1996-10-28 18:56:44 +00:00
phk
733856f964
Try to make netstat more smart about port numbers.
...
Feedback most welcome.
1996-08-23 19:05:34 +00:00
wollman
99c2eebb28
Print PCB hash miss statistic.
1996-06-05 17:24:33 +00:00
alex
5c1e86ebb4
Code cleanup: remove unused variables, use correct *printf format
...
specifiers (some unsigned values were printed as signed, some longs
were printed as ints), and place parentheses around assignments in
if statements.
1996-06-02 23:19:12 +00:00
dg
42390683e5
Move #include of queue.h before #include of socketvar.h in preparation for
...
struct socket changes.
1996-03-11 13:01:12 +00:00
guido
89b4ca893f
Add a counter for the number of times the listen queue was overflowed to
...
the tcpstat structure. (netstat -s)
Reviewed by: wollman
Obtained from: Steves, TCP/IP Ill. vol.3, page 189
1996-02-26 21:47:13 +00:00
peter
297db4d6f7
tidy up the domain name trimming code, and move it to a single place
...
rather than having the same bit of code duplicated in three places,
each with their own static copy of the host's local name.
1996-01-15 02:18:35 +00:00
peter
e0dc992026
Merge in Lite-2 changes.
1996-01-14 23:33:13 +00:00
ache
6ef4e82f0f
Change .8s port name restriction to .15s, modern tcp port
...
have longer names, check /etc/services.
kerberos_master triggers this bug: it is undistiguishable from
simple kerberos for .8s
1995-12-23 18:19:01 +00:00
adam
5bca48107e
- #if defined(TF_NEEDSYN) && defined(TF_NEEDSYN)
...
+ #if defined(TF_NEEDSYN) && defined(TF_NEEDFIN)
1995-10-27 12:32:07 +00:00
wollman
349dc9727a
In TCP statistics, display new statistic about how many resends were
...
initiated as a result of the Path MTU discovery process.
1995-10-13 20:01:48 +00:00
dg
d07d67048e
Output statistics as unsigned in the -w section.
...
Look at error return of kread() and stop on error.
Fix warning in kread() to not output "kvm_read:" twice.
Killed PCB cache misses stat as we no longer have it.
1995-07-29 22:34:15 +00:00
dg
42b1f12f0a
Add "connections dropped by persist timeout" statistic.
1995-07-29 18:49:16 +00:00
wollman
0c180bc68d
Correct spelling mistake: upcated -> updated.
1995-06-19 16:55:16 +00:00
wollman
37654c52db
Print out the statistics for cache updates of rtt, rttvar, and ssthresh.
1995-06-19 16:46:21 +00:00
dg
ed7f6aebaf
That's what I get for doing things in a hurry...applied up-to-date patch
...
to this file rather than old one (before I renamed the structure element).
1995-04-09 15:12:21 +00:00
dg
f070f04029
Oops, remove some chaff from previous commit.
1995-04-09 05:34:54 +00:00
dg
aef6dbd77b
Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBs
...
together.
1995-04-09 05:33:17 +00:00
wollman
d48b4f1df6
Make netstat report the correct state for T/TCP.
...
Submitted by: Andras Olah <olah@cs.utwente.nl>
1995-02-14 03:09:51 +00:00
wollman
e361064e53
Document router advertisement and solicitation messages in ICMP input
...
histogram.
1994-10-02 18:45:32 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00