#include "core/net.h"
#include "mibs/mib_common.h"
#include "mibs/bridge_mib_module.h"
#include "mibs/bridge_mib_impl.h"
#include "mibs/bridge_mib_impl_base.h"
#include "core/crypto.h"
#include "encoding/asn1.h"
#include "encoding/oid.h"
#include "stp/stp.h"
#include "stp/stp_mgmt.h"
#include "rstp/rstp.h"
#include "rstp/rstp_mgmt.h"
#include "debug.h"
Go to the source code of this file.
Macros | |
#define | TRACE_LEVEL SNMP_TRACE_LEVEL |
Functions | |
error_t | bridgeMibGetDot1dBaseBridgeAddress (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get dot1dBaseBridgeAddress object value. More... | |
error_t | bridgeMibGetDot1dBaseNumPorts (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get dot1dBaseNumPorts object value. More... | |
error_t | bridgeMibGetDot1dBaseType (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get dot1dBaseType object value. More... | |
error_t | bridgeMibGetDot1dBasePortEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get dot1dBasePortEntry object value. More... | |
error_t | bridgeMibGetNextDot1dBasePortEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen) |
Get next dot1dBasePortEntry object. More... | |
Macro Definition Documentation
◆ TRACE_LEVEL
#define TRACE_LEVEL SNMP_TRACE_LEVEL |
Definition at line 32 of file bridge_mib_impl_base.c.
Function Documentation
◆ bridgeMibGetDot1dBaseBridgeAddress()
error_t bridgeMibGetDot1dBaseBridgeAddress | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get dot1dBaseBridgeAddress object value.
- Parameters
-
[in] object Pointer to the MIB object descriptor [in] oid Object identifier (object name and instance identifier) [in] oidLen Length of the OID, in bytes [out] value Object value [in,out] valueLen Length of the object value, in bytes
- Returns
- Error code
Definition at line 63 of file bridge_mib_impl_base.c.
◆ bridgeMibGetDot1dBaseNumPorts()
error_t bridgeMibGetDot1dBaseNumPorts | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get dot1dBaseNumPorts object value.
- Parameters
-
[in] object Pointer to the MIB object descriptor [in] oid Object identifier (object name and instance identifier) [in] oidLen Length of the OID, in bytes [out] value Object value [in,out] valueLen Length of the object value, in bytes
- Returns
- Error code
Definition at line 126 of file bridge_mib_impl_base.c.
◆ bridgeMibGetDot1dBasePortEntry()
error_t bridgeMibGetDot1dBasePortEntry | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get dot1dBasePortEntry object value.
- Parameters
-
[in] object Pointer to the MIB object descriptor [in] oid Object identifier (object name and instance identifier) [in] oidLen Length of the OID, in bytes [out] value Object value [in,out] valueLen Length of the object value, in bytes
- Returns
- Error code
Definition at line 202 of file bridge_mib_impl_base.c.
◆ bridgeMibGetDot1dBaseType()
error_t bridgeMibGetDot1dBaseType | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get dot1dBaseType object value.
- Parameters
-
[in] object Pointer to the MIB object descriptor [in] oid Object identifier (object name and instance identifier) [in] oidLen Length of the OID, in bytes [out] value Object value [in,out] valueLen Length of the object value, in bytes
- Returns
- Error code
Definition at line 181 of file bridge_mib_impl_base.c.
◆ bridgeMibGetNextDot1dBasePortEntry()
error_t bridgeMibGetNextDot1dBasePortEntry | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
uint8_t * | nextOid, | ||
size_t * | nextOidLen | ||
) |
Get next dot1dBasePortEntry object.
- Parameters
-
[in] object Pointer to the MIB object descriptor [in] oid Object identifier [in] oidLen Length of the OID, in bytes [out] nextOid OID of the next object in the MIB [out] nextOidLen Length of the next object identifier, in bytes
- Returns
- Error code
Definition at line 300 of file bridge_mib_impl_base.c.