aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/snmp.h
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-08-25 01:55:52 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:48:30 -0400
commit18f02545a9a16c9a89778b91a162ad16d510bb32 (patch)
tree2b1c67a8168b695630d26216b7dd3be17179ca5c /include/linux/snmp.h
parent5b3c98821a8753239aefc1c217409aa3e5c90787 (diff)
[TCP] MIB: Add counters for discarded SACK blocks
In DSACK case, some events are not extraordinary, such as packet duplication generated DSACK. They can arrive easily below snd_una when undo_marker is not set (TCP being in CA_Open), counting such DSACKs amoung SACK discards will likely just mislead if they occur in some scenario when there are other problems as well. Similarly, excessively delayed packets could cause "normal" DSACKs. Therefore, separate counters are allocated for DSACK events. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/snmp.h')
-rw-r--r--include/linux/snmp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/snmp.h b/include/linux/snmp.h
index 802b3a38b041..d24c55473821 100644
--- a/include/linux/snmp.h
+++ b/include/linux/snmp.h
@@ -231,6 +231,9 @@ enum
231 LINUX_MIB_TCPABORTONLINGER, /* TCPAbortOnLinger */ 231 LINUX_MIB_TCPABORTONLINGER, /* TCPAbortOnLinger */
232 LINUX_MIB_TCPABORTFAILED, /* TCPAbortFailed */ 232 LINUX_MIB_TCPABORTFAILED, /* TCPAbortFailed */
233 LINUX_MIB_TCPMEMORYPRESSURES, /* TCPMemoryPressures */ 233 LINUX_MIB_TCPMEMORYPRESSURES, /* TCPMemoryPressures */
234 LINUX_MIB_TCPSACKDISCARD, /* TCPSACKDiscard */
235 LINUX_MIB_TCPDSACKIGNOREDOLD, /* TCPSACKIgnoredOld */
236 LINUX_MIB_TCPDSACKIGNOREDNOUNDO, /* TCPSACKIgnoredNoUndo */
234 __LINUX_MIB_MAX 237 __LINUX_MIB_MAX
235}; 238};
236 239