#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_tp.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 | bridgeMibGetDot1dTpLearnedEntryDiscards (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) | 
| Get dot1dTpLearnedEntryDiscards object value.  More... | |
| 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.  More... | |
| error_t | bridgeMibGetDot1dTpAgingTime (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) | 
| Get dot1dTpAgingTime object value.  More... | |
| error_t | bridgeMibGetDot1dTpFdbEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) | 
| Get dot1dTpFdbEntry object value.  More... | |
| error_t | bridgeMibGetNextDot1dTpFdbEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen) | 
| Get next dot1dTpFdbEntry object.  More... | |
| error_t | bridgeMibGetDot1dTpPortEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) | 
| Get dot1dTpPortEntry object value.  More... | |
| error_t | bridgeMibGetNextDot1dTpPortEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen) | 
| Get next dot1dTpPortEntry object.  More... | |
Macro Definition Documentation
◆ TRACE_LEVEL
| #define TRACE_LEVEL SNMP_TRACE_LEVEL | 
Definition at line 32 of file bridge_mib_impl_tp.c.
Function Documentation
◆ bridgeMibGetDot1dTpAgingTime()
| error_t bridgeMibGetDot1dTpAgingTime | ( | const MibObject * | object, | 
| const uint8_t * | oid, | ||
| size_t | oidLen, | ||
| MibVariant * | value, | ||
| size_t * | valueLen | ||
| ) | 
Get dot1dTpAgingTime 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 150 of file bridge_mib_impl_tp.c.
◆ bridgeMibGetDot1dTpFdbEntry()
| error_t bridgeMibGetDot1dTpFdbEntry | ( | const MibObject * | object, | 
| const uint8_t * | oid, | ||
| size_t | oidLen, | ||
| MibVariant * | value, | ||
| size_t * | valueLen | ||
| ) | 
Get dot1dTpFdbEntry 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 209 of file bridge_mib_impl_tp.c.
◆ bridgeMibGetDot1dTpLearnedEntryDiscards()
| error_t bridgeMibGetDot1dTpLearnedEntryDiscards | ( | const MibObject * | object, | 
| const uint8_t * | oid, | ||
| size_t | oidLen, | ||
| MibVariant * | value, | ||
| size_t * | valueLen | ||
| ) | 
Get dot1dTpLearnedEntryDiscards 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_tp.c.
◆ bridgeMibGetDot1dTpPortEntry()
| error_t bridgeMibGetDot1dTpPortEntry | ( | const MibObject * | object, | 
| const uint8_t * | oid, | ||
| size_t | oidLen, | ||
| MibVariant * | value, | ||
| size_t * | valueLen | ||
| ) | 
Get dot1dTpPortEntry 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 425 of file bridge_mib_impl_tp.c.
◆ bridgeMibGetNextDot1dTpFdbEntry()
| error_t bridgeMibGetNextDot1dTpFdbEntry | ( | const MibObject * | object, | 
| const uint8_t * | oid, | ||
| size_t | oidLen, | ||
| uint8_t * | nextOid, | ||
| size_t * | nextOidLen | ||
| ) | 
Get next dot1dTpFdbEntry 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 322 of file bridge_mib_impl_tp.c.
◆ bridgeMibGetNextDot1dTpPortEntry()
| error_t bridgeMibGetNextDot1dTpPortEntry | ( | const MibObject * | object, | 
| const uint8_t * | oid, | ||
| size_t | oidLen, | ||
| uint8_t * | nextOid, | ||
| size_t * | nextOidLen | ||
| ) | 
Get next dot1dTpPortEntry 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 506 of file bridge_mib_impl_tp.c.
◆ bridgeMibSetDot1dTpAgingTime()
| 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.
- 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 [in] value Object value [in] valueLen Length of the object value, in bytes [in] commit This flag tells whether the changes shall be committed to the MIB base 
- Returns
- Error code
Definition at line 88 of file bridge_mib_impl_tp.c.
