bridge_mib_impl_base.c
OID (Object Identifier)
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.
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 bridgeMibGetNextDot1dBasePortEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next dot1dBasePortEntry object.
Definition: bridge_mib_impl_base.c:300
error_t rstpMgmtGetNumPorts(RstpBridgeContext *context, uint_t *value)
Get the number of ports.
Definition: rstp_mgmt.c:435
error_t stpMgmtGetNumPorts(StpBridgeContext *context, uint_t *value)
Get the number of ports.
Definition: stp_mgmt.c:356
RSTP (Rapid Spanning Tree Protocol)
General definitions for cryptographic algorithms.
error_t bridgeMibGetDot1dBaseType(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dBaseType object value.
Definition: bridge_mib_impl_base.c:181
error_t bridgeMibGetDot1dBaseNumPorts(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dBaseNumPorts object value.
Definition: bridge_mib_impl_base.c:126
error_t bridgeMibGetDot1dBaseBridgeAddress(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dBaseBridgeAddress object value.
Definition: bridge_mib_impl_base.c:63
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
error_t rstpMgmtGetBridgeAddr(RstpBridgeContext *context, MacAddr *value)
Get the MAC address assigned to the bridge.
Definition: rstp_mgmt.c:478
error_t stpMgmtGetBridgeAddr(StpBridgeContext *context, MacAddr *value)
Get the MAC address assigned to the bridge.
Definition: stp_mgmt.c:376
Common definitions for MIB modules.
error_t bridgeMibGetDot1dBasePortEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get dot1dBasePortEntry object value.
Definition: bridge_mib_impl_base.c:202
error_t mibEncodeIndex(uint8_t *oid, size_t maxOidLen, size_t *pos, uint_t index)
Encode instance identifier (index)
Definition: mib_common.c:47
TCP/IP stack core.
Bridge MIB module.
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)
Management of the STP bridge.
StpBridgeContext * stpBridgeContext
Definition: bridge_mib_module.h:147