Jun-ichiro itojun Hagino
32cd1d9601
sync with latest kame netstat. basically, more statistics
2000-07-04 16:26:46 +00:00
Mark Murray
097c3a616c
Use Garrett's new (clearer) names.
2000-04-23 14:18:18 +00:00
Guido van Rooij
9ef6ceee15
Add '-L' option to usage().
2000-03-20 18:33:11 +00:00
Yoshinobu Inoue
b1d49ce7b6
Don't suppress Flags and Refs info for IPv4 entries.
...
(They need to be suppressed by default for IPv6 entries to keep the column
size of each entries in 80.)
2000-03-14 17:18:43 +00:00
Yoshinobu Inoue
5f2cd67530
Add a flag to the usage display.
...
There was a missing description for a new flags to netstat.
I already added the fix to netstat man, but usage() change is
also necessary.
Specified by: Ben Smithurst <ben@scientia.demon.co.uk>
Approved by: jkh
2000-03-11 20:14:08 +00:00
Yoshinobu Inoue
1c6d96a173
Add "-l" option description.
...
Noticed the necessity by Ben Smithurst <ben@scientia.demon.co.uk> message
on freebsd-current.
2000-03-11 14:33:13 +00:00
Sheldon Hearn
87faa07bec
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Yoshinobu Inoue
0fea3d5165
IPv6 multicast routing.
...
kernel IPv6 multicast routing support.
pim6 dense mode daemon
pim6 sparse mode daemon
netstat support of IPv6 multicast routing statistics
Merging to the current and testing with other existing multicast routers
is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
the base code in KAME distribution.
Make world check and kernel build check was also successful.
2000-01-28 05:10:56 +00:00
Rodney W. Grimes
f22f5e6ba8
Instead of reporting all 0.0.0.0 as ``default'' only report
...
a true default of 0.0.0.0/0 as default.
Reviewed by: wollman
2000-01-07 19:56:57 +00:00
Yoshinobu Inoue
fc60ab7b0f
-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
Yoshinobu Inoue
9a4365d0e0
libipsec and IPsec related apps. (and some KAME related man pages)
...
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-06 12:40:54 +00:00
Jordan K. Hubbard
e54ca68cb8
Print mac addresses in standard byte:byte format rather than
...
byte.byte. This makes it consistent with our other utilities
like arp(8) and ifconfig(8).
Submitted by: Paul Vixie <paul@vix.com>
2000-01-03 17:48:36 +00:00
Mike Smith
8266cbec26
Add display of maximum allowed mbuf count to match mbuf cluster count.
...
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
1999-12-28 06:38:37 +00:00
Yoshinobu Inoue
7d56d3747c
Getaddrinfo(), getnameinfo(), and etc support in libc/net.
...
Several udp and raw apps IPv6 support.
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00
Yoshinobu Inoue
f7503444cf
also, changed prototype of pr_rthdr(), as my previous fix
...
for netstat/route.c
1999-12-21 11:28:27 +00:00
Yoshinobu Inoue
49302f437a
Added missing declaration for argment specification at pr_rthdr(),
...
caused by my previous patch, sorry.
Also, changed its var name from 'af' to 'wid_af', to avoid confusion with
global var 'af'.
1999-12-21 11:25:30 +00:00
Yoshinobu Inoue
c64893b10c
define WID_DST6 and WID_GW6 and use them only for IPv6, to keep IPv4 related
...
information in 80 columns.
TODO: IPv6 related information is not likely to be kept in 80 columns, anyway.
Some more print modes could be added,
but what is the priority between those modes?
-print out all information even if they don't fit into 80 columns
-strip off some information to fit them into 80 columns
Reviewed by: markm
1999-12-21 09:31:14 +00:00
Yoshinobu Inoue
57a40e9ee7
Enable INET6 by default.
...
This should be OK on non INET6 enabled kernel.
1999-12-15 05:13:22 +00:00
Guido van Rooij
ac55add06c
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
Yoshinobu Inoue
cfa1ca9dfa
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
Doug Rabson
890bc2a54a
Fix the output of 'netstat -I de0 1' for the alpha. Fix a bunch of
...
warnings while I'm here.
1999-11-09 22:22:36 +00:00
Alexey Zelkin
df48b0d01c
uncomment FILES section (it look reasonable here)
...
mdoc(7)'fy
1999-10-30 14:35:22 +00:00
Matthew Dillon
ebdb21f429
Put include <netgraph.h> back in - problem was due to a cvsup mess on
...
freefall. There may also be a real problem w/ buildworld but the fix
would go somewhere else, not here.
1999-10-24 02:58:39 +00:00
Matthew Dillon
f41f949d09
Cleanup missing includes, stale includes, and a few printf format
...
inconsistancies.
1999-10-23 17:45:11 +00:00
Julian Elischer
4cf49a4355
Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
...
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.
Reviewed by: Doug Rabson (dfr@freebsd.org )
Obtained from: Whistle CVS tree
1999-10-21 09:06:11 +00:00
Julian Elischer
a97a99221a
Cleanup towards -Wall
1999-10-21 07:08:56 +00:00
Boris Popov
0abed1ff14
Allow suppress printing of lines with zero counts
...
for an IPX address family.
PR: 14168
1999-10-18 05:45:05 +00:00
Sheldon Hearn
5ff829fdbf
Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix
...
the sockstat.1 document title, which still remembers when sockstat was
called lsock.
Reviewed by: mpp
1999-09-06 13:14:24 +00:00
Peter Wemm
f7406d04ca
Zap $Source$
1999-09-06 07:34:27 +00:00
Peter Wemm
a1a4f1a0d8
$Header$ -> $FreeBSD$
1999-08-28 05:11:36 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Nik Clayton
6d6189a455
Document the use of the -a flag in conjunction with the -r flag.
...
PR: docs/13037
Submitted by: Christopher Masto <chris@netmonger.net>
1999-08-11 22:25:55 +00:00
Nik Clayton
3be5f1f5ce
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
Dag-Erling Smørgrav
8898c75d55
Don't truncate port numbers.
...
Submitted by: ru
1999-07-06 19:10:15 +00:00
Luigi Rizzo
0024d1db07
Add support for printing bridging statistics with ``-p bdg '' .
...
If someone has a better flag to use I'll be glad to change it.
1999-04-26 16:11:50 +00:00
Bill Fumerola
9baac9f2e9
IPX address formatting nit.
...
PR: bin/11179
Submitted by: Dan Nelson <dnelson@emsphone.com>
1999-04-20 22:04:31 +00:00
Dag-Erling Smørgrav
e4ec3989d9
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
Bill Fenner
b13864ec1a
Fix off-by-one error.
1999-02-16 19:05:09 +00:00
John Hay
e30e913cf7
Make the ipx part of netstat work again.
1999-02-06 19:12:48 +00:00
Ollivier Robert
bca92d96b8
Fix "make world" breakage because MT_RTABLE was still referenced here.
1999-01-18 12:40:44 +00:00
Bill Fenner
67a451cc89
Don't use ip_mrtproto to determine whether multicast routing is in
...
the kernel; this was left over from the earlier protocol-dependent
kernel multicast routing code.
Learn how to handle the malloc'd multicast routing table (instead of
expecting it to be in mbufs)
1999-01-18 02:09:15 +00:00
Gary Palmer
ed9ff6ddf7
Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTS
1998-08-23 15:23:11 +00:00
John Birrell
acfd6b3968
Change casts from int to u_long and formats from %x to %lx.
...
Didn't fix the alignment of the output fields on alpha where addresses
require 16 characters to print.
Added a dummy field to the pt_u union to help the alpha compiler align
the u_sa field in a suiable way.
1998-08-18 13:41:38 +00:00
John Birrell
fb5a5a81ea
Change a variable from int to size_t.
1998-08-18 13:36:47 +00:00
Poul-Henning Kamp
c6620a13c0
Make netstat work again.
1998-08-08 08:13:04 +00:00
Poul-Henning Kamp
99453c6ab8
Don't open /dev/mem until we need it, most cases we don't.
1998-08-05 13:54:07 +00:00
Bruce Evans
22694ebad5
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
Bruce Evans
b45d09e830
Fixed type mismatches and style bugs in rev.1.30.
1998-07-06 20:52:08 +00:00
Warner Losh
9a1f6729af
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
Pierre Beyssac
958d6f7fc3
Make "netstat -s" display stats on fast-forwarded packets.
...
Obtained from: NetBSD code
1998-05-19 16:00:55 +00:00
Garrett Wollman
8ad9b1a36b
Fix rev. 1.7: get offsetof from the correct header file.
1998-05-16 18:04:00 +00:00
Andrey A. Chernov
bc6ee716d5
Fix broken sun_len usage: it is not sun_path length but bigger
1998-05-16 08:31:49 +00:00
Garrett Wollman
4f81ef5056
mbuf, inet, and unix modules no longer read kvm.
1998-05-15 20:19:21 +00:00
Steve Price
b2ab9053e3
Remove (now) invalid .Xr trsp 8
...
PR: 6494
Submitted by: Don Morrison <dmorrisn@u.washington.edu>
1998-05-03 21:34:34 +00:00
David Greenman
ca67f4589b
Output mbuf clusters as current/peak/max. Requires new kern.ipc.nmbclusters
...
sysctl variable (previously committed).
1998-04-24 04:30:27 +00:00
Poul-Henning Kamp
384606eb2c
netstat truncates info in sockaddr* between kgetsa and p_sockaddr
...
by dereferencing pointer to smaller structure
PR: 5256
Reviewed by: phk
Submitted by: Gregory D. Moncreaff <moncrg@bt340707.res.ray.com>
1998-04-22 06:54:31 +00:00
Poul-Henning Kamp
c5d1ef4169
The current version of netstat does not print the interface
...
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR: 4182
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-04-19 18:18:25 +00:00
Andrey A. Chernov
881377bc7d
Add (unsigned) cast to prevent overflow in %
...
Submitted by: "Alex G. Bulushev" <bag@demos.su>
1997-11-10 08:03:36 +00:00
Steve Price
fbf8628c08
Typo fix.
...
PR: docs/4579
Submitted by: Stephen J. Roznowski <sjr@home.net>
1997-10-27 03:31:57 +00:00
Garrett Wollman
4e00c309c0
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
Garrett Wollman
e4bb0b9a5b
While I'm in here, fix address printing for `netstat -f unix' which has been
...
broken for a couple of weeks now...
1997-08-25 16:55:00 +00:00
Peter Wemm
5cc5ba1dd3
Bandaid to make this compile.. These old mbuf types should probably be
...
ripped out.
1997-08-17 09:12:43 +00:00
Philippe Charnier
5d422d6aa7
Remove prog, unused variables.
...
Cosmetic in usage string.
1997-07-29 06:51:41 +00:00
Guido van Rooij
11523cf5fb
Remove -I/sys
1997-07-13 11:51:42 +00:00
Poul-Henning Kamp
ef1f3a4fd4
Remove some quite bogus code that tried to find subnet names but instead
...
spammed named with bogus queries.
1997-05-25 08:36:20 +00:00
John Hay
64a0cc86b5
Add the new ipx statistics variables.
...
Remove the dns lookup code in the ipx functions. That is bogus and slows
things like netstat -r(f ipx) down, without gaining anything.
Remove the ipx error protocol statistics.
1997-05-10 10:03:43 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Garrett Wollman
13ae2e2d75
Use the new sysctl(3) interface to mbuf statistics rather than
...
groveling about in kmem.
1997-02-24 20:40:40 +00:00
Peter Wemm
c115df18cd
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
Garrett Wollman
2fde9bd6de
When the mbuf code was changed to use a private allocator instead of
...
the kernel malloc, netstat was never updated to reflect the fact that
there are once again allocated-but-free mbufs, just as there are
clusters, and so the information presented about how much memory was
allocated to the network was bogus. Fixed.
1997-02-12 19:33:22 +00:00
Garrett Wollman
a5969f5ffc
Print out the new uninteresting-multicast-packets statistic.
1997-01-21 21:08:57 +00:00
Jordan K. Hubbard
1130b656e5
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
Garrett Wollman
75fb877061
Print out the interface's multicast addresses using the new
...
structures.
1997-01-13 21:27:46 +00:00
Paul Traina
e1fb4daa3e
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
Garrett Wollman
8766942543
Update to match changes in <net/if.h> and <netinet/ip_mroute.h>.
1997-01-03 20:16:31 +00:00
Garrett Wollman
15244cd5c2
Learn to follow the new interface address lists.
1996-12-13 21:29:59 +00:00
Garrett Wollman
0e27dc0563
Understand queue-ized ifnet structures.
1996-12-11 20:39:43 +00:00
Garrett Wollman
628d2ac1b0
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
...
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
Bill Fenner
f6719675d2
Display multicast addresses if the "a" flag is used in combination
...
with "-i". This was already in the man page but was not implemented.
Obtained from: Multicast release 3.5
1996-12-02 06:38:30 +00:00
Garrett Wollman
9086499893
Eliminate unnecessary include of <sys/mbuf.h>. PCBs aren't stored in mbufs
...
any more.
1996-10-28 18:56:44 +00:00
Garrett Wollman
924a8fa376
Remove reference to oobsolete RTF_MASK flag (soon to be removed).
1996-10-09 18:19:07 +00:00
Julian Elischer
d4b2a43950
make appletalk networks not show an un-needed host
...
part in displaying the routes.
1996-09-05 23:34:09 +00:00
Bruce Evans
5b963fa12e
Fixed DPADD.
1996-09-05 17:16:10 +00:00
Julian Elischer
a8d3784533
fix printing of netranges in the i and r displays for netatalk
1996-08-31 07:43:01 +00:00
Poul-Henning Kamp
8d612dd2fc
Try to make netstat more smart about port numbers.
...
Feedback most welcome.
1996-08-23 19:05:34 +00:00
Julian Elischer
e56dd1bb4f
Submitted by: archie@whistle.com
...
slight cleanups on yesterday's patches
1996-07-23 22:00:14 +00:00
Julian Elischer
3a67d2bc37
Submitted by: archie@whistle.com
...
appletalk cleanups
1996-07-23 01:18:47 +00:00
Julian Elischer
93e0e11657
Adding changes to ipfw and the kernel to support ip packet diversion..
...
This stuff should not be too destructive if the IPDIVERT is not compiled in..
be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
Julian Elischer
6ffcfd6c9e
appletalk cleanups
...
e.g.
Active ATALK connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
ddp 0 0 [69.230]130 [*.*]*
ddp 0 0 [69.230]128 [*.*]*
ddp 0 0 [69.230]1 [*.*]*
etc..
1996-07-09 02:55:47 +00:00
Peter Wemm
1336da0dea
make netstat distinguish broadcast and blackhole routes where they appear.
...
(RTF_BLACKHOLE was already documented as being shown, but the code ignored
it)
Sumbitted by: Greg Lehey <grog@lemis.de>
1996-06-15 17:08:40 +00:00
Julian Elischer
cae2a25e65
better appletalk support.
1996-06-10 21:03:38 +00:00
Julian Elischer
ce1355d54c
I guess the docs should mention the new protocol at least once.
1996-06-08 00:54:18 +00:00
Julian Elischer
63bf4575db
patches to allow netstat to monitor appletalk sockets openned using the
...
/sys/netatalk protocol stack
more cleanups and fixes are likely
1996-06-08 00:20:42 +00:00
Garrett Wollman
759b7d75fb
Print PCB hash miss statistic.
1996-06-05 17:24:33 +00:00
Alexander Langer
7d56c0ee6b
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
John Hay
33b6236de7
Document that ipx is a valid protocol for the -f option.
...
Comment out ns and iso. They are not supported anymore.
1996-04-13 21:23:57 +00:00
David Greenman
d8d891521e
Move #include of queue.h before #include of socketvar.h in preparation for
...
struct socket changes.
1996-03-11 13:01:12 +00:00
David Greenman
0b87c9157d
Make the -w option actually useful to people. Instead of it creating a
...
messy 130 column collage, output the system totals -or- info for a
specific interface if -I is given. Also wait for <interval> before
outputting the first sample so that it represents meaningful data (as
opposed to the total since the system was booted - most busy systems
wrap around many times during their operation, so these numbers are
only misleading).
1996-02-29 07:44:37 +00:00
Guido van Rooij
1347f5b8e5
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
Garrett Wollman
37b197b9ec
For some reason, the changes to make route.c compile didn't make it over.
...
Fixed.
Pointed-out-by: joerg
1996-02-16 15:42:14 +00:00
Garrett Wollman
cbc17e711e
XNS sort-of-support is no more.
1996-02-13 17:30:37 +00:00
Garrett Wollman
0761cb293e
Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
...
in preparation for its removal from the kernel source tree. NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
Mike Pritchard
270d3d754a
Fix a variety of minor typos and cross references in a bunch of
...
man pages.
Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Giles Lean <giles@nemeton.com.au>
<soda@sra.co.jp>
1996-01-20 07:29:11 +00:00
Peter Wemm
9c437f50ee
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 Wemm
cc63cd5663
A couple of changes of mine that I've been using for a while:
...
route.c: look up the netname as-is first before the shifted name. this
makes a big speed difference, as the lookups are generally local
DNS. The shifted names can be very wrong (there is still guessing
and fudging involved) and usually go remote, taking a long time
to fail. If you have the RFC reccomended netnames in your reverse
lookups, this is even faster still.
main.c: dont do a sethostent(1) - this is causing the resolver to use a
VC (tcp) connection to the resolver, which has more overheads and
is slower than the default UDP case. This once made sense when
everything was based on text host tables.
1996-01-14 23:42:19 +00:00
Peter Wemm
05ddff6e30
Merge in Lite-2 changes.
1996-01-14 23:33:13 +00:00
Andrey A. Chernov
1ef69972ad
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
Julian Elischer
140dbd4767
Submitted by: John Hay
...
more IPX related fixes
1995-12-05 07:29:15 +00:00
Stefan Eßer
09a67ffa0e
Increase width of Network column from 11 to 13 for the AF_INET case.
...
This seems to have been missed, when the recent IPX changes went in ...
1995-11-22 22:21:04 +00:00
Peter Wemm
f3117d66d3
Fix the bug that caused the AF_UNIX domain sockets to not be shown..
...
(it was nlist()ing a wrong symbol name). Only problem is that I'd grown
quite partial to the inet-only version.. :-)
1995-11-15 14:56:34 +00:00
Julian Elischer
661e19c924
Submitted by: Mike Mitchell
...
oops.
forgot this file then went to bed..
sorry
1995-10-27 20:18:22 +00:00
Adam David
513822dddc
- #if defined(TF_NEEDSYN) && defined(TF_NEEDSYN)
...
+ #if defined(TF_NEEDSYN) && defined(TF_NEEDFIN)
1995-10-27 12:32:07 +00:00
Julian Elischer
09fa32d305
Submitted by: john hay
...
patches to merge the two IPX packages to work with each other and to
not break make-world :)
IPXrouted should be working now, (or at least compiling) :)
1995-10-27 10:48:31 +00:00
Julian Elischer
cc6a66f20e
Reviewed by: julian and jhay@mikom.csir.co.za
...
Submitted by: Mike Mitchell, supervisor@alb.asctmd.com
This is a bulk mport of Mike's IPX/SPX protocol stacks and all the
related gunf that goes with it..
it is not guaranteed to work 100% correctly at this time
but as we had several people trying to work on it
I figured it would be better to get it checked in so
they could all get teh same thing to work on..
Mikes been using it for a year or so
but on 2.0
more changes and stuff will be merged in from other developers now that this is in.
Mike Mitchell, Network Engineer
AMTECH Systems Corporation, Technology and Manufacturing
8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000
supervisor@alb.asctmd.com
1995-10-26 20:31:59 +00:00
Garrett Wollman
231bfb095d
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
David Greenman
1b72e71cc2
Fixed netstat to not bogusly mangle the argv[] command args by rewriting
...
the way it stores and handles "interface". The previous behavior resulted
in strange output from 'w' and 'ps' when an interface specification was
given to netstat.
1995-09-23 15:04:28 +00:00
David Greenman
3aa80b1d81
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
David Greenman
89d7f49a31
Add "connections dropped by persist timeout" statistic.
1995-07-29 18:49:16 +00:00
Bruce Evans
7e4a866916
Instantiate our own variables instead of depending on bogus common
...
declarations in system headers that will be fixed soon.
1995-07-12 19:21:36 +00:00
Garrett Wollman
7b4315a73a
Correct spelling mistake: upcated -> updated.
1995-06-19 16:55:16 +00:00
Garrett Wollman
861b18288b
Print out the statistics for cache updates of rtt, rttvar, and ssthresh.
1995-06-19 16:46:21 +00:00
Garrett Wollman
ef105c25f6
Re-write `netstat -g' code to match the 3.5 data structures.
1995-06-13 19:18:40 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
David Greenman
a9d6f1a78d
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
David Greenman
fe9cff485b
Oops, remove some chaff from previous commit.
1995-04-09 05:34:54 +00:00
David Greenman
7452c2a5ef
Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBs
...
together.
1995-04-09 05:33:17 +00:00
Jordan K. Hubbard
d31b19afb1
The negative expire times shown by netstat are confusing and ugly.
...
Destination Gateway Flags Refs Use Netif Expire
199.182.75.128 link#1 UC 0 0 ed0 -842660
Submitted by: John Capo <jc@irbs.com>
1995-04-06 06:09:44 +00:00
David Greenman
c585f97c65
Changed "mapped pages in use" to "mbuf clusters in use".
1995-02-23 19:08:11 +00:00
Garrett Wollman
9a94a59774
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
Garrett Wollman
51e7d42c56
Don't print protocol-cloned routes by default (enabled by -a flag).
...
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
Garrett Wollman
c70b84bd3c
Document new route flags.
1994-12-14 18:55:01 +00:00
Garrett Wollman
a7c7761f65
Make it possible to correctly print out new route flags, and do so.
1994-12-13 22:34:34 +00:00
David Greenman
e1e293a5dc
Added '-b' option to display the number of in and out bytes on a given
...
interface (used with -i and -I flag).
1994-10-12 02:37:35 +00:00
Garrett Wollman
7b46dd001d
Document router advertisement and solicitation messages in ICMP input
...
histogram.
1994-10-02 18:45:32 +00:00
Garrett Wollman
19bd7f946a
Tell netstat about the new multicast forwarding statistics. For the moment,
...
don't try to do any multicast forwarding cache printouts; it's not clear
that netstat can do anything particularly useful or meaningful.
1994-09-08 00:07:12 +00:00
David Greenman
541f256275
Changed output formatting to 0 pad hex bytes if necessary. This makes
...
the output consistent with traditional representations of ethernet
addresses. I still don't like the spacing in netstat -i, however.
1994-08-05 12:38:06 +00:00
David Greenman
b3bfc7199e
Converted 'vmunix' to 'kernel'.
1994-08-05 09:14:37 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00