aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/systat/netcmds.c
Commit message (Collapse)AuthorAgeFilesLines
* Create release/8.0.0 for the 8.0-RELEASE.release/8.0.0_cvsKen Smith2009-11-211-1/+1
| | | | | | Approved by: re (implicit) This commit was manufactured to restore the state of the 8.0-RELEASE image.
* ANSIfy and remove register.Xin LI2008-01-161-26/+16
| | | | | | | Resulting binary verified with strip(1)+md5(1). Notes: svn path=/head/; revision=175387
* remove __PWarner Losh2002-03-221-7/+7
| | | | Notes: svn path=/head/; revision=92922
* WARNS=2 fixes with NO_WERROR set, as there are some header issuesMark Murray2001-12-121-25/+27
| | | | | | | with namelists. use __FBSDID(). Notes: svn path=/head/; revision=87715
* Get rid of setgid kmem for systat, and while being there, fix some bugsThomas Moestl2001-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 Notes: svn path=/head/; revision=74671
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* #include <arpa/inet.h>Peter Wemm1998-06-121-1/+2
| | | | Notes: svn path=/head/; revision=36916
* Use 'proto <tcp|udp|all>' to select the protocol to displaySteve Price1997-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> Notes: svn path=/head/; revision=31522
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Eliminate unnecessary include of <sys/mbuf.h>.Garrett Wollman1996-10-281-1/+4
| | | | Notes: svn path=/head/; revision=19234
* Move #include of queue.h before #include of socketvar.h in preparation forDavid Greenman1996-03-111-1/+1
| | | | | | | struct socket changes. Notes: svn path=/head/; revision=14543
* Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;David Greenman1995-04-091-0/+1
| | | | | | | sorry Jordan). Notes: svn path=/head/; revision=7715
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+308
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590