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)
IfMibBase ifMibBase
Interfaces Group MIB base.
IfMibIfAdminStatus
The desired state of the interface.
@ IF_MIB_IF_ADMIN_STATUS_DOWN
@ IF_MIB_IF_ADMIN_STATUS_UP
@ IF_MIB_IF_ADMIN_STATUS_TESTING
IfMibIfLinkUpDownEnable
Enable linkUp/linkDown traps.
@ IF_MIB_IF_LINK_UP_DOWN_TRAP_DISABLED
@ IF_MIB_IF_LINK_UP_DOWN_TRAP_ENABLED
IfMibRcvAddressType
Address type.
@ IF_MIB_RCV_ADDRESS_TYPE_NON_VOLATILE
@ IF_MIB_RCV_ADDRESS_TYPE_VOLATILE
@ IF_MIB_RCV_ADDRESS_TYPE_OTHER
IfMibIfOperStatus
The operational state of the interface.
@ IF_MIB_IF_OPER_STATUS_DOWN
@ IF_MIB_IF_OPER_STATUS_UP
@ IF_MIB_IF_OPER_STATUS_TESTING
IfMibIfType
Interface types.
@ IF_MIB_IF_TYPE_ETHERNET_CSMACD
@ IF_MIB_IF_TYPE_SOFT_LOOPBACK
@ IF_MIB_IF_TYPE_IEEE_802_11
@ IF_MIB_IF_TYPE_IEEE_802_15_4
@ IF_MIB_IF_TYPE_PROP_PTP_SERIAL
const MibModule ifMibModule
Interfaces Group MIB module.
const MibObject ifMibObjects[]
Interfaces Group MIB objects.
Common definitions for MIB modules.
#define NET_INTERFACE_COUNT
Interfaces Group MIB base.
uint32_t ifTableLastChange
uint32_t ifStackLastChange
uint32_t ifInUnknownProtos
Extension to the interface table.
uint32_t ifInBroadcastPkts
uint32_t ifOutMulticastPkts
uint64_t ifHCOutBroadcastPkts
uint64_t ifHCInBroadcastPkts
uint32_t ifInMulticastPkts
int32_t ifPromiscuousMode
int32_t ifLinkUpDownTrapEnable
int32_t ifConnectorPresent
uint32_t ifOutBroadcastPkts
uint64_t ifHCOutMulticastPkts
uint64_t ifHCInMulticastPkts
uint64_t ifHCOutUcastPkts