Date: Wed, 30 May 2001 22:16:38 -0700 (PDT) From: brooks@one-eyed-alien.net To: FreeBSD-gnats-submit@freebsd.org Subject: bin/27786: [PATCH] make systat display TCP checksum failures Message-ID: <20010531051638.4463124D1F@minya.sea.one-eyed-alien.net>
next in thread | raw e-mail | index | archive | help
>Number: 27786 >Category: bin >Synopsis: [PATCH] make systat display TCP checksum failures >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 30 22:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Brooks Davis >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD minya.sea.one-eyed-alien.net 5.0-CURRENT FreeBSD 5.0-CURRENT #22: Wed May 30 14:16:46 PDT 2001 root@minya.sea.one-eyed-alien.net:/usr/obj/usr/src/sys/MINYA i386 >Description: This patch adds reporting of TCP checksum failures to the -tcp display in systat. It was being read and it's of some intrest so it should be displayed given that the display only takes 20 lines with this new entry. >How-To-Repeat: $ systat -tcp >Fix: Index: tcp.c =================================================================== RCS file: /home/ncvs/src/usr.bin/systat/tcp.c,v retrieving revision 1.3 diff -u -r1.3 tcp.c --- tcp.c 1999/08/28 01:06:06 1.3 +++ tcp.c 2001/05/31 05:10:26 @@ -86,6 +86,7 @@ 17999999999 keepalive probes 999999999 - acks 18999999999 - timeouts 999999999 - window probes 19 999999999 - window updates +20 999999999 - bad checksum --0123456789012345678901234567890123456789012345678901234567890123456789012345 --0 1 2 3 4 5 6 7 */ @@ -132,6 +133,7 @@ L(17, "keepalive probes"); R(17, "- acks"); L(18, "- timeouts"); R(18, "- window probes"); R(19, "- window updates"); + R(20, "- bad checksum"); #undef L #undef R } @@ -253,6 +255,7 @@ L(17, tcps_keepprobe); R(17, tcps_rcvackpack); L(18, tcps_keeptimeo); R(18, tcps_rcvwinprobe); R(19, tcps_rcvwinupd); + R(20, tcps_rcvbadsum); #undef DO #undef L #undef R >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010531051638.4463124D1F>