aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/snmp.h
diff options
context:
space:
mode:
authorSridhar Samudrala <sri@us.ibm.com>2006-08-22 03:15:33 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:55:16 -0400
commitac0b04627269ff16c3c7ab854a65fe6780c6e3e5 (patch)
tree421ea678ea12d1e193b3bbf27fb1410355ba9b47 /include/linux/snmp.h
parent72d3b2c970a2d5d2ccb1d1cab4fb76663c4f2e49 (diff)
[SCTP]: Extend /proc/net/sctp/snmp to provide more statistics.
This patch adds more statistics info under /proc/net/sctp/snmp that should be useful for debugging. The additional events that are counted now include timer expirations, retransmits, packet and data chunk discards. The Data chunk discards include all the cases where a data chunk is discarded including high tsn, bad stream, dup tsn and the most useful one(out of receive buffer/rwnd). Also moved the SCTP MIB data structures from the generic include directories to include/sctp/sctp.h. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/snmp.h')
-rw-r--r--include/linux/snmp.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/linux/snmp.h b/include/linux/snmp.h
index 30156556f78d..854aa6b543f1 100644
--- a/include/linux/snmp.h
+++ b/include/linux/snmp.h
@@ -160,39 +160,6 @@ enum
160 __UDP_MIB_MAX 160 __UDP_MIB_MAX
161}; 161};
162 162
163/* sctp mib definitions */
164/*
165 * draft-ietf-sigtran-sctp-mib-07.txt
166 */
167enum
168{
169 SCTP_MIB_NUM = 0,
170 SCTP_MIB_CURRESTAB, /* CurrEstab */
171 SCTP_MIB_ACTIVEESTABS, /* ActiveEstabs */
172 SCTP_MIB_PASSIVEESTABS, /* PassiveEstabs */
173 SCTP_MIB_ABORTEDS, /* Aborteds */
174 SCTP_MIB_SHUTDOWNS, /* Shutdowns */
175 SCTP_MIB_OUTOFBLUES, /* OutOfBlues */
176 SCTP_MIB_CHECKSUMERRORS, /* ChecksumErrors */
177 SCTP_MIB_OUTCTRLCHUNKS, /* OutCtrlChunks */
178 SCTP_MIB_OUTORDERCHUNKS, /* OutOrderChunks */
179 SCTP_MIB_OUTUNORDERCHUNKS, /* OutUnorderChunks */
180 SCTP_MIB_INCTRLCHUNKS, /* InCtrlChunks */
181 SCTP_MIB_INORDERCHUNKS, /* InOrderChunks */
182 SCTP_MIB_INUNORDERCHUNKS, /* InUnorderChunks */
183 SCTP_MIB_FRAGUSRMSGS, /* FragUsrMsgs */
184 SCTP_MIB_REASMUSRMSGS, /* ReasmUsrMsgs */
185 SCTP_MIB_OUTSCTPPACKS, /* OutSCTPPacks */
186 SCTP_MIB_INSCTPPACKS, /* InSCTPPacks */
187 SCTP_MIB_RTOALGORITHM, /* RtoAlgorithm */
188 SCTP_MIB_RTOMIN, /* RtoMin */
189 SCTP_MIB_RTOMAX, /* RtoMax */
190 SCTP_MIB_RTOINITIAL, /* RtoInitial */
191 SCTP_MIB_VALCOOKIELIFE, /* ValCookieLife */
192 SCTP_MIB_MAXINITRETR, /* MaxInitRetr */
193 __SCTP_MIB_MAX
194};
195
196/* linux mib definitions */ 163/* linux mib definitions */
197enum 164enum
198{ 165{