History

tcp: add SNMP counter for zero-window drops

It will be helpful if we could display the drops due to zero window or no enough window space. So a new SNMP MIB entry is added to track this behavior. This entry is named LINUX_MIB_TCPZEROWINDOWDROP and published in /proc/net/netstat in TcpExt line as TCPZeroWindowDrop.

Yafang Shao committed 8 years ago

Commit fb223501 parent 7e550523 files · +8 −2Browse files

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

Unified · Split

include/uapi/linux/snmp.h+1−0
@@ -279,6 +279,7 @@ enum · 278 unmodified lines
279279 LINUX_MIB_TCPDELIVERED, /* TCPDelivered */
280280 LINUX_MIB_TCPDELIVEREDCE, /* TCPDeliveredCE */
281281 LINUX_MIB_TCPACKCOMPRESSED, /* TCPAckCompressed */
282+ LINUX_MIB_TCPZEROWINDOWDROP, /* TCPZeroWindowDrop */
282283 __LINUX_MIB_MAX
283284 };
284285