31#ifndef _UDP_MIB_MODULE_H
32#define _UDP_MIB_MODULE_H
38#ifndef UDP_MIB_SUPPORT
39 #define UDP_MIB_SUPPORT DISABLED
40#elif (UDP_MIB_SUPPORT != ENABLED && UDP_MIB_SUPPORT != DISABLED)
41 #error UDP_MIB_SUPPORT parameter is not valid
45#if (UDP_MIB_SUPPORT == ENABLED)
46 #define UDP_MIB_INC_COUNTER32(name, value) udpMibBase.name += value
47 #define UDP_MIB_INC_COUNTER64(name, value) udpMibBase.name += value
49 #define UDP_MIB_INC_COUNTER32(name, value)
50 #define UDP_MIB_INC_COUNTER64(name, value)
65 uint32_t udpInDatagrams;
68 uint32_t udpOutDatagrams;
69 uint64_t udpHCInDatagrams;
70 uint64_t udpHCOutDatagrams;
76extern const MibObject udpMibObjects[];
Common definitions for MIB modules.
MIB module.
Definition mib_common.h:288
UDP MIB base.
Definition udp_mib_module.h:64