summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
Commit message (Collapse)AuthorAgeFilesLines
* Submitted by: archie@whistle.comjulian1996-07-231-2/+2
| | | | slight cleanups on yesterday's patches
* Submitted by: archie@whistle.comjulian1996-07-234-44/+51
| | | | appletalk cleanups
* Adding changes to ipfw and the kernel to support ip packet diversion..julian1996-07-101-0/+6
| | | | | | 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.
* appletalk cleanupsjulian1996-07-092-10/+15
| | | | | | | | | | | 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..
* make netstat distinguish broadcast and blackhole routes where they appear.peter1996-06-152-1/+4
| | | | | | | (RTF_BLACKHOLE was already documented as being shown, but the code ignored it) Sumbitted by: Greg Lehey <grog@lemis.de>
* better appletalk support.julian1996-06-103-41/+98
|
* I guess the docs should mention the new protocol at least once.julian1996-06-081-0/+3
|
* patches to allow netstat to monitor appletalk sockets openned using thejulian1996-06-085-4/+223
| | | | | | /sys/netatalk protocol stack more cleanups and fixes are likely
* Print PCB hash miss statistic.wollman1996-06-051-0/+1
|
* Code cleanup: remove unused variables, use correct *printf formatalex1996-06-028-147/+144
| | | | | | specifiers (some unsigned values were printed as signed, some longs were printed as ints), and place parentheses around assignments in if statements.
* Document that ipx is a valid protocol for the -f option.jhay1996-04-131-5/+8
| | | | Comment out ns and iso. They are not supported anymore.
* Move #include of queue.h before #include of socketvar.h in preparation fordg1996-03-114-1/+4
| | | | struct socket changes.
* Make the -w option actually useful to people. Instead of it creating adg1996-02-292-97/+79
| | | | | | | | | 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).
* Add a counter for the number of times the listen queue was overflowed toguido1996-02-261-0/+1
| | | | | | the tcpstat structure. (netstat -s) Reviewed by: wollman Obtained from: Steves, TCP/IP Ill. vol.3, page 189
* For some reason, the changes to make route.c compile didn't make it over.wollman1996-02-161-1/+9
| | | | | | Fixed. Pointed-out-by: joerg
* XNS sort-of-support is no more.wollman1996-02-133-4/+20
|
* Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)wollman1996-02-063-4/+18
| | | | | 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).
* Fix a variety of minor typos and cross references in a bunch ofmpp1996-01-201-3/+3
| | | | | | | | man pages. Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp>
* tidy up the domain name trimming code, and move it to a single placepeter1996-01-154-30/+40
| | | | | rather than having the same bit of code duplicated in three places, each with their own static copy of the host's local name.
* A couple of changes of mine that I've been using for a while:peter1996-01-142-3/+11
| | | | | | | | | | | | | 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.
* Merge in Lite-2 changes.peter1996-01-144-31/+106
|
* Change .8s port name restriction to .15s, modern tcp portache1995-12-231-1/+1
| | | | | | have longer names, check /etc/services. kerberos_master triggers this bug: it is undistiguishable from simple kerberos for .8s
* Submitted by: John Hayjulian1995-12-051-6/+7
| | | | more IPX related fixes
* Increase width of Network column from 11 to 13 for the AF_INET case.se1995-11-221-2/+2
| | | | This seems to have been missed, when the recent IPX changes went in ...
* Fix the bug that caused the AF_UNIX domain sockets to not be shown..peter1995-11-151-1/+1
| | | | | (it was nlist()ing a wrong symbol name). Only problem is that I'd grown quite partial to the inet-only version.. :-)
* Submitted by: Mike Mitchelljulian1995-10-271-0/+348
| | | | | | | oops. forgot this file then went to bed.. sorry
* - #if defined(TF_NEEDSYN) && defined(TF_NEEDSYN)adam1995-10-271-2/+2
| | | | + #if defined(TF_NEEDSYN) && defined(TF_NEEDFIN)
* Submitted by: john hayjulian1995-10-271-1/+1
| | | | | | | 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) :)
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-265-11/+171
| | | | | | | | | | | | | | | | | | | | | 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
* In TCP statistics, display new statistic about how many resends werewollman1995-10-131-0/+1
| | | | initiated as a result of the Path MTU discovery process.
* Fixed netstat to not bogusly mangle the argv[] command args by rewritingdg1995-09-232-15/+12
| | | | | | 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.
* Output statistics as unsigned in the -w section.dg1995-07-293-18/+26
| | | | | | 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.
* Add "connections dropped by persist timeout" statistic.dg1995-07-291-0/+1
|
* Instantiate our own variables instead of depending on bogus commonbde1995-07-121-1/+2
| | | | declarations in system headers that will be fixed soon.
* Correct spelling mistake: upcated -> updated.wollman1995-06-191-2/+2
|
* Print out the statistics for cache updates of rtt, rttvar, and ssthresh.wollman1995-06-191-0/+5
|
* Re-write `netstat -g' code to match the 3.5 data structures.wollman1995-06-132-53/+51
|
* Remove trailing whitespace.rgrimes1995-05-302-4/+4
|
* That's what I get for doing things in a hurry...applied up-to-date patchdg1995-04-091-1/+1
| | | | to this file rather than old one (before I renamed the structure element).
* Oops, remove some chaff from previous commit.dg1995-04-091-6/+0
|
* Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBsdg1995-04-092-10/+12
| | | | together.
* The negative expire times shown by netstat are confusing and ugly.jkh1995-04-061-5/+7
| | | | | | 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>
* Changed "mapped pages in use" to "mbuf clusters in use".dg1995-02-231-1/+1
|
* Make netstat report the correct state for T/TCP.wollman1995-02-141-1/+7
| | | | Submitted by: Andras Olah <olah@cs.utwente.nl>
* Don't print protocol-cloned routes by default (enabled by -a flag).wollman1995-01-233-33/+62
| | | | | Print non-zero expiration timers. Use err(3) for error reporting.
* Document new route flags.wollman1994-12-141-1/+4
|
* Make it possible to correctly print out new route flags, and do so.wollman1994-12-131-1/+4
|
* Added '-b' option to display the number of in and out bytes on a givendg1994-10-124-35/+86
| | | | interface (used with -i and -I flag).
* Document router advertisement and solicitation messages in ICMP inputwollman1994-10-021-2/+2
| | | | histogram.
* Tell netstat about the new multicast forwarding statistics. For the moment,wollman1994-09-081-8/+23
| | | | | don't try to do any multicast forwarding cache printouts; it's not clear that netstat can do anything particularly useful or meaningful.
OpenPOWER on IntegriCloud