diff options
author | Florian Westphal <fw@strlen.de> | 2014-02-25 08:34:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-26 15:23:30 -0500 |
commit | 8e165e20348b53583f6c6cb45865b89209f4aa13 (patch) | |
tree | 26eab521fe1c2ac3aca539d832d747f2c42bc930 /include/uapi/linux/snmp.h | |
parent | 2ebe21fdde1c92ef1654f23d29194145be0e1ddc (diff) |
net: tcp: add mib counters to track zero window transitions
Three counters are added:
- one to track when we went from non-zero to zero window
- one to track the reverse
- one counter incremented when we want to announce zero window,
but can't because we would shrink current window.
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/snmp.h')
-rw-r--r-- | include/uapi/linux/snmp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h index bbaba22f2d1b..8d64a7e5d371 100644 --- a/include/uapi/linux/snmp.h +++ b/include/uapi/linux/snmp.h | |||
@@ -259,6 +259,9 @@ enum | |||
259 | LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES, /* TCPSpuriousRtxHostQueues */ | 259 | LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES, /* TCPSpuriousRtxHostQueues */ |
260 | LINUX_MIB_BUSYPOLLRXPACKETS, /* BusyPollRxPackets */ | 260 | LINUX_MIB_BUSYPOLLRXPACKETS, /* BusyPollRxPackets */ |
261 | LINUX_MIB_TCPAUTOCORKING, /* TCPAutoCorking */ | 261 | LINUX_MIB_TCPAUTOCORKING, /* TCPAutoCorking */ |
262 | LINUX_MIB_TCPFROMZEROWINDOWADV, /* TCPFromZeroWindowAdv */ | ||
263 | LINUX_MIB_TCPTOZEROWINDOWADV, /* TCPToZeroWindowAdv */ | ||
264 | LINUX_MIB_TCPWANTZEROWINDOWADV, /* TCPWantZeroWindowAdv */ | ||
262 | __LINUX_MIB_MAX | 265 | __LINUX_MIB_MAX |
263 | }; | 266 | }; |
264 | 267 | ||