bridge_mib_impl_base.c File Reference
#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]objectPointer to the MIB object descriptor
[in]oidObject identifier (object name and instance identifier)
[in]oidLenLength of the OID, in bytes
[out]valueObject value
[in,out]valueLenLength 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]objectPointer to the MIB object descriptor
[in]oidObject identifier (object name and instance identifier)
[in]oidLenLength of the OID, in bytes
[out]valueObject value
[in,out]valueLenLength 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]objectPointer to the MIB object descriptor
[in]oidObject identifier (object name and instance identifier)
[in]oidLenLength of the OID, in bytes
[out]valueObject value
[in,out]valueLenLength 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]objectPointer to the MIB object descriptor
[in]oidObject identifier (object name and instance identifier)
[in]oidLenLength of the OID, in bytes
[out]valueObject value
[in,out]valueLenLength 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]objectPointer to the MIB object descriptor
[in]oidObject identifier
[in]oidLenLength of the OID, in bytes
[out]nextOidOID of the next object in the MIB
[out]nextOidLenLength of the next object identifier, in bytes
Returns
Error code

Definition at line 300 of file bridge_mib_impl_base.c.