diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2018-06-24 17:02:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-26 05:49:08 +0300 |
commit | fb223502ec0889444965f602f57b1f45f9e9845e (patch) | |
tree | 08a4895a31a307722691a1f6abdb1e44c658dece /include/uapi/linux/snmp.h | |
parent | 7e55052783fd3a9202e9f7c4c480629a7270645f (diff) | |
download | linux-fb223502ec0889444965f602f57b1f45f9e9845e.tar.xz |
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.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/snmp.h')
-rw-r--r-- | include/uapi/linux/snmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h index 750d89120335..97517f36a5f9 100644 --- a/include/uapi/linux/snmp.h +++ b/include/uapi/linux/snmp.h @@ -279,6 +279,7 @@ enum LINUX_MIB_TCPDELIVERED, /* TCPDelivered */ LINUX_MIB_TCPDELIVEREDCE, /* TCPDeliveredCE */ LINUX_MIB_TCPACKCOMPRESSED, /* TCPAckCompressed */ + LINUX_MIB_TCPZEROWINDOWDROP, /* TCPZeroWindowDrop */ __LINUX_MIB_MAX }; |