Author: melifaro
Date: Wed Nov  2 11:05:11 2011
New Revision: 227017
URL: http://svn.freebsd.org/changeset/base/227017

Log:
  MFC 213440 (by ru)
  
  Show hostcache statistics in netstat(1).
  
  Submitted by:   Maxim Dounin
  Approved by:    ae
  Approved by:    ru

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

Modified: stable/7/usr.bin/netstat/inet.c
==============================================================================
--- stable/7/usr.bin/netstat/inet.c     Wed Nov  2 11:02:42 2011        
(r227016)
+++ stable/7/usr.bin/netstat/inet.c     Wed Nov  2 11:05:11 2011        
(r227017)
@@ -644,6 +644,9 @@ tcp_stats(u_long off, const char *name, 
        p(tcps_sc_sendcookie, "\t%lu cookie%s sent\n");
        p(tcps_sc_recvcookie, "\t%lu cookie%s received\n");
 
+       p(tcps_hc_added, "\t%lu hostcache entrie%s added\n");
+       p1a(tcps_hc_bucketoverflow, "\t\t%lu bucket overflow\n");
+
        p(tcps_sack_recovery_episode, "\t%lu SACK recovery episode%s\n");
        p(tcps_sack_rexmits,
            "\t%lu segment rexmit%s in SACK recovery episodes\n");
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to