]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add SRTT to SCM_TIMESTAMPING_OPT_STATS
authorYousuk Seung <ysseung@google.com>
Fri, 16 Nov 2018 00:44:12 +0000 (16:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 04:34:36 +0000 (20:34 -0800)
commit72102cd91ff2f0bdf3ff162a1605098ad5700fb5
tree8dec28ff16f6d6829de8aff8f60276ff2afd3247
parent669ed9f467aa7a22bfcb11e71830a151a1c31045
tcp: add SRTT to SCM_TIMESTAMPING_OPT_STATS

Add TCP_NLA_SRTT to SCM_TIMESTAMPING_OPT_STATS that reports the smoothed
round trip time in microseconds (tcp_sock.srtt_us >> 3).

Signed-off-by: Yousuk Seung <ysseung@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tcp.h
net/ipv4/tcp.c