summaryrefslogtreecommitdiff
path: root/statistics.c
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2001-10-24 11:57:05 +0000
committerAndi Kleen <andi@firstfloor.org>2001-10-24 11:57:05 +0000
commit81f8bc8502a66dea75a51eb4b0bde0fc510e16d8 (patch)
treedd26d786a1cee4902e4e6bec81f463b8f151a78f /statistics.c
parentd67a12a50350c1686df85c693b498f86000226dd (diff)
downloadnet-tools-81f8bc8502a66dea75a51eb4b0bde0fc510e16d8.tar.gz
net-tools-81f8bc8502a66dea75a51eb4b0bde0fc510e16d8.tar.bz2
net-tools-81f8bc8502a66dea75a51eb4b0bde0fc510e16d8.zip
(Finally) update netstat -s for 2.4 statistics.
Diffstat (limited to 'statistics.c')
-rw-r--r--statistics.c42
1 files changed, 40 insertions, 2 deletions
diff --git a/statistics.c b/statistics.c
index 4f76dc3..8f825c3 100644
--- a/statistics.c
+++ b/statistics.c
@@ -1,6 +1,6 @@
/*
* Copyright 1997,1999,2000 Andi Kleen. Subject to the GPL.
- * $Id: statistics.c,v 1.15 2001/10/19 09:28:01 ak Exp $
+ * $Id: statistics.c,v 1.16 2001/10/24 11:57:05 ak Exp $
* 19980630 - i18n - Arnaldo Carvalho de Melo <acme@conectiva.com.br>
* 19981113 - i18n fixes - Arnaldo Carvalho de Melo <acme@conectiva.com.br>
* 19990101 - added net/netstat, -t, -u, -w supprt - Bernd Eckenfels
@@ -180,11 +180,49 @@ struct entry Tcpexttab[] =
{ "TCPDirectCopyFromPrequeue", N_("%u packets directly received"
" from prequeue"), opt_number },
{ "TCPPrequeueDropped", N_("%u packets dropped from prequeue"), opt_number },
- { "TCPHPHits", N_("%u packets header predicted"), number },
+ { "TCPHPHits", N_("%u packet headers predicted"), number },
{ "TCPHPHitsToUser", N_("%u packets header predicted and "
"directly queued to user"), opt_number },
{ "SockMallocOOM", N_("Ran %u times out of system memory during "
"packet sending"), opt_number },
+ { "TCPPureAcks", N_("%u acknowledgments not containing data received"), opt_number },
+ { "TCPHPAcks", N_("%u predicted acknowledgments"), opt_number },
+ { "TCPRenoRecovery", N_("%u times recovered from packet loss due to fast retransmit"), opt_number },
+ { "TCPSackRecovery", N_("%u times recovered from packet loss due to SACK data"), opt_number },
+ { "TCPSACKReneging", N_("%u bad SACKs received"), opt_number },
+ { "TCPFACKReorder", N_("Detected reordering %u times using FACK"), opt_number },
+ { "TCPSACKReorder", N_("Detected reordering %u times using SACK"), opt_number },
+ { "TCPTSReorder", N_("Detected reordering %u times using time stamp"), opt_number },
+ { "TCPRenoReorder", N_("Detected reordering %u times using reno fast retransmit"), opt_number },
+ { "TCPFullUndo", N_("%u congestion windows fully recovered"), opt_number },
+ { "TCPPartialUndo", N_("%u congestion windows partially recovered using Hoe heuristic"), opt_number },
+ { "TCPDSackUndo", N_("%u congestion window recovered using DSACK"), opt_number },
+ { "TCPLossUndo", N_("%u congestion windows recovered after partial ack"), opt_number },
+ { "TCPLostRetransmits", N_("%u retransmits lost"), opt_number },
+ { "TCPRenoFailures", N_("%u timeouts after reno fast retransmit"), opt_number },
+ { "TCPSackFailures", N_("%u timeouts after SACK recovery"), opt_number },
+ { "TCPLossFailures", N_("%u timeouts in loss state"), opt_number },
+ { "TCPFastRetrans", N_("%u fast retransmits"), opt_number },
+ { "TCPForwardRetrans", N_("%u forward retransmits"), opt_number },
+ { "TCPSlowStartRetrans", N_("%u retransmits in slow start"), opt_number },
+ { "TCPTimeouts", N_("%u other TCP timeouts"), opt_number },
+ { "TCPRenoRecoveryFailed", N_("%u reno fast retransmits failed"), opt_number },
+ { "TCPSackRecoveryFail", N_("%u sack retransmits failed"), opt_number },
+ { "TCPSchedulerFailed", N_("%u times receiver scheduled too late for direct processing"), opt_number },
+ { "TCPRcvCollapsed", N_("%u packets collapsed in receive queue due to low socket buffer"), opt_number },
+ { "TCPDSACKOldSent", N_("%u DSACKs sent for old packets"), opt_number },
+ { "TCPDSACKOfoSent", N_("%u DSACKs sent for out of order packets"), opt_number },
+ { "TCPDSACKRecv", N_("%u DSACKs received"), opt_number },
+ { "TCPDSACKOfoRecv", N_("%u DSACKs for out of order packets received"), opt_number },
+ { "TCPAbortOnSyn", N_("%u connections reset due to unexpected SYN"), opt_number },
+ { "TCPAbortOnData", N_("%u connections reset due to unexpected data"), opt_number },
+ { "TCPAbortOnClose", N_("%u connections reset due to early user close"), opt_number },
+ { "TCPAbortOnMemory", N_("%u connections aborted due to memory pressure"), opt_number },
+ { "TCPAbortOnTimeout", N_("%u connections aborted due to timeout"), opt_number },
+ { "TCPAbortOnLinger", N_("%u connections aborted after user close in linger timeout"), opt_number },
+ { "TCPAbortFailed", N_("%u times unabled to send RST due to no memory"), opt_number },
+ { "TCPMemoryPressures", N_("TCP ran low on memory %u times"), opt_number },
+ { "TCPLoss", N_("%u TCP data loss events") },
};
struct tabtab {