summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/netstat.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-38/+39
| | | | with namelists. use __FBSDID().
* Get rid of setgid kmem for systat, and while being there, fix some bugstmm2001-03-231-23/+142
| | | | | | | | | | | 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
* My bad, committed the submitted patch rather than the fixed patch.phk2000-12-301-2/+3
|
* Use macro API to <sys/queue.h>phk2000-12-301-31/+16
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: phk
* systat is way too comfortable with curses internals...peter1999-08-301-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Quiet many compiler warnings.obrien1998-10-081-2/+2
|
* #include <arpa/inet.h>peter1998-06-121-1/+2
|
* o Use snprintf rather than sprintfimp1998-06-091-6/+8
| | | | | | | | | | | o Add more checks for buffer overflows o Use snprintf rather than strcat/cpy and have better checks for max length exceeded. Most of these changes are not exploitable buffer overruns, but it never hurts to be safe. Inspired by and obtained from: OpenBSD
* 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.
* bin/1942 curses problem in systatphk1996-11-021-2/+2
| | | | | truncate if too long for field. 2.2 candidate.
* 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.
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;dg1995-04-091-11/+4
| | | | sorry Jordan).
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+470
OpenPOWER on IntegriCloud