summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/snmp.h
diff options
context:
space:
mode:
authorEric Dumazet2015-05-06 23:26:25 +0200
committerDavid S. Miller2015-05-09 22:42:32 +0200
commite520af48c7e5acae5f17f82a79ba7ab7cf156f3b (patch)
tree45729a77a2017ec24e8185e7279b97a2019f87fe /include/uapi/linux/snmp.h
parenttcp: adjust window probe timers to safer values (diff)
downloadkernel-qcow2-linux-e520af48c7e5acae5f17f82a79ba7ab7cf156f3b.tar.gz
kernel-qcow2-linux-e520af48c7e5acae5f17f82a79ba7ab7cf156f3b.tar.xz
kernel-qcow2-linux-e520af48c7e5acae5f17f82a79ba7ab7cf156f3b.zip
tcp: add TCPWinProbe and TCPKeepAlive SNMP counters
Diagnosing problems related to Window Probes has been hard because we lack a counter. TCPWinProbe counts the number of ACK packets a sender has to send at regular intervals to make sure a reverse ACK packet opening back a window had not been lost. TCPKeepAlive counts the number of ACK packets sent to keep TCP flows alive (SO_KEEPALIVE) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Acked-by: Nandita Dukkipati <nanditad@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h
index 6a6fb747c78d..eee8968407f0 100644
--- a/include/uapi/linux/snmp.h
+++ b/include/uapi/linux/snmp.h
@@ -276,6 +276,8 @@ enum
LINUX_MIB_TCPACKSKIPPEDFINWAIT2, /* TCPACKSkippedFinWait2 */
LINUX_MIB_TCPACKSKIPPEDTIMEWAIT, /* TCPACKSkippedTimeWait */
LINUX_MIB_TCPACKSKIPPEDCHALLENGE, /* TCPACKSkippedChallenge */
+ LINUX_MIB_TCPWINPROBE, /* TCPWinProbe */
+ LINUX_MIB_TCPKEEPALIVE, /* TCPKeepAlive */
__LINUX_MIB_MAX
};