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 8 years ago

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

Showing the changes to include/uapi (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 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t