]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add TCPWinProbe and TCPKeepAlive SNMP counters
authorEric Dumazet <edumazet@google.com>
Wed, 6 May 2015 21:26:25 +0000 (14:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:42:32 +0000 (16:42 -0400)
commit4d8d09a701c9da6760ad8d054b85991827938833
tree45729a77a2017ec24e8185e7279b97a2019f87fe
parent328518037aa28b5bd15b855eeaf7ef196fcdb7fc
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>
include/net/tcp.h
include/uapi/linux/snmp.h
net/ipv4/proc.c
net/ipv4/tcp_output.c
net/ipv4/tcp_timer.c