History

tcp: add related fields into SCM_TIMESTAMPING_OPT_STATS

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

Wei Wang committed 9 years ago

Commit bb7c19f1 parent 02635982 files · +27 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/tcp.h+8−0
@@ -231,6 +231,14 @@ enum { · 230 unmodified lines
231231 TCP_NLA_SNDBUF_LIMITED, /* Time (usec) limited by send buffer */
232232 TCP_NLA_DATA_SEGS_OUT, /* Data pkts sent including retransmission */
233233 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+
234242 };
235243
236244 /* for TCP_MD5SIG socket option */