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)
commite520af48c7e5acae5f17f82a79ba7ab7cf156f3b
tree45729a77a2017ec24e8185e7279b97a2019f87fe
parent21c8fe9915276d923f8c1e43434fd6d37a3b9aef
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