summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/if.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors.bde1998-07-061-2/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Print out the interface's multicast addresses using the newwollman1997-01-131-51/+43
| | | | structures.
* Update to match changes in <net/if.h> and <netinet/ip_mroute.h>.wollman1997-01-031-0/+5
|
* Learn to follow the new interface address lists.wollman1996-12-131-2/+2
|
* Understand queue-ized ifnet structures.wollman1996-12-111-5/+14
|
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-101-0/+1
| | | | | | 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.
* Display multicast addresses if the "a" flag is used in combinationfenner1996-12-021-0/+60
| | | | | | with "-i". This was already in the man page but was not implemented. Obtained from: Multicast release 3.5
* fix printing of netranges in the i and r displays for netatalkjulian1996-08-311-2/+2
|
* Submitted by: archie@whistle.comjulian1996-07-231-2/+2
| | | | appletalk cleanups
* appletalk cleanupsjulian1996-07-091-0/+5
| | | | | | | | | | | 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..
* Code cleanup: remove unused variables, use correct *printf formatalex1996-06-021-8/+7
| | | | | | specifiers (some unsigned values were printed as signed, some longs were printed as ints), and place parentheses around assignments in if statements.
* Make the -w option actually useful to people. Instead of it creating adg1996-02-291-88/+75
| | | | | | | | | 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).
* XNS sort-of-support is no more.wollman1996-02-131-0/+6
|
* Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)wollman1996-02-061-0/+4
| | | | | 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).
* Merge in Lite-2 changes.peter1996-01-141-2/+2
|
* 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 ...
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-261-5/+23
| | | | | | | | | | | | | | | | | | | | | 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
* Fixed netstat to not bogusly mangle the argv[] command args by rewritingdg1995-09-231-14/+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-291-12/+12
| | | | | | 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.
* Added '-b' option to display the number of in and out bytes on a givendg1994-10-121-30/+72
| | | | interface (used with -i and -I flag).
* Changed output formatting to 0 pad hex bytes if necessary. This makesdg1994-08-051-1/+1
| | | | | the output consistent with traditional representations of ethernet addresses. I still don't like the spacing in netstat -i, however.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+375
OpenPOWER on IntegriCloud