aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/netstat
Commit message (Collapse)AuthorAgeFilesLines
* Add '-L' option to usage().Guido van Rooij2000-03-201-1/+1
| | | | Notes: svn path=/head/; revision=58395
* Don't suppress Flags and Refs info for IPv4 entries.Yoshinobu Inoue2000-03-141-2/+2
| | | | | | | | (They need to be suppressed by default for IPv6 entries to keep the column size of each entries in 80.) Notes: svn path=/head/; revision=58066
* Add a flag to the usage display.Yoshinobu Inoue2000-03-111-2/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=57914
* Add "-l" option description.Yoshinobu Inoue2000-03-111-1/+3
| | | | | | | | Noticed the necessity by Ben Smithurst <ben@scientia.demon.co.uk> message on freebsd-current. Notes: svn path=/head/; revision=57909
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* IPv6 multicast routing.Yoshinobu Inoue2000-01-285-10/+237
| | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=56722
* Instead of reporting all 0.0.0.0 as ``default'' only reportRodney W. Grimes2000-01-071-2/+5
| | | | | | | | | a true default of 0.0.0.0/0 as default. Reviewed by: wollman Notes: svn path=/head/; revision=55575
* -permit protocol specific statistics at iflag,Yoshinobu Inoue2000-01-073-9/+16
| | | | | | | | | | | | 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> Notes: svn path=/head/; revision=55533
* libipsec and IPsec related apps. (and some KAME related man pages)Yoshinobu Inoue2000-01-061-1/+1
| | | | | | | | Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55505
* Print mac addresses in standard byte:byte format rather thanJordan K. Hubbard2000-01-031-1/+1
| | | | | | | | | | byte.byte. This makes it consistent with our other utilities like arp(8) and ifconfig(8). Submitted by: Paul Vixie <paul@vix.com> Notes: svn path=/head/; revision=55346
* Add display of maximum allowed mbuf count to match mbuf cluster count.Mike Smith1999-12-281-3/+11
| | | | | | | Submitted by: Bosko Milekic <bmilekic@dsuper.net> Notes: svn path=/head/; revision=55172
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.Yoshinobu Inoue1999-12-284-47/+12
| | | | | | | | | | Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55163
* also, changed prototype of pr_rthdr(), as my previous fixYoshinobu Inoue1999-12-211-1/+1
| | | | | | | for netstat/route.c Notes: svn path=/head/; revision=54957
* Added missing declaration for argment specification at pr_rthdr(),Yoshinobu Inoue1999-12-211-3/+4
| | | | | | | | | caused by my previous patch, sorry. Also, changed its var name from 'af' to 'wid_af', to avoid confusion with global var 'af'. Notes: svn path=/head/; revision=54956
* define WID_DST6 and WID_GW6 and use them only for IPv6, to keep IPv4 relatedYoshinobu Inoue1999-12-211-12/+32
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=54946
* Enable INET6 by default.Yoshinobu Inoue1999-12-151-1/+1
| | | | | | | This should be OK on non INET6 enabled kernel. Notes: svn path=/head/; revision=54624
* Add new option, -L that will listen the various listen queue lengths.Guido van Rooij1999-12-134-32/+68
| | | | | | | | Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Clive Lin <clive@GnatS.CirX.ORG> Notes: svn path=/head/; revision=54574
* udp IPv6 support, IPv6/IPv4 tunneling support in kernel,Yoshinobu Inoue1999-12-078-107/+1649
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=54263
* Fix the output of 'netstat -I de0 1' for the alpha. Fix a bunch ofDoug Rabson1999-11-091-9/+10
| | | | | | | warnings while I'm here. Notes: svn path=/head/; revision=53068
* uncomment FILES section (it look reasonable here)Alexey Zelkin1999-10-301-13/+23
| | | | | | | mdoc(7)'fy Notes: svn path=/head/; revision=52666
* Put include <netgraph.h> back in - problem was due to a cvsup mess onMatthew Dillon1999-10-241-0/+1
| | | | | | | | freefall. There may also be a real problem w/ buildworld but the fix would go somewhere else, not here. Notes: svn path=/head/; revision=52450
* Cleanup missing includes, stale includes, and a few printf formatMatthew Dillon1999-10-233-3/+2
| | | | | | | inconsistancies. Notes: svn path=/head/; revision=52445
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.Julian Elischer1999-10-216-4/+230
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=52419
* Cleanup towards -WallJulian Elischer1999-10-215-18/+17
| | | | Notes: svn path=/head/; revision=52415
* Allow suppress printing of lines with zero countsBoris Popov1999-10-181-2/+4
| | | | | | | | | for an IPX address family. PR: 14168 Notes: svn path=/head/; revision=52376
* Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fixSheldon Hearn1999-09-061-0/+4
| | | | | | | | | | the sockstat.1 document title, which still remembers when sockstat was called lsock. Reviewed by: mpp Notes: svn path=/head/; revision=51015
* Zap $Source$Peter Wemm1999-09-061-1/+0
| | | | Notes: svn path=/head/; revision=50998
* $Header$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50488
* $Id$ -> $FreeBSD$Peter Wemm1999-08-289-9/+9
| | | | Notes: svn path=/head/; revision=50477
* Document the use of the -a flag in conjunction with the -r flag.Nik Clayton1999-08-112-3/+11
| | | | | | | | PR: docs/13037 Submitted by: Christopher Masto <chris@netmonger.net> Notes: svn path=/head/; revision=49642
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=48792
* Don't truncate port numbers.Dag-Erling Smørgrav1999-07-061-9/+5
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=48643
* Add support for printing bridging statistics with ``-p bdg '' .Luigi Rizzo1999-04-264-2/+42
| | | | | | | If someone has a better flag to use I'll be glad to change it. Notes: svn path=/head/; revision=46097
* IPX address formatting nit.Bill Fumerola1999-04-201-2/+2
| | | | | | | | PR: bin/11179 Submitted by: Dan Nelson <dnelson@emsphone.com> Notes: svn path=/head/; revision=45884
* Fix fstat compatibility by printing the address of the tcppcb instead ofDag-Erling Smørgrav1999-03-101-3/+7
| | | | | | | | | | that of the regular socket pcb for TCP sockets. PR: bin/9963 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua> Notes: svn path=/head/; revision=44641
* Fix off-by-one error.Bill Fenner1999-02-161-2/+2
| | | | Notes: svn path=/head/; revision=44091
* Make the ipx part of netstat work again.John Hay1999-02-061-5/+7
| | | | Notes: svn path=/head/; revision=43722
* Fix "make world" breakage because MT_RTABLE was still referenced here.Ollivier Robert1999-01-181-1/+3
| | | | Notes: svn path=/head/; revision=42800
* Don't use ip_mrtproto to determine whether multicast routing is inBill Fenner1999-01-183-83/+32
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=42778
* Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTSGary Palmer1998-08-231-1/+3
| | | | Notes: svn path=/head/; revision=38491
* Change casts from int to u_long and formats from %x to %lx.John Birrell1998-08-181-6/+7
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=38428
* Change a variable from int to size_t.John Birrell1998-08-181-3/+3
| | | | Notes: svn path=/head/; revision=38427
* Make netstat work again.Poul-Henning Kamp1998-08-082-10/+20
| | | | Notes: svn path=/head/; revision=38185
* Don't open /dev/mem until we need it, most cases we don't.Poul-Henning Kamp1998-08-051-26/+25
| | | | Notes: svn path=/head/; revision=38124
* Fixed printf format errors.Bruce Evans1998-07-066-97/+112
| | | | Notes: svn path=/head/; revision=37453
* Fixed type mismatches and style bugs in rev.1.30.Bruce Evans1998-07-061-8/+6
| | | | Notes: svn path=/head/; revision=37452
* o Use snprintf over sprintf.Warner Losh1998-06-092-13/+17
| | | | | | | | | | o Use strncpy correctly. o Use enough buffer for line. Inspired by or Obtained from: Similar changes in OpenBSD Notes: svn path=/head/; revision=36788
* Make "netstat -s" display stats on fast-forwarded packets.Pierre Beyssac1998-05-191-2/+5
| | | | | | | Obtained from: NetBSD code Notes: svn path=/head/; revision=36195
* Fix rev. 1.7: get offsetof from the correct header file.Garrett Wollman1998-05-161-2/+2
| | | | Notes: svn path=/head/; revision=36103
* Fix broken sun_len usage: it is not sun_path length but biggerAndrey A. Chernov1998-05-161-2/+5
| | | | Notes: svn path=/head/; revision=36091