bridge_mib_impl_tp.c
error_t mibEncodeMacAddr(uint8_t *oid, size_t maxOidLen, size_t *pos, const MacAddr *macAddr)
Encode instance identifier (MAC address)
Definition: mib_common.c:528
OID (Object Identifier)
error_t bridgeMibGetDot1dTpAgingTime(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dTpAgingTime object value.
Definition: bridge_mib_impl_tp.c:150
Bridge MIB module implementation.
error_t mibDecodePort(const uint8_t *oid, size_t oidLen, size_t *pos, uint16_t *port)
Decode instance identifier (port number)
Definition: mib_common.c:495
int_t oidComp(const uint8_t *oid1, size_t oidLen1, const uint8_t *oid2, size_t oidLen2)
Compare object identifiers.
Definition: oid.c:103
Management of the RSTP bridge.
error_t bridgeMibGetDot1dTpLearnedEntryDiscards(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dTpLearnedEntryDiscards object value.
Definition: bridge_mib_impl_tp.c:63
STP (Spanning Tree Protocol)
uint_t bridgeMibGetPortIndex(uint16_t portNum)
Get the port index that matches the specified port number.
Definition: bridge_mib_impl.c:181
error_t bridgeMibGetDot1dTpFdbEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dTpFdbEntry object value.
Definition: bridge_mib_impl_tp.c:209
error_t stpMgmtGetAgeingTime(StpBridgeContext *context, uint_t *value)
Get the assigned value of the Ageing Time parameter.
Definition: stp_mgmt.c:502
RSTP (Rapid Spanning Tree Protocol)
error_t rstpMgmtSetAgeingTime(RstpBridgeContext *context, uint_t value, bool_t commit)
Set Ageing Time parameter.
Definition: rstp_mgmt.c:391
General definitions for cryptographic algorithms.
int_t mibCompMacAddr(const MacAddr *macAddr1, const MacAddr *macAddr2)
Compare MAC addresses.
Definition: mib_common.c:954
uint16_t bridgeMibGetPortNum(uint16_t portIndex)
Get the port number that matches the specified port index.
Definition: bridge_mib_impl.c:240
RstpBridgeContext * rstpBridgeContext
Definition: bridge_mib_module.h:150
Common definitions for MIB modules.
error_t mibDecodeMacAddr(const uint8_t *oid, size_t oidLen, size_t *pos, MacAddr *macAddr)
Decode instance identifier (MAC address)
Definition: mib_common.c:558
error_t bridgeMibGetDot1dTpPortEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dTpPortEntry object value.
Definition: bridge_mib_impl_tp.c:425
error_t bridgeMibGetNextDot1dTpFdbEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next dot1dTpFdbEntry object.
Definition: bridge_mib_impl_tp.c:322
error_t mibEncodeIndex(uint8_t *oid, size_t maxOidLen, size_t *pos, uint_t index)
Encode instance identifier (index)
Definition: mib_common.c:47
error_t stpMgmtSetAgeingTime(StpBridgeContext *context, uint_t value, bool_t commit)
Set Ageing Time parameter.
Definition: stp_mgmt.c:314
TCP/IP stack core.
error_t bridgeMibSetDot1dTpAgingTime(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set dot1dTpAgingTime object value.
Definition: bridge_mib_impl_tp.c:88
Bridge MIB module.
error_t bridgeMibGetNextDot1dTpPortEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next dot1dTpPortEntry object.
Definition: bridge_mib_impl_tp.c:506
error_t rstpMgmtGetAgeingTime(RstpBridgeContext *context, uint_t *value)
Get the assigned value of the Ageing Time parameter.
Definition: rstp_mgmt.c:604
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)
Management of the STP bridge.
StpBridgeContext * stpBridgeContext
Definition: bridge_mib_module.h:147