This patch adds TCP_NLA_SENDQ_SIZE stat into SCM_TIMESTAMPING_OPT_STATS. It reports no. of bytes present in send queue, when timestamp is generated.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -241,6 +241,7 @@ enum { · 240 unmodified lines | |||
| 241 | TCP_NLA_MIN_RTT, /* minimum RTT */ | 241 | TCP_NLA_MIN_RTT, /* minimum RTT */ |
| 242 | TCP_NLA_RECUR_RETRANS, /* Recurring retransmits for the current pkt */ | 242 | TCP_NLA_RECUR_RETRANS, /* Recurring retransmits for the current pkt */ |
| 243 | TCP_NLA_DELIVERY_RATE_APP_LMT, /* delivery rate application limited ? */ | 243 | TCP_NLA_DELIVERY_RATE_APP_LMT, /* delivery rate application limited ? */ |
| 244 | TCP_NLA_SNDQ_SIZE, /* Data (bytes) pending in send queue */ | ||
| 244 | 245 | ||
| 245 | }; | 246 | }; |
| 246 | 247 | ||