summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/ip.c
Commit message (Collapse)AuthorAgeFilesLines
* ANSIfy and remove register.delphij2008-01-161-2/+1
| | | | Resulting binary verified with strip(1)+md5(1).
* Remove trailing whitespace.bde2006-04-301-1/+1
| | | | | 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-73/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+10
| | | | with namelists. use __FBSDID().
* Count and show incoming UDP datagrams with no checksum.ru2001-03-131-18/+20
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Quiet many compiler warnings.obrien1998-10-081-3/+2
|
* Emboldened by the success of yesterday's ICMP statistics display,wollman1997-09-251-0/+341
I've now added one that does IP (and also UDP) statistics.
OpenPOWER on IntegriCloud