Go to the documentation of this file.
31 #ifndef _IF_MIB_MODULE_H
32 #define _IF_MIB_MODULE_H
38 #ifndef IF_MIB_SUPPORT
39 #define IF_MIB_SUPPORT DISABLED
40 #elif (IF_MIB_SUPPORT != ENABLED && IF_MIB_SUPPORT != DISABLED)
41 #error IF_MIB_SUPPORT parameter is not valid
45 #if (IF_MIB_SUPPORT == ENABLED)
46 #define IF_MIB_SET_TIME_TICKS(name, value) ifMibBase.name = value
47 #define IF_MIB_INC_COUNTER32(name, value) ifMibBase.name += value
48 #define IF_MIB_INC_COUNTER64(name, value) ifMibBase.name += value
50 #define IF_MIB_SET_TIME_TICKS(name, value)
51 #define IF_MIB_INC_COUNTER32(name, value)
52 #define IF_MIB_INC_COUNTER64(name, value)
uint64_t ifHCInMulticastPkts
@ IF_MIB_IF_ADMIN_STATUS_DOWN
IfMibIfAdminStatus
The desired state of the interface.
IfMibIfType
Interface types.
const MibModule ifMibModule
Interfaces Group MIB module.
int32_t ifLinkUpDownTrapEnable
@ IF_MIB_IF_LINK_UP_DOWN_TRAP_ENABLED
@ IF_MIB_RCV_ADDRESS_TYPE_VOLATILE
#define NET_INTERFACE_COUNT
@ IF_MIB_IF_LINK_UP_DOWN_TRAP_DISABLED
int32_t ifPromiscuousMode
IfMibRcvAddressType
Address type.
uint32_t ifInUnknownProtos
Extension to the interface table.
@ IF_MIB_IF_TYPE_ETHERNET_CSMACD
uint32_t ifInMulticastPkts
uint64_t ifHCInBroadcastPkts
uint64_t ifHCOutMulticastPkts
uint32_t ifTableLastChange
@ IF_MIB_IF_TYPE_IEEE_802_11
uint64_t ifHCOutUcastPkts
@ IF_MIB_IF_ADMIN_STATUS_TESTING
@ IF_MIB_RCV_ADDRESS_TYPE_NON_VOLATILE
@ IF_MIB_IF_OPER_STATUS_UP
int32_t ifConnectorPresent
uint32_t ifOutMulticastPkts
uint32_t ifStackLastChange
uint64_t ifHCOutBroadcastPkts
@ IF_MIB_IF_OPER_STATUS_DOWN
Common definitions for MIB modules.
@ IF_MIB_RCV_ADDRESS_TYPE_OTHER
IfMibIfLinkUpDownEnable
Enable linkUp/linkDown traps.
const MibObject ifMibObjects[]
Interfaces Group MIB objects.
@ IF_MIB_IF_TYPE_PROP_PTP_SERIAL
@ IF_MIB_IF_ADMIN_STATUS_UP
@ IF_MIB_IF_OPER_STATUS_TESTING
uint32_t ifInBroadcastPkts
@ IF_MIB_IF_TYPE_IEEE_802_15_4
uint32_t ifOutBroadcastPkts
Interfaces Group MIB base.
@ IF_MIB_IF_TYPE_SOFT_LOOPBACK
IfMibIfOperStatus
The operational state of the interface.
IfMibBase ifMibBase
Interfaces Group MIB base.