History

tcp: add send queue size stat in SCM_TIMESTAMPING_OPT_STATS

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.

Priyaranjan Jha committed 8 years ago

Commit 87ecc951 parent 200066a2 files · +4 −1Browse files

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

Unified · Split

include/uapi/linux/tcp.h+1−0
@@ -241,6 +241,7 @@ enum { · 240 unmodified lines
241241 TCP_NLA_MIN_RTT, /* minimum RTT */
242242 TCP_NLA_RECUR_RETRANS, /* Recurring retransmits for the current pkt */
243243 TCP_NLA_DELIVERY_RATE_APP_LMT, /* delivery rate application limited ? */
244+ TCP_NLA_SNDQ_SIZE, /* Data (bytes) pending in send queue */
244245
245246 };
246247