]> 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)
commitee7e10a580ee095f07f5ce6bf72f39ae791dfaf8
tree45729a77a2017ec24e8185e7279b97a2019f87fe
parent25ef408e8e0109dfaeb6b6ced2c60dd1a835e703
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