tcp: add related fields into SCM_TIMESTAMPING_OPT_STATS
authorWei Wang <weiwan@google.com>
Fri, 28 Jul 2017 17:28:21 +0000 (10:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 00:26:18 +0000 (17:26 -0700)
commitbb7c19f96012720b895111300b9d9f3f858c3a69
tree81db4275efdb4275e753ad48409be6326209dffc
parent0263598c774250f72b275f7f44f93dfd85b88f2b
tcp: add related fields into SCM_TIMESTAMPING_OPT_STATS

Add the following stats into SCM_TIMESTAMPING_OPT_STATS control msg:
    TCP_NLA_PACING_RATE
    TCP_NLA_DELIVERY_RATE
    TCP_NLA_SND_CWND
    TCP_NLA_REORDERING
    TCP_NLA_MIN_RTT
    TCP_NLA_RECUR_RETRANS
    TCP_NLA_DELIVERY_RATE_APP_LMT

Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tcp.h
net/ipv4/tcp.c