summaryrefslogtreecommitdiffstats
path: root/include/linux/snmp.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-01-25 04:44:20 +0000
committerDavid S. Miller <davem@davemloft.net>2012-01-26 13:51:00 -0500
commit09e9b813d34d9a09d64a64580a9959d8bae1f4f5 (patch)
tree5e8616336466d89c10da8a52166213d345cbe060 /include/linux/snmp.h
parentbb349bb4b19b39830e0486aedfd7c7dca23b7baf (diff)
downloadop-kernel-dev-09e9b813d34d9a09d64a64580a9959d8bae1f4f5.zip
op-kernel-dev-09e9b813d34d9a09d64a64580a9959d8bae1f4f5.tar.gz
tcp: add LINUX_MIB_TCPRETRANSFAIL counter
It might be useful to get a counter of failed tcp_retransmit_skb() calls. Reported-by: Satoru Moriya <satoru.moriya@hds.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/snmp.h')
-rw-r--r--include/linux/snmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/snmp.h b/include/linux/snmp.h
index c1241c42..8ee8af4 100644
--- a/include/linux/snmp.h
+++ b/include/linux/snmp.h
@@ -232,6 +232,7 @@ enum
LINUX_MIB_TCPTIMEWAITOVERFLOW, /* TCPTimeWaitOverflow */
LINUX_MIB_TCPREQQFULLDOCOOKIES, /* TCPReqQFullDoCookies */
LINUX_MIB_TCPREQQFULLDROP, /* TCPReqQFullDrop */
+ LINUX_MIB_TCPRETRANSFAIL, /* TCPRetransFail */
__LINUX_MIB_MAX
};
OpenPOWER on IntegriCloud