mib2_module.h
Go to the documentation of this file.
1/**
2 * @file mib2_module.h
3 * @brief MIB-II module
4 *
5 * @section License
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 *
9 * Copyright (C) 2010-2021 Oryx Embedded SARL. All rights reserved.
10 *
11 * This file is part of CycloneTCP Open.
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software Foundation,
25 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 *
27 * @author Oryx Embedded SARL (www.oryx-embedded.com)
28 * @version 2.1.2
29 **/
30
31#ifndef _MIB2_MODULE_H
32#define _MIB2_MODULE_H
33
34//Dependencies
35#include "core/net.h"
36#include "core/udp.h"
37#include "core/tcp.h"
38#include "ipv4/ipv4.h"
39#include "mibs/mib_common.h"
40
41//MIB-II module support
42#ifndef MIB2_SUPPORT
43 #define MIB2_SUPPORT DISABLED
44#elif (MIB2_SUPPORT != ENABLED && MIB2_SUPPORT != DISABLED)
45 #error MIB2_SUPPORT parameter is not valid
46#endif
47
48//System group support
49#ifndef MIB2_SYS_GROUP_SUPPORT
50 #define MIB2_SYS_GROUP_SUPPORT ENABLED
51#elif (MIB2_SYS_GROUP_SUPPORT != ENABLED && MIB2_SYS_GROUP_SUPPORT != DISABLED)
52 #error MIB2_SYS_GROUP_SUPPORT parameter is not valid
53#endif
54
55//Interface group support
56#ifndef MIB2_IF_GROUP_SUPPORT
57 #define MIB2_IF_GROUP_SUPPORT ENABLED
58#elif (MIB2_IF_GROUP_SUPPORT != ENABLED && MIB2_IF_GROUP_SUPPORT != DISABLED)
59 #error MIB2_IF_GROUP_SUPPORT parameter is not valid
60#endif
61
62//IP group support
63#ifndef MIB2_IP_GROUP_SUPPORT
64 #define MIB2_IP_GROUP_SUPPORT ENABLED
65#elif (MIB2_IP_GROUP_SUPPORT != ENABLED && MIB2_IP_GROUP_SUPPORT != DISABLED)
66 #error MIB2_IP_GROUP_SUPPORT parameter is not valid
67#endif
68
69//ICMP group support
70#ifndef MIB2_ICMP_GROUP_SUPPORT
71 #define MIB2_ICMP_GROUP_SUPPORT ENABLED
72#elif (MIB2_ICMP_GROUP_SUPPORT != ENABLED && MIB2_ICMP_GROUP_SUPPORT != DISABLED)
73 #errorMIB2_ICMP_GROUP_SUPPORT parameter is not valid
74#endif
75
76//TCP group support
77#ifndef MIB2_TCP_GROUP_SUPPORT
78 #define MIB2_TCP_GROUP_SUPPORT ENABLED
79#elif (MIB2_TCP_GROUP_SUPPORT != ENABLED && MIB2_TCP_GROUP_SUPPORT != DISABLED)
80 #error MIB2_TCP_GROUP_SUPPORT parameter is not valid
81#endif
82
83//UDP group support
84#ifndef MIB2_UDP_GROUP_SUPPORT
85 #define MIB2_UDP_GROUP_SUPPORT ENABLED
86#elif (MIB2_UDP_GROUP_SUPPORT != ENABLED && MIB2_UDP_GROUP_SUPPORT != DISABLED)
87 #error MIB2_UDP_GROUP_SUPPORT parameter is not valid
88#endif
89
90//SNMP group support
91#ifndef MIB2_SNMP_GROUP_SUPPORT
92 #define MIB2_SNMP_GROUP_SUPPORT ENABLED
93#elif (MIB2_SNMP_GROUP_SUPPORT != ENABLED && MIB2_SNMP_GROUP_SUPPORT != DISABLED)
94 #error MIB2_SNMP_GROUP_SUPPORT parameter is not valid
95#endif
96
97//Size of sysDescr object
98#ifndef MIB2_SYS_DESCR_SIZE
99 #define MIB2_SYS_DESCR_SIZE 16
100#elif (MIB2_SYS_DESCR_SIZE < 0)
101 #error MIB2_SYS_DESCR_SIZE parameter is not valid
102#endif
103
104//Size of sysObjectID object
105#ifndef MIB2_SYS_OBJECT_ID_SIZE
106 #define MIB2_SYS_OBJECT_ID_SIZE 16
107#elif (MIB2_SYS_OBJECT_ID_SIZE < 0)
108 #error MIB2_SYS_OBJECT_ID_SIZE parameter is not valid
109#endif
110
111//Size of sysContact object
112#ifndef MIB2_SYS_CONTACT_SIZE
113 #define MIB2_SYS_CONTACT_SIZE 16
114#elif (MIB2_SYS_CONTACT_SIZE < 0)
115 #error MIB2_SYS_CONTACT_SIZE parameter is not valid
116#endif
117
118//Size of sysName object
119#ifndef MIB2_SYS_NAME_SIZE
120 #define MIB2_SYS_NAME_SIZE 16
121#elif (MIB2_SYS_NAME_SIZE < 0)
122 #error MIB2_SYS_NAME_SIZE parameter is not valid
123#endif
124
125//Size of sysLocation object
126#ifndef MIB2_SYS_LOCATION_SIZE
127 #define MIB2_SYS_LOCATION_SIZE 16
128#elif (MIB2_SYS_LOCATION_SIZE < 0)
129 #error MIB2_SYS_LOCATION_SIZE parameter is not valid
130#endif
131
132//Size of ifSpecific object
133#ifndef MIB2_IF_SPECIFIC_SIZE
134 #define MIB2_IF_SPECIFIC_SIZE 16
135#elif (MIB2_IF_SPECIFIC_SIZE < 1)
136 #error MIB2_IF_SPECIFIC_SIZE parameter is not valid
137#endif
138
139//Size of PhysAddress data type
140#ifndef MIB2_PHYS_ADDRESS_SIZE
141 #define MIB2_PHYS_ADDRESS_SIZE 6
142#elif (MIB2_PHYS_ADDRESS_SIZE < 6)
143 #error MIB2_PHYS_ADDRESS_SIZE parameter is not valid
144#endif
145
146//Size of IpAddress data type
147#ifndef MIB2_IP_ADDRESS_SIZE
148 #define MIB2_IP_ADDRESS_SIZE 4
149#elif (MIB2_IP_ADDRESS_SIZE != 4)
150 #error MIB2_IP_ADDRESS_SIZE parameter is not valid
151#endif
152
153//Macro definitions
154#if (MIB2_SUPPORT == ENABLED)
155 #define MIB2_SET_TIME_TICKS(name, value) mib2Base.name = value
156 #define MIB2_INC_COUNTER32(name, value) mib2Base.name += value
157#else
158 #define MIB2_SET_TIME_TICKS(name, value)
159 #define MIB2_INC_COUNTER32(name, value)
160#endif
161
162//C++ guard
163#ifdef __cplusplus
164extern "C" {
165#endif
166
167
168/**
169 * @brief System services
170 **/
171
172typedef enum
173{
180
181
182/**
183 * @brief Interface types
184 **/
185
186typedef enum
187{
205
206
207/**
208 * @brief The desired state of the interface
209 **/
210
211typedef enum
212{
217
218
219/**
220 * @brief The operational state of the interface
221 **/
222
223typedef enum
224{
229
230
231/**
232 * @brief IP forwarding state
233 **/
234
235typedef enum
236{
240
241
242/**
243 * @brief Type of mapping
244 **/
245
246typedef enum
247{
253
254
255/**
256 * @brief RTO calculation algorithm
257 **/
258
259typedef enum
260{
266
267
268/**
269 * @brief TCP connection states
270 **/
271
272typedef enum
273{
287
288
289/**
290 * @brief Enabled/disabled state of authentication failure traps
291 **/
292
293typedef enum
294{
298
299
300/**
301 * @brief System group
302 **/
303
304typedef struct
305{
306#if (MIB2_SYS_DESCR_SIZE > 0)
309#endif
310#if (MIB2_SYS_OBJECT_ID_SIZE > 0)
311 uint8_t sysObjectID[MIB2_SYS_OBJECT_ID_SIZE];
313#endif
314 uint32_t sysUpTime;
315#if (MIB2_SYS_CONTACT_SIZE > 0)
318#endif
319#if (MIB2_SYS_NAME_SIZE > 0)
322#endif
323#if (MIB2_SYS_LOCATION_SIZE > 0)
326#endif
327 int32_t sysServices;
329
330
331/**
332 * @brief Interfaces table entry
333 **/
334
335typedef struct
336{
337 uint32_t ifLastChange;
338 uint32_t ifInOctets;
341 uint32_t ifInDiscards;
342 uint32_t ifInErrors;
344 uint32_t ifOutOctets;
348 uint32_t ifOutErrors;
349 uint32_t ifOutQLen;
350 uint8_t ifSpecific[MIB2_IF_SPECIFIC_SIZE];
353
354
355/**
356 * @brief Interfaces group
357 **/
358
359typedef struct
360{
361 int32_t ifNumber;
364
365
366/**
367 * @brief IP group
368 **/
369
370typedef struct
371{
374 uint32_t ipInReceives;
379 uint32_t ipInDiscards;
380 uint32_t ipInDelivers;
385 uint32_t ipReasmReqds;
386 uint32_t ipReasmOKs;
387 uint32_t ipReasmFails;
388 uint32_t ipFragOKs;
389 uint32_t ipFragFails;
393
394
395/**
396 * @brief ICMP group
397 **/
398
399typedef struct
400{
401 uint32_t icmpInMsgs;
402 uint32_t icmpInErrors;
408 uint32_t icmpInEchos;
414 uint32_t icmpOutMsgs;
421 uint32_t icmpOutEchos;
428
429
430/**
431 * @brief TCP group
432 **/
433
434typedef struct
435{
437 int32_t tcpRtoMin;
438 int32_t tcpRtoMax;
439 int32_t tcpMaxConn;
444 uint32_t tcpInSegs;
445 uint32_t tcpOutSegs;
447 uint32_t tcpInErrs;
448 uint32_t tcpOutRsts;
450
451
452/**
453 * @brief UDP group
454 **/
455
456typedef struct
457{
459 uint32_t udpNoPorts;
460 uint32_t udpInErrors;
463
464
465/**
466 * @brief SNMP group
467 **/
468
469typedef struct
470{
471 uint32_t snmpInPkts;
472 uint32_t snmpOutPkts;
488 uint32_t snmpInTraps;
497 uint32_t snmpOutTraps;
500
501
502/**
503 * @brief MIB-II base
504 **/
505
506typedef struct
507{
510#if (IPV4_SUPPORT == ENABLED)
513#endif
514#if (TCP_SUPPORT == ENABLED)
516#endif
517#if (UDP_SUPPORT == ENABLED)
519#endif
521} Mib2Base;
522
523
524//MIB-II related constants
525extern Mib2Base mib2Base;
526extern const MibObject mib2Objects[];
527extern const MibModule mib2Module;
528
529//C++ guard
530#ifdef __cplusplus
531}
532#endif
533
534#endif
char char_t
Definition: compiler_port.h:43
IPv4 (Internet Protocol Version 4)
Mib2TcpRtoAlgorithm
RTO calculation algorithm.
Definition: mib2_module.h:260
@ MIB2_TCP_RTO_ALGORITHM_RSRE
Definition: mib2_module.h:263
@ MIB2_TCP_RTO_ALGORITHM_OTHER
Definition: mib2_module.h:261
@ MIB2_TCP_RTO_ALGORITHM_VANJ
Definition: mib2_module.h:264
@ MIB2_TCP_RTO_ALGORITHM_CONSTANT
Definition: mib2_module.h:262
#define MIB2_SYS_LOCATION_SIZE
Definition: mib2_module.h:127
#define MIB2_SYS_DESCR_SIZE
Definition: mib2_module.h:99
Mib2IfType
Interface types.
Definition: mib2_module.h:187
@ MIB2_IF_TYPE_ETHERNET_CSMACD
Definition: mib2_module.h:189
@ MIB2_IF_TYPE_PLC
Definition: mib2_module.h:201
@ MIB2_IF_TYPE_USB
Definition: mib2_module.h:200
@ MIB2_IF_TYPE_BRIDGE
Definition: mib2_module.h:202
@ MIB2_IF_TYPE_IEEE_802_11
Definition: mib2_module.h:196
@ MIB2_IF_TYPE_SLIP
Definition: mib2_module.h:193
@ MIB2_IF_TYPE_IEEE_802_15_4
Definition: mib2_module.h:203
@ MIB2_IF_TYPE_TUNNEL
Definition: mib2_module.h:198
@ MIB2_IF_TYPE_PROP_PTP_SERIAL
Definition: mib2_module.h:190
@ MIB2_IF_TYPE_PPP
Definition: mib2_module.h:191
@ MIB2_IF_TYPE_RS232
Definition: mib2_module.h:194
@ MIB2_IF_TYPE_SOFT_LOOPBACK
Definition: mib2_module.h:192
@ MIB2_IF_TYPE_OTHER
Definition: mib2_module.h:188
@ MIB2_IF_TYPE_L2_VLAN
Definition: mib2_module.h:199
@ MIB2_IF_TYPE_HDLC
Definition: mib2_module.h:197
@ MIB2_IF_TYPE_PARA
Definition: mib2_module.h:195
const MibObject mib2Objects[]
MIB-II objects.
Definition: mib2_module.c:65
Mib2Base mib2Base
MIB-II base.
Definition: mib2_module.c:58
const MibModule mib2Module
MIB-II module.
Definition: mib2_module.c:2205
Mib2IpNetToMediaType
Type of mapping.
Definition: mib2_module.h:247
@ MIB2_IP_NET_TO_MEDIA_TYPE_INVALID
Definition: mib2_module.h:249
@ MIB2_IP_NET_TO_MEDIA_TYPE_DYNAMIC
Definition: mib2_module.h:250
@ MIB2_IP_NET_TO_MEDIA_TYPE_STATIC
Definition: mib2_module.h:251
@ MIB2_IP_NET_TO_MEDIA_TYPE_OTHER
Definition: mib2_module.h:248
Mib2SysService
System services.
Definition: mib2_module.h:173
@ MIB2_SYS_SERVICE_DATALINK
Definition: mib2_module.h:175
@ MIB2_SYS_SERVICE_INTERNET
Definition: mib2_module.h:176
@ MIB2_SYS_SERVICE_END_TO_END
Definition: mib2_module.h:177
@ MIB2_SYS_SERVICE_PHYSICAL
Definition: mib2_module.h:174
@ MIB2_SYS_SERVICE_APPLICATIONS
Definition: mib2_module.h:178
Mib2IfAdminStatus
The desired state of the interface.
Definition: mib2_module.h:212
@ MIB2_IF_ADMIN_STATUS_UP
Definition: mib2_module.h:213
@ MIB2_IF_ADMIN_STATUS_TESTING
Definition: mib2_module.h:215
@ MIB2_IF_ADMIN_STATUS_DOWN
Definition: mib2_module.h:214
Mib2IpForwarding
IP forwarding state.
Definition: mib2_module.h:236
@ MIB2_IP_FORWARDING_DISABLED
Definition: mib2_module.h:238
@ MIB2_IP_FORWARDING_ENABLED
Definition: mib2_module.h:237
#define MIB2_SYS_CONTACT_SIZE
Definition: mib2_module.h:113
#define MIB2_SYS_OBJECT_ID_SIZE
Definition: mib2_module.h:106
Mib2EnableAuthenTraps
Enabled/disabled state of authentication failure traps.
Definition: mib2_module.h:294
@ MIB2_AUTHEN_TRAPS_ENABLED
Definition: mib2_module.h:295
@ MIB2_AUTHEN_TRAPS_DISABLED
Definition: mib2_module.h:296
Mib2TcpConnState
TCP connection states.
Definition: mib2_module.h:273
@ MIB2_TCP_CONN_STATE_SYN_RECEIVED
Definition: mib2_module.h:277
@ MIB2_TCP_CONN_STATE_FIN_WAIT_2
Definition: mib2_module.h:280
@ MIB2_TCP_CONN_STATE_CLOSED
Definition: mib2_module.h:274
@ MIB2_TCP_CONN_STATE_TIME_WAIT
Definition: mib2_module.h:284
@ MIB2_TCP_CONN_STATE_CLOSING
Definition: mib2_module.h:283
@ MIB2_TCP_CONN_STATE_SYN_SENT
Definition: mib2_module.h:276
@ MIB2_TCP_CONN_STATE_FIN_WAIT_1
Definition: mib2_module.h:279
@ MIB2_TCP_CONN_STATE_LISTEN
Definition: mib2_module.h:275
@ MIB2_TCP_CONN_STATE_DELETE_TCB
Definition: mib2_module.h:285
@ MIB2_TCP_CONN_STATE_LAST_ACK
Definition: mib2_module.h:282
@ MIB2_TCP_CONN_STATE_CLOSE_WAIT
Definition: mib2_module.h:281
@ MIB2_TCP_CONN_STATE_ESTABLISHED
Definition: mib2_module.h:278
Mib2IfOperStatus
The operational state of the interface.
Definition: mib2_module.h:224
@ MIB2_IF_OPER_STATUS_TESTING
Definition: mib2_module.h:227
@ MIB2_IF_OPER_STATUS_DOWN
Definition: mib2_module.h:226
@ MIB2_IF_OPER_STATUS_UP
Definition: mib2_module.h:225
#define MIB2_SYS_NAME_SIZE
Definition: mib2_module.h:120
#define MIB2_IF_SPECIFIC_SIZE
Definition: mib2_module.h:134
Common definitions for MIB modules.
#define MibObject
Definition: mib_common.h:46
TCP/IP stack core.
#define NET_INTERFACE_COUNT
Definition: net.h:113
MIB-II base.
Definition: mib2_module.h:507
Mib2IcmpGroup icmpGroup
Definition: mib2_module.h:512
Mib2TcpGroup tcpGroup
Definition: mib2_module.h:515
Mib2UdpGroup udpGroup
Definition: mib2_module.h:518
Mib2SnmpGroup snmpGroup
Definition: mib2_module.h:520
Mib2SysGroup sysGroup
Definition: mib2_module.h:508
Mib2IfGroup ifGroup
Definition: mib2_module.h:509
Mib2IpGroup ipGroup
Definition: mib2_module.h:511
ICMP group.
Definition: mib2_module.h:400
uint32_t icmpOutTimestampReps
Definition: mib2_module.h:424
uint32_t icmpOutTimestamps
Definition: mib2_module.h:423
uint32_t icmpInTimeExcds
Definition: mib2_module.h:404
uint32_t icmpOutEchoReps
Definition: mib2_module.h:422
uint32_t icmpInAddrMaskReps
Definition: mib2_module.h:413
uint32_t icmpOutEchos
Definition: mib2_module.h:421
uint32_t icmpInRedirects
Definition: mib2_module.h:407
uint32_t icmpOutTimeExcds
Definition: mib2_module.h:417
uint32_t icmpInEchoReps
Definition: mib2_module.h:409
uint32_t icmpOutRedirects
Definition: mib2_module.h:420
uint32_t icmpInEchos
Definition: mib2_module.h:408
uint32_t icmpOutAddrMasks
Definition: mib2_module.h:425
uint32_t icmpOutDestUnreachs
Definition: mib2_module.h:416
uint32_t icmpInTimestampReps
Definition: mib2_module.h:411
uint32_t icmpOutSrcQuenchs
Definition: mib2_module.h:419
uint32_t icmpInTimestamps
Definition: mib2_module.h:410
uint32_t icmpOutErrors
Definition: mib2_module.h:415
uint32_t icmpInAddrMasks
Definition: mib2_module.h:412
uint32_t icmpInMsgs
Definition: mib2_module.h:401
uint32_t icmpInDestUnreachs
Definition: mib2_module.h:403
uint32_t icmpInSrcQuenchs
Definition: mib2_module.h:406
uint32_t icmpInErrors
Definition: mib2_module.h:402
uint32_t icmpOutParmProbs
Definition: mib2_module.h:418
uint32_t icmpOutAddrMaskReps
Definition: mib2_module.h:426
uint32_t icmpOutMsgs
Definition: mib2_module.h:414
uint32_t icmpInParmProbs
Definition: mib2_module.h:405
Interfaces table entry.
Definition: mib2_module.h:336
uint32_t ifOutDiscards
Definition: mib2_module.h:347
uint32_t ifOutErrors
Definition: mib2_module.h:348
uint32_t ifLastChange
Definition: mib2_module.h:337
uint32_t ifOutOctets
Definition: mib2_module.h:344
uint32_t ifOutQLen
Definition: mib2_module.h:349
uint32_t ifOutUcastPkts
Definition: mib2_module.h:345
uint32_t ifOutNUcastPkts
Definition: mib2_module.h:346
uint32_t ifInUnknownProtos
Definition: mib2_module.h:343
size_t ifSpecificLen
Definition: mib2_module.h:351
uint32_t ifInErrors
Definition: mib2_module.h:342
uint32_t ifInUcastPkts
Definition: mib2_module.h:339
uint32_t ifInOctets
Definition: mib2_module.h:338
uint32_t ifInDiscards
Definition: mib2_module.h:341
uint32_t ifInNUcastPkts
Definition: mib2_module.h:340
Interfaces group.
Definition: mib2_module.h:360
int32_t ifNumber
Definition: mib2_module.h:361
IP group.
Definition: mib2_module.h:371
uint32_t ipForwDatagrams
Definition: mib2_module.h:377
int32_t ipForwarding
Definition: mib2_module.h:372
uint32_t ipInReceives
Definition: mib2_module.h:374
uint32_t ipInDiscards
Definition: mib2_module.h:379
int32_t ipDefaultTTL
Definition: mib2_module.h:373
uint32_t ipOutRequests
Definition: mib2_module.h:381
uint32_t ipReasmFails
Definition: mib2_module.h:387
uint32_t ipFragCreates
Definition: mib2_module.h:390
uint32_t ipInAddrErrors
Definition: mib2_module.h:376
uint32_t ipInUnknownProtos
Definition: mib2_module.h:378
uint32_t ipFragFails
Definition: mib2_module.h:389
int32_t ipReasmTimeout
Definition: mib2_module.h:384
uint32_t ipInHdrErrors
Definition: mib2_module.h:375
uint32_t ipFragOKs
Definition: mib2_module.h:388
uint32_t ipReasmReqds
Definition: mib2_module.h:385
uint32_t ipInDelivers
Definition: mib2_module.h:380
uint32_t ipRoutingDiscards
Definition: mib2_module.h:391
uint32_t ipOutDiscards
Definition: mib2_module.h:382
uint32_t ipReasmOKs
Definition: mib2_module.h:386
uint32_t ipOutNoRoutes
Definition: mib2_module.h:383
SNMP group.
Definition: mib2_module.h:470
uint32_t snmpInPkts
Definition: mib2_module.h:471
uint32_t snmpInTotalSetVars
Definition: mib2_module.h:483
uint32_t snmpInReadOnlys
Definition: mib2_module.h:480
uint32_t snmpOutGetRequests
Definition: mib2_module.h:493
uint32_t snmpInBadCommunityUses
Definition: mib2_module.h:475
uint32_t snmpInASNParseErrs
Definition: mib2_module.h:476
uint32_t snmpOutGenErrs
Definition: mib2_module.h:492
uint32_t snmpOutPkts
Definition: mib2_module.h:472
uint32_t snmpInNoSuchNames
Definition: mib2_module.h:478
uint32_t snmpInGetNexts
Definition: mib2_module.h:485
uint32_t snmpInBadVersions
Definition: mib2_module.h:473
uint32_t snmpInTooBigs
Definition: mib2_module.h:477
uint32_t snmpInTraps
Definition: mib2_module.h:488
uint32_t snmpOutSetRequests
Definition: mib2_module.h:495
uint32_t snmpInBadCommunityNames
Definition: mib2_module.h:474
uint32_t snmpInGenErrs
Definition: mib2_module.h:481
uint32_t snmpOutGetResponses
Definition: mib2_module.h:496
uint32_t snmpInBadValues
Definition: mib2_module.h:479
uint32_t snmpInGetRequests
Definition: mib2_module.h:484
uint32_t snmpOutBadValues
Definition: mib2_module.h:491
uint32_t snmpOutTooBigs
Definition: mib2_module.h:489
uint32_t snmpOutNoSuchNames
Definition: mib2_module.h:490
int32_t snmpEnableAuthenTraps
Definition: mib2_module.h:498
uint32_t snmpOutGetNexts
Definition: mib2_module.h:494
uint32_t snmpInSetRequests
Definition: mib2_module.h:486
uint32_t snmpOutTraps
Definition: mib2_module.h:497
uint32_t snmpInGetResponses
Definition: mib2_module.h:487
uint32_t snmpInTotalReqVars
Definition: mib2_module.h:482
System group.
Definition: mib2_module.h:305
size_t sysDescrLen
Definition: mib2_module.h:308
size_t sysNameLen
Definition: mib2_module.h:321
size_t sysContactLen
Definition: mib2_module.h:317
size_t sysLocationLen
Definition: mib2_module.h:325
uint32_t sysUpTime
Definition: mib2_module.h:314
int32_t sysServices
Definition: mib2_module.h:327
size_t sysObjectIDLen
Definition: mib2_module.h:312
TCP group.
Definition: mib2_module.h:435
uint32_t tcpEstabResets
Definition: mib2_module.h:443
uint32_t tcpOutRsts
Definition: mib2_module.h:448
uint32_t tcpActiveOpens
Definition: mib2_module.h:440
uint32_t tcpAttemptFails
Definition: mib2_module.h:442
uint32_t tcpOutSegs
Definition: mib2_module.h:445
uint32_t tcpRetransSegs
Definition: mib2_module.h:446
int32_t tcpMaxConn
Definition: mib2_module.h:439
int32_t tcpRtoMax
Definition: mib2_module.h:438
int32_t tcpRtoMin
Definition: mib2_module.h:437
uint32_t tcpInErrs
Definition: mib2_module.h:447
uint32_t tcpPassiveOpens
Definition: mib2_module.h:441
uint32_t tcpInSegs
Definition: mib2_module.h:444
int32_t tcpRtoAlgorithm
Definition: mib2_module.h:436
UDP group.
Definition: mib2_module.h:457
uint32_t udpNoPorts
Definition: mib2_module.h:459
uint32_t udpInDatagrams
Definition: mib2_module.h:458
uint32_t udpInErrors
Definition: mib2_module.h:460
uint32_t udpOutDatagrams
Definition: mib2_module.h:461
MIB module.
Definition: mib_common.h:288
TCP (Transmission Control Protocol)
UDP (User Datagram Protocol)