This patch exports all the sender chronograph measurements collected in the previous patches to TCP_INFO interface. Note that busy time exported includes all the other sending limits (rwnd-limited, sndbuf-limited). Internally the time unit is jiffy but externally the measurements are in microseconds for future extensions.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -214,6 +214,10 @@ struct tcp_info { · 213 unmodified lines | ||
| 214 | 214 | __u32 tcpi_data_segs_out; /* RFC4898 tcpEStatsDataSegsOut */ |
| 215 | 215 | |
| 216 | 216 | __u64 tcpi_delivery_rate; |
| 217 | + | |
| 218 | + __u64 tcpi_busy_time; /* Time (usec) busy sending data */ | |
| 219 | + __u64 tcpi_rwnd_limited; /* Time (usec) limited by receive window */ | |
| 220 | + __u64 tcpi_sndbuf_limited; /* Time (usec) limited by send buffer */ | |
| 217 | 221 | }; |
| 218 | 222 | |
| 219 | 223 | /* for TCP_MD5SIG socket option */ |