Show hostcache statistics.

Submitted by:	Maxim Dounin
This commit is contained in:
Ruslan Ermilov 2010-10-05 05:15:27 +00:00
parent c791ca5046
commit 699ef999ee

View File

@ -690,6 +690,9 @@ tcp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
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");