summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/snmp.h
diff options
context:
space:
mode:
authorEric Dumazet2018-05-17 23:47:27 +0200
committerDavid S. Miller2018-05-18 17:40:27 +0200
commit200d95f4575934e49f872109cce18c5e72383eb8 (patch)
tree8df77ef31be5aa474ced03a255797e9044a3be84 /include/uapi/linux/snmp.h
parenttcp: add SACK compression (diff)
downloadkernel-qcow2-linux-200d95f4575934e49f872109cce18c5e72383eb8.tar.gz
kernel-qcow2-linux-200d95f4575934e49f872109cce18c5e72383eb8.tar.xz
kernel-qcow2-linux-200d95f4575934e49f872109cce18c5e72383eb8.zip
tcp: add TCPAckCompressed SNMP counter
This counter tracks number of ACK packets that the host has not sent, thanks to ACK compression. Sample output : $ nstat -n;sleep 1;nstat|egrep "IpInReceives|IpOutRequests|TcpInSegs|TcpOutSegs|TcpExtTCPAckCompressed" IpInReceives 123250 0.0 IpOutRequests 3684 0.0 TcpInSegs 123251 0.0 TcpOutSegs 3684 0.0 TcpExtTCPAckCompressed 119252 0.0 Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Neal Cardwell <ncardwell@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h
index d02e859301ff..750d89120335 100644
--- a/include/uapi/linux/snmp.h
+++ b/include/uapi/linux/snmp.h
@@ -278,6 +278,7 @@ enum
LINUX_MIB_TCPMTUPSUCCESS, /* TCPMTUPSuccess */
LINUX_MIB_TCPDELIVERED, /* TCPDelivered */
LINUX_MIB_TCPDELIVEREDCE, /* TCPDeliveredCE */
+ LINUX_MIB_TCPACKCOMPRESSED, /* TCPAckCompressed */
__LINUX_MIB_MAX
};