summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/netcmds.c
Commit message (Collapse)AuthorAgeFilesLines
* remove __Pimp2002-03-221-7/+7
|
* WARNS=2 fixes with NO_WERROR set, as there are some header issuesmarkm2001-12-121-25/+27
| | | | with namelists. use __FBSDID().
* Get rid of setgid kmem for systat, and while being there, fix some bugstmm2001-03-231-1/+1
| | | | | | | | | | | and compiler warnings. The data for network statistics are still obtained via the kvm interface if systat was started with the needed privileges, otherwise sysctls are used. The reason for this is that with really many open sockets, the sysctl method is probably slower, but it systat -netstat is probably not really usable in either mode under these conditions. Approved by: rwatson
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* #include <arpa/inet.h>peter1998-06-121-1/+2
|
* Use 'proto <tcp|udp|all>' to select the protocol to displaysteve1997-12-041-8/+16
| | | | | | | | | in netstat-mode to avoid a conflict with tcp-mode. Also while documenting this new feature in the manpage, fix a minor display nit. PR: 5159 Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
* 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.
* Eliminate unnecessary include of <sys/mbuf.h>.wollman1996-10-281-1/+4
|
* Move #include of queue.h before #include of socketvar.h in preparation fordg1996-03-111-1/+1
| | | | struct socket changes.
* Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;dg1995-04-091-0/+1
| | | | sorry Jordan).
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+308
OpenPOWER on IntegriCloud