summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/icmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Make systat(1) accept fractional number of seconds.melifaro2012-09-171-1/+1
| | | | | | Make old alarm(3)-based code use select(2). MFC after: 2 weeks
* Whitespace fixes.ed2012-02-051-1/+0
| | | | | | - Remove redundant empty lines. - Replace ^L by \014. This allows you to safely cat/grep/etc this file without causing confusion.
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+2
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-2/+0
| | | | Tested with: make universe
* ANSIfy and remove register.delphij2008-01-161-2/+1
| | | | Resulting binary verified with strip(1)+md5(1).
* Remove trailing whitespace.bde2006-04-301-2/+2
| | | | | Submitted by: Se=E1n Farley <sean-freebsd at farley dot org> PR: bin/81874
* Show the load average in the tcp display (it was already shown, perhapsbde2006-04-301-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not very usefully, in all other displays). This was the original point of the PR. Move the load average up by 2 so that it starts in row 0 for all windows (2 lines above it were wasted for all other windows except vmstat). Move everything below it up by 2 or 3 (3 for icmp and icmp6 which had an extra blank line due from not compensating for the foot-shooting in note (3); only ip and ip6 compensated). Reduce the magic numbers related to this. Notes by the submitter: %%% 1. All the subwin() calls are identical using #define MAINWIN_ROW 3 (systat.h). 2. The load average is at the top of the window. 3. Each display starts on the fourth line. I made changes to those displays that shifted the start line (i.e., icmp). This entailed a lot of changes within the comments at the top of those displays. 4. For ip6, I shifted the "Input next-header histogram" column down one row to separate it from "IPv6 Output". I raised "bad scope packets" and "address selection failed" up one row to stay with "IPv6 Input" (valid?). They were down one row to probably line up at the bottom, but I think they should stick with their fellow items in a column. 5. I condensed ifstat a bit. It had a lot of empty rows. %%% Submitted by: Se=E1n Farley <sean-freebsd at farley dot org> PR: bin/81874
* WARNS=2 fixes with NO_WERROR set, as there are some header issuesmarkm2001-12-121-7/+9
| | | | with namelists. use __FBSDID().
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add a mode to display ICMP statistics.wollman1997-09-241-0/+283
Inspired by: IRIX netstat -C
OpenPOWER on IntegriCloud