summaryrefslogtreecommitdiffstats
path: root/include/linux/snmp.h
diff options
context:
space:
mode:
authorEric Dumazet2012-07-16 03:41:36 +0200
committerDavid S. Miller2012-07-17 07:12:00 +0200
commita6df1ae9383697c4eb1365176002f154982325ad (patch)
tree8afa8c1407bebeef9774dd673cef9d36efed07bd /include/linux/snmp.h
parentxfrm: Initialize the struct xfrm_dst behind the dst_enty field (diff)
downloadkernel-qcow2-linux-a6df1ae9383697c4eb1365176002f154982325ad.tar.gz
kernel-qcow2-linux-a6df1ae9383697c4eb1365176002f154982325ad.tar.xz
kernel-qcow2-linux-a6df1ae9383697c4eb1365176002f154982325ad.zip
tcp: add OFO snmp counters
Add three SNMP TCP counters, to better track TCP behavior at global stage (netstat -s), when packets are received Out Of Order (OFO) TCPOFOQueue : Number of packets queued in OFO queue TCPOFODrop : Number of packets meant to be queued in OFO but dropped because socket rcvbuf limit hit. TCPOFOMerge : Number of packets in OFO that were merged with other packets. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/snmp.h')
-rw-r--r--include/linux/snmp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/snmp.h b/include/linux/snmp.h
index 2e68f5ba0389..6e4c51123828 100644
--- a/include/linux/snmp.h
+++ b/include/linux/snmp.h
@@ -233,7 +233,10 @@ enum
LINUX_MIB_TCPREQQFULLDOCOOKIES, /* TCPReqQFullDoCookies */
LINUX_MIB_TCPREQQFULLDROP, /* TCPReqQFullDrop */
LINUX_MIB_TCPRETRANSFAIL, /* TCPRetransFail */
- LINUX_MIB_TCPRCVCOALESCE, /* TCPRcvCoalesce */
+ LINUX_MIB_TCPRCVCOALESCE, /* TCPRcvCoalesce */
+ LINUX_MIB_TCPOFOQUEUE, /* TCPOFOQueue */
+ LINUX_MIB_TCPOFODROP, /* TCPOFODrop */
+ LINUX_MIB_TCPOFOMERGE, /* TCPOFOMerge */
__LINUX_MIB_MAX
};