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