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
266 TCP_NLA_BYTES_RETRANS, /* Data bytes retransmitted */266 TCP_NLA_BYTES_RETRANS, /* Data bytes retransmitted */
267 TCP_NLA_DSACK_DUPS, /* DSACK blocks received */267 TCP_NLA_DSACK_DUPS, /* DSACK blocks received */
268 TCP_NLA_REORD_SEEN, /* reordering events seen */268 TCP_NLA_REORD_SEEN, /* reordering events seen */
269 TCP_NLA_SRTT, /* smoothed RTT in usecs */
269};270};
270 271
271/* for TCP_MD5SIG socket option */272/* for TCP_MD5SIG socket option */