168 * IP group
169 */
170 #define MIB2_IP_ADDR 20 /* ipAddrEntry */
171 #define MIB2_IP_ROUTE 21 /* ipRouteEntry */
172 #define MIB2_IP_MEDIA 22 /* ipNetToMediaEntry */
173 #define MIB2_IP6_ROUTE 23 /* ipv6RouteEntry */
174 #define MIB2_IP6_MEDIA 24 /* ipv6NetToMediaEntry */
175 #define MIB2_IP6_ADDR 25 /* ipv6AddrEntry */
176 #define MIB2_IP_TRAFFIC_STATS 31 /* ipIfStatsEntry (IPv4) */
177 #define EXPER_IP_GROUP_MEMBERSHIP 100
178 #define EXPER_IP6_GROUP_MEMBERSHIP 101
179 #define EXPER_IP_GROUP_SOURCES 102
180 #define EXPER_IP6_GROUP_SOURCES 103
181 #define EXPER_IP_RTATTR 104
182 #define EXPER_IP_DCE 105
183
184 /*
185 * There can be one of each of these tables per transport (MIB2_* above).
186 */
187 #define EXPER_XPORT_MLP 105 /* transportMLPEntry */
188
189 /* Old names retained for compatibility */
190 #define MIB2_IP_20 MIB2_IP_ADDR
191 #define MIB2_IP_21 MIB2_IP_ROUTE
192 #define MIB2_IP_22 MIB2_IP_MEDIA
193
194 typedef struct mib2_ip {
195 /* forwarder? 1 gateway, 2 NOT gateway {ip 1} RW */
196 int ipForwarding;
197 /* default Time-to-Live for iph {ip 2} RW */
198 int ipDefaultTTL;
199 /* # of input datagrams {ip 3} */
200 Counter ipInReceives;
201 /* # of dg discards for iph error {ip 4} */
202 Counter ipInHdrErrors;
203 /* # of dg discards for bad addr {ip 5} */
204 Counter ipInAddrErrors;
205 /* # of dg being forwarded {ip 6} */
206 Counter ipForwDatagrams;
207 /* # of dg discards for unk protocol {ip 7} */
|
168 * IP group
169 */
170 #define MIB2_IP_ADDR 20 /* ipAddrEntry */
171 #define MIB2_IP_ROUTE 21 /* ipRouteEntry */
172 #define MIB2_IP_MEDIA 22 /* ipNetToMediaEntry */
173 #define MIB2_IP6_ROUTE 23 /* ipv6RouteEntry */
174 #define MIB2_IP6_MEDIA 24 /* ipv6NetToMediaEntry */
175 #define MIB2_IP6_ADDR 25 /* ipv6AddrEntry */
176 #define MIB2_IP_TRAFFIC_STATS 31 /* ipIfStatsEntry (IPv4) */
177 #define EXPER_IP_GROUP_MEMBERSHIP 100
178 #define EXPER_IP6_GROUP_MEMBERSHIP 101
179 #define EXPER_IP_GROUP_SOURCES 102
180 #define EXPER_IP6_GROUP_SOURCES 103
181 #define EXPER_IP_RTATTR 104
182 #define EXPER_IP_DCE 105
183
184 /*
185 * There can be one of each of these tables per transport (MIB2_* above).
186 */
187 #define EXPER_XPORT_MLP 105 /* transportMLPEntry */
188 #define EXPER_XPORT_PROC_INFO 106 /* conn_pid_node entry */
189
190 /* Old names retained for compatibility */
191 #define MIB2_IP_20 MIB2_IP_ADDR
192 #define MIB2_IP_21 MIB2_IP_ROUTE
193 #define MIB2_IP_22 MIB2_IP_MEDIA
194
195 typedef struct mib2_ip {
196 /* forwarder? 1 gateway, 2 NOT gateway {ip 1} RW */
197 int ipForwarding;
198 /* default Time-to-Live for iph {ip 2} RW */
199 int ipDefaultTTL;
200 /* # of input datagrams {ip 3} */
201 Counter ipInReceives;
202 /* # of dg discards for iph error {ip 4} */
203 Counter ipInHdrErrors;
204 /* # of dg discards for bad addr {ip 5} */
205 Counter ipInAddrErrors;
206 /* # of dg being forwarded {ip 6} */
207 Counter ipForwDatagrams;
208 /* # of dg discards for unk protocol {ip 7} */
|