Add the following stats into SCM_TIMESTAMPING_OPT_STATS control msg: TCP_NLA_PACING_RATE TCP_NLA_DELIVERY_RATE TCP_NLA_SND_CWND TCP_NLA_REORDERING TCP_NLA_MIN_RTT TCP_NLA_RECUR_RETRANS TCP_NLA_DELIVERY_RATE_APP_LMT
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -231,6 +231,14 @@ enum { · 230 unmodified lines | ||
| 231 | 231 | TCP_NLA_SNDBUF_LIMITED, /* Time (usec) limited by send buffer */ |
| 232 | 232 | TCP_NLA_DATA_SEGS_OUT, /* Data pkts sent including retransmission */ |
| 233 | 233 | TCP_NLA_TOTAL_RETRANS, /* Data pkts retransmitted */ |
| 234 | + TCP_NLA_PACING_RATE, /* Pacing rate in bytes per second */ | |
| 235 | + TCP_NLA_DELIVERY_RATE, /* Delivery rate in bytes per second */ | |
| 236 | + TCP_NLA_SND_CWND, /* Sending congestion window */ | |
| 237 | + TCP_NLA_REORDERING, /* Reordering metric */ | |
| 238 | + TCP_NLA_MIN_RTT, /* minimum RTT */ | |
| 239 | + TCP_NLA_RECUR_RETRANS, /* Recurring retransmits for the current pkt */ | |
| 240 | + TCP_NLA_DELIVERY_RATE_APP_LMT, /* delivery rate application limited ? */ | |
| 241 | + | |
| 234 | 242 | }; |
| 235 | 243 | |
| 236 | 244 | /* for TCP_MD5SIG socket option */ |