tcp: export sender limits chronographs to TCP_INFO
authorFrancis Yan <francisyyan@gmail.com>
Mon, 28 Nov 2016 07:07:17 +0000 (23:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 15:04:25 +0000 (10:04 -0500)
commitefd90174167530c67a54273fd5d8369c87f9bd32
tree8d5a14b3b4c63b8b919e815610f3a90c3c12e4aa
parentb0f71bd3e190df827d25d7f19bf09037567f14b7
tcp: export sender limits chronographs to TCP_INFO

This patch exports all the sender chronograph measurements collected
in the previous patches to TCP_INFO interface. Note that busy time
exported includes all the other sending limits (rwnd-limited,
sndbuf-limited). Internally the time unit is jiffy but externally
the measurements are in microseconds for future extensions.

Signed-off-by: Francis Yan <francisyyan@gmail.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tcp.h
net/ipv4/tcp.c