summaryrefslogtreecommitdiff
path: root/include/uapi/linux/snmp.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-02-25 14:34:32 +0100
committerDavid S. Miller <davem@davemloft.net>2014-02-26 15:23:30 -0500
commit8e165e20348b53583f6c6cb45865b89209f4aa13 (patch)
tree26eab521fe1c2ac3aca539d832d747f2c42bc930 /include/uapi/linux/snmp.h
parent2ebe21fdde1c92ef1654f23d29194145be0e1ddc (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.h3
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
LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES, /* TCPSpuriousRtxHostQueues */
LINUX_MIB_BUSYPOLLRXPACKETS, /* BusyPollRxPackets */
LINUX_MIB_TCPAUTOCORKING, /* TCPAutoCorking */
+ LINUX_MIB_TCPFROMZEROWINDOWADV, /* TCPFromZeroWindowAdv */
+ LINUX_MIB_TCPTOZEROWINDOWADV, /* TCPToZeroWindowAdv */
+ LINUX_MIB_TCPWANTZEROWINDOWADV, /* TCPWantZeroWindowAdv */
__LINUX_MIB_MAX
};