Print this page
%B
*** 94,109 ****
#define MIB2_IP6 (IPPROTO_MAX+12)
#define MIB2_ICMP6 (IPPROTO_MAX+13)
#define MIB2_TCP6 (IPPROTO_MAX+14)
#define MIB2_UDP6 (IPPROTO_MAX+15)
#define MIB2_SCTP (IPPROTO_MAX+16)
/*
* Define range of levels for use with MIB2_*
*/
#define MIB2_RANGE_START (IPPROTO_MAX+1)
! #define MIB2_RANGE_END (IPPROTO_MAX+16)
#define EXPER 1024 /* experimental - not part of mib */
#define EXPER_IGMP (EXPER+1)
#define EXPER_DVMRP (EXPER+2)
--- 94,110 ----
#define MIB2_IP6 (IPPROTO_MAX+12)
#define MIB2_ICMP6 (IPPROTO_MAX+13)
#define MIB2_TCP6 (IPPROTO_MAX+14)
#define MIB2_UDP6 (IPPROTO_MAX+15)
#define MIB2_SCTP (IPPROTO_MAX+16)
+ #define MIB2_DCCP (IPPROTO_MAX+17)
/*
* Define range of levels for use with MIB2_*
*/
#define MIB2_RANGE_START (IPPROTO_MAX+1)
! #define MIB2_RANGE_END (IPPROTO_MAX+17)
#define EXPER 1024 /* experimental - not part of mib */
#define EXPER_IGMP (EXPER+1)
#define EXPER_DVMRP (EXPER+2)
*** 1784,1793 ****
--- 1785,1838 ----
#if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
#pragma pack()
#endif
+ /*
+ * the DCCP group
+ */
+ #define MIB2_DCCP_CONN 18
+
+ #define MIB2_DCCP_closed 1
+ #define MIB2_DCCP_listen 2
+
+ /* Pack data to make struct size the same for 32- and 64-bits */
+ #if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
+ #pragma pack(4)
+ #endif
+
+ typedef struct mib2_dccp {
+
+ Counter dccpActiveOpens;
+
+ int dccpEntrySize;
+ } mib2_dccp_t;
+
+ #if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
+ #pragma pack()
+ #endif
+
+ /* Pack data to make struct size the same for 32- and 64-bits */
+ #if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
+ #pragma pack(4)
+ #endif
+
+ typedef struct mib2_dccpConnEntry {
+ int dccpConnState;
+ IpAddress dccpConnLocalAddress;
+ int dccpConnLocalPort;
+ IpAddress dccpConnRemAddress;
+ int dccpConnRemPort;
+
+ uint32_t dccpConnCreationProcess;
+ uint64_t dccpConnCreationTime;
+ } mib2_dccpConnEntry_t;
+ #define MIB_FIRST_NEW_ELM_mib2_dccpConnEntry_t dccpConnCreationProcess
+
+ #if _LONG_LONG_ALIGNMENT == 8 && _LONG_LONG_ALIGNMENT_32 == 4
+ #pragma pack()
+ #endif
#ifdef __cplusplus
}
#endif