History

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).

Yousuk Seung committed 7 years ago

Commit e8bd8fc1 parent 54e8cb72 files · +3 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/tcp.h+1−0
@@ -266,6 +266,7 @@ enum { · 265 unmodified lines
266266 TCP_NLA_BYTES_RETRANS, /* Data bytes retransmitted */
267267 TCP_NLA_DSACK_DUPS, /* DSACK blocks received */
268268 TCP_NLA_REORD_SEEN, /* reordering events seen */
269+ TCP_NLA_SRTT, /* smoothed RTT in usecs */
269270 };
270271
271272 /* for TCP_MD5SIG socket option */