Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 13:25:50 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r270049 - stable/10/usr.bin/netstat
Message-ID:  <201408161325.s7GDPoAK042303@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sat Aug 16 13:25:49 2014
New Revision: 270049
URL: http://svnweb.freebsd.org/changeset/base/270049

Log:
  MFC r261525:
  
   Print the MD5 signature information introduced in r221023 (head) in the
   TCP statistics output.

Modified:
  stable/10/usr.bin/netstat/inet.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/netstat/inet.c
==============================================================================
--- stable/10/usr.bin/netstat/inet.c	Sat Aug 16 13:23:23 2014	(r270048)
+++ stable/10/usr.bin/netstat/inet.c	Sat Aug 16 13:25:49 2014	(r270049)
@@ -723,6 +723,17 @@ tcp_stats(u_long off, const char *name, 
 	p(tcps_ecn_ect1, "\t%ju packet%s with ECN ECT(1) bit set\n");
 	p(tcps_ecn_shs, "\t%ju successful ECN handshake%s\n");
 	p(tcps_ecn_rcwnd, "\t%ju time%s ECN reduced the congestion window\n");
+
+	p(tcps_sig_rcvgoodsig,
+	     "\t%ju packet%s with valid tcp-md5 signature received\n");
+	p(tcps_sig_rcvbadsig,
+	     "\t%ju packet%s with invalid tcp-md5 signature received\n");
+	p(tcps_sig_err_buildsig,
+	     "\t%ju packet%s with tcp-md5 signature mismatch\n");
+	p(tcps_sig_err_sigopt,
+	     "\t%ju packet%s with unexpected tcp-md5 signature received\n");
+	p(tcps_sig_err_nosigopt,
+	     "\t%ju packet%s without expected tcp-md5 signature received\n");
 #undef p
 #undef p1a
 #undef p2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408161325.s7GDPoAK042303>