Add TCP_NLA_SRTT to SCM_TIMESTAMPING_OPT_STATS that reports the smoothed round trip time in microseconds (tcp_sock.srtt_us >> 3).
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -266,6 +266,7 @@ enum { · 265 unmodified lines | ||
| 266 | 266 | TCP_NLA_BYTES_RETRANS, /* Data bytes retransmitted */ |
| 267 | 267 | TCP_NLA_DSACK_DUPS, /* DSACK blocks received */ |
| 268 | 268 | TCP_NLA_REORD_SEEN, /* reordering events seen */ |
| 269 | + TCP_NLA_SRTT, /* smoothed RTT in usecs */ | |
| 269 | 270 | }; |
| 270 | 271 | |
| 271 | 272 | /* for TCP_MD5SIG socket option */ |