aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sctp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r--include/net/sctp/sctp.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 1c1abce5f6b6..e274fd479990 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -216,6 +216,50 @@ DECLARE_SNMP_STAT(struct sctp_mib, sctp_statistics);
216 216
217#endif /* !TEST_FRAME */ 217#endif /* !TEST_FRAME */
218 218
219/* sctp mib definitions */
220enum
221{
222 SCTP_MIB_NUM = 0,
223 SCTP_MIB_CURRESTAB, /* CurrEstab */
224 SCTP_MIB_ACTIVEESTABS, /* ActiveEstabs */
225 SCTP_MIB_PASSIVEESTABS, /* PassiveEstabs */
226 SCTP_MIB_ABORTEDS, /* Aborteds */
227 SCTP_MIB_SHUTDOWNS, /* Shutdowns */
228 SCTP_MIB_OUTOFBLUES, /* OutOfBlues */
229 SCTP_MIB_CHECKSUMERRORS, /* ChecksumErrors */
230 SCTP_MIB_OUTCTRLCHUNKS, /* OutCtrlChunks */
231 SCTP_MIB_OUTORDERCHUNKS, /* OutOrderChunks */
232 SCTP_MIB_OUTUNORDERCHUNKS, /* OutUnorderChunks */
233 SCTP_MIB_INCTRLCHUNKS, /* InCtrlChunks */
234 SCTP_MIB_INORDERCHUNKS, /* InOrderChunks */
235 SCTP_MIB_INUNORDERCHUNKS, /* InUnorderChunks */
236 SCTP_MIB_FRAGUSRMSGS, /* FragUsrMsgs */
237 SCTP_MIB_REASMUSRMSGS, /* ReasmUsrMsgs */
238 SCTP_MIB_OUTSCTPPACKS, /* OutSCTPPacks */
239 SCTP_MIB_INSCTPPACKS, /* InSCTPPacks */
240 SCTP_MIB_T1_INIT_EXPIREDS,
241 SCTP_MIB_T1_COOKIE_EXPIREDS,
242 SCTP_MIB_T2_SHUTDOWN_EXPIREDS,
243 SCTP_MIB_T3_RTX_EXPIREDS,
244 SCTP_MIB_T4_RTO_EXPIREDS,
245 SCTP_MIB_T5_SHUTDOWN_GUARD_EXPIREDS,
246 SCTP_MIB_DELAY_SACK_EXPIREDS,
247 SCTP_MIB_AUTOCLOSE_EXPIREDS,
248 SCTP_MIB_T3_RETRANSMITS,
249 SCTP_MIB_PMTUD_RETRANSMITS,
250 SCTP_MIB_FAST_RETRANSMITS,
251 SCTP_MIB_IN_PKT_SOFTIRQ,
252 SCTP_MIB_IN_PKT_BACKLOG,
253 SCTP_MIB_IN_PKT_DISCARDS,
254 SCTP_MIB_IN_DATA_CHUNK_DISCARDS,
255 __SCTP_MIB_MAX
256};
257
258#define SCTP_MIB_MAX __SCTP_MIB_MAX
259struct sctp_mib {
260 unsigned long mibs[SCTP_MIB_MAX];
261} __SNMP_MIB_ALIGN__;
262
219 263
220/* Print debugging messages. */ 264/* Print debugging messages. */
221#if SCTP_DEBUG 265#if SCTP_DEBUG