diff options
author | Eric Dumazet <edumazet@google.com> | 2012-07-15 21:41:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 01:12:00 -0400 |
commit | a6df1ae9383697c4eb1365176002f154982325ad (patch) | |
tree | 8afa8c1407bebeef9774dd673cef9d36efed07bd /include/linux/snmp.h | |
parent | 141e369de698f2e17bf716b83fcc647ddcb2220c (diff) |
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.h | 5 |
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 | |||
233 | LINUX_MIB_TCPREQQFULLDOCOOKIES, /* TCPReqQFullDoCookies */ | 233 | LINUX_MIB_TCPREQQFULLDOCOOKIES, /* TCPReqQFullDoCookies */ |
234 | LINUX_MIB_TCPREQQFULLDROP, /* TCPReqQFullDrop */ | 234 | LINUX_MIB_TCPREQQFULLDROP, /* TCPReqQFullDrop */ |
235 | LINUX_MIB_TCPRETRANSFAIL, /* TCPRetransFail */ | 235 | LINUX_MIB_TCPRETRANSFAIL, /* TCPRetransFail */ |
236 | LINUX_MIB_TCPRCVCOALESCE, /* TCPRcvCoalesce */ | 236 | LINUX_MIB_TCPRCVCOALESCE, /* TCPRcvCoalesce */ |
237 | LINUX_MIB_TCPOFOQUEUE, /* TCPOFOQueue */ | ||
238 | LINUX_MIB_TCPOFODROP, /* TCPOFODrop */ | ||
239 | LINUX_MIB_TCPOFOMERGE, /* TCPOFOMerge */ | ||
237 | __LINUX_MIB_MAX | 240 | __LINUX_MIB_MAX |
238 | }; | 241 | }; |
239 | 242 | ||