From owner-freebsd-bugs Wed May 30 22:20: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CC64737B424 for ; Wed, 30 May 2001 22:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4V5K1o20916; Wed, 30 May 2001 22:20:01 -0700 (PDT) (envelope-from gnats) Received: from minya.sea.one-eyed-alien.net (minya.sea.one-eyed-alien.net [216.39.168.226]) by hub.freebsd.org (Postfix) with ESMTP id 3DCCF37B423 for ; Wed, 30 May 2001 22:14:48 -0700 (PDT) (envelope-from brooks@minya.sea.one-eyed-alien.net) Received: by minya.sea.one-eyed-alien.net (Postfix, from userid 1001) id 4463124D1F; Wed, 30 May 2001 22:16:38 -0700 (PDT) Message-Id: <20010531051638.4463124D1F@minya.sea.one-eyed-alien.net> Date: Wed, 30 May 2001 22:16:38 -0700 (PDT) From: brooks@one-eyed-alien.net Reply-To: brooks@one-eyed-alien.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/27786: [PATCH] make systat display TCP checksum failures Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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