Show TCP checksum failures with -tcp display.

PR:		bin/27786
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
This commit is contained in:
Ruslan Ermilov 2001-05-31 07:08:49 +00:00
parent 107054204b
commit 7bbf75ec4f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77514

View File

@ -86,6 +86,7 @@ static struct tcpstat curstat, initstat, oldstat;
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 @@ labeltcp(void)
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 @@ showtcp(void)
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