bridge_mib_impl_stp.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_stp.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 bridgeMibGetDot1dStpProtocolSpecification (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpProtocolSpecification object value. More...
 
error_t bridgeMibSetDot1dStpPriority (const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpPriority object value. More...
 
error_t bridgeMibGetDot1dStpPriority (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpPriority object value. More...
 
error_t bridgeMibGetDot1dStpTimeSinceTopologyChange (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpTimeSinceTopologyChange object value. More...
 
error_t bridgeMibGetDot1dStpTopChanges (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpTopChanges object value. More...
 
error_t bridgeMibGetDot1dStpDesignatedRoot (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpDesignatedRoot object value. More...
 
error_t bridgeMibGetDot1dStpRootCost (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpRootCost object value. More...
 
error_t bridgeMibGetDot1dStpRootPort (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpRootPort object value. More...
 
error_t bridgeMibGetDot1dStpMaxAge (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpMaxAge object value. More...
 
error_t bridgeMibGetDot1dStpHelloTime (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpHelloTime object value. More...
 
error_t bridgeMibGetDot1dStpHoldTime (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpHoldTime object value. More...
 
error_t bridgeMibGetDot1dStpForwardDelay (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpForwardDelay object value. More...
 
error_t bridgeMibSetDot1dStpBridgeMaxAge (const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpBridgeMaxAge object value. More...
 
error_t bridgeMibGetDot1dStpBridgeMaxAge (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpBridgeMaxAge object value. More...
 
error_t bridgeMibSetDot1dStpBridgeHelloTime (const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpBridgeHelloTime object value. More...
 
error_t bridgeMibGetDot1dStpBridgeHelloTime (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpBridgeHelloTime object value. More...
 
error_t bridgeMibSetDot1dStpBridgeForwardDelay (const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpBridgeForwardDelay object value. More...
 
error_t bridgeMibGetDot1dStpBridgeForwardDelay (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpBridgeForwardDelay object value. More...
 
error_t bridgeMibSetDot1dStpPortEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpPortEntry object value. More...
 
error_t bridgeMibGetDot1dStpPortEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortEntry object value. More...
 
error_t bridgeMibGetNextDot1dStpPortEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
 Get next dot1dStpPortEntry object. More...
 
error_t bridgeMibSetDot1dStpPortPriority (uint16_t portNum, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpPortPriority object value. More...
 
error_t bridgeMibGetDot1dStpPortPriority (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortPriority object value. More...
 
error_t bridgeMibGetDot1dStpPortState (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortState object value. More...
 
error_t bridgeMibSetDot1dStpPortEnable (uint16_t portNum, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpPortEnable object value. More...
 
error_t bridgeMibGetDot1dStpPortEnable (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortEnable object value. More...
 
error_t bridgeMibSetDot1dStpPortPathCost (uint16_t portNum, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpPortPathCost object value. More...
 
error_t bridgeMibGetDot1dStpPortPathCost (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortPathCost object value. More...
 
error_t bridgeMibGetDot1dStpPortDesignatedRoot (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortDesignatedRoot object value. More...
 
error_t bridgeMibGetDot1dStpPortDesignatedCost (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortDesignatedCost object value. More...
 
error_t bridgeMibGetDot1dStpPortDesignatedBridge (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortDesignatedBridge object value. More...
 
error_t bridgeMibGetDot1dStpPortDesignatedPort (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortDesignatedPort object value. More...
 
error_t bridgeMibGetDot1dStpPortForwardTransitions (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortForwardTransitions object value. More...
 
error_t bridgeMibSetDot1dStpPortPathCost32 (uint16_t portNum, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStpPortPathCost32 object value. More...
 
error_t bridgeMibGetDot1dStpPortPathCost32 (uint16_t portNum, MibVariant *value, size_t *valueLen)
 Get dot1dStpPortPathCost32 object value. More...
 

Macro Definition Documentation

◆ TRACE_LEVEL

#define TRACE_LEVEL   SNMP_TRACE_LEVEL

Definition at line 32 of file bridge_mib_impl_stp.c.

Function Documentation

◆ bridgeMibGetDot1dStpBridgeForwardDelay()

error_t bridgeMibGetDot1dStpBridgeForwardDelay ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpBridgeForwardDelay 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 1076 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpBridgeHelloTime()

error_t bridgeMibGetDot1dStpBridgeHelloTime ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpBridgeHelloTime 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 952 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpBridgeMaxAge()

error_t bridgeMibGetDot1dStpBridgeMaxAge ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpBridgeMaxAge 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 828 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpDesignatedRoot()

error_t bridgeMibGetDot1dStpDesignatedRoot ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpDesignatedRoot 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 326 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpForwardDelay()

error_t bridgeMibGetDot1dStpForwardDelay ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpForwardDelay 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 700 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpHelloTime()

error_t bridgeMibGetDot1dStpHelloTime ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpHelloTime 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 565 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpHoldTime()

error_t bridgeMibGetDot1dStpHoldTime ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpHoldTime 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 624 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpMaxAge()

error_t bridgeMibGetDot1dStpMaxAge ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpMaxAge 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 508 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortDesignatedBridge()

error_t bridgeMibGetDot1dStpPortDesignatedBridge ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortDesignatedBridge object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 2008 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortDesignatedCost()

error_t bridgeMibGetDot1dStpPortDesignatedCost ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortDesignatedCost object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 1951 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortDesignatedPort()

error_t bridgeMibGetDot1dStpPortDesignatedPort ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortDesignatedPort object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 2074 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortDesignatedRoot()

error_t bridgeMibGetDot1dStpPortDesignatedRoot ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortDesignatedRoot object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 1883 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortEnable()

error_t bridgeMibGetDot1dStpPortEnable ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortEnable object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 1706 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortEntry()

error_t bridgeMibGetDot1dStpPortEntry ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortEntry 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 1224 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortForwardTransitions()

error_t bridgeMibGetDot1dStpPortForwardTransitions ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortForwardTransitions object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 2137 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortPathCost()

error_t bridgeMibGetDot1dStpPortPathCost ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortPathCost object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 1825 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortPathCost32()

error_t bridgeMibGetDot1dStpPortPathCost32 ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortPathCost32 object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 2251 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortPriority()

error_t bridgeMibGetDot1dStpPortPriority ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortPriority object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 1493 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPortState()

error_t bridgeMibGetDot1dStpPortState ( uint16_t  portNum,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPortState object value.

Parameters
[in]portNumPort number
[out]valueObject value
[in,out]valueLenLength of the object value, in bytes
Returns
Error code

Definition at line 1550 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpPriority()

error_t bridgeMibGetDot1dStpPriority ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpPriority 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 149 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpProtocolSpecification()

error_t bridgeMibGetDot1dStpProtocolSpecification ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpProtocolSpecification 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_stp.c.

◆ bridgeMibGetDot1dStpRootCost()

error_t bridgeMibGetDot1dStpRootCost ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpRootCost 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 392 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpRootPort()

error_t bridgeMibGetDot1dStpRootPort ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpRootPort 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 449 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpTimeSinceTopologyChange()

error_t bridgeMibGetDot1dStpTimeSinceTopologyChange ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpTimeSinceTopologyChange 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 208 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetDot1dStpTopChanges()

error_t bridgeMibGetDot1dStpTopChanges ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
MibVariant value,
size_t *  valueLen 
)

Get dot1dStpTopChanges 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 267 of file bridge_mib_impl_stp.c.

◆ bridgeMibGetNextDot1dStpPortEntry()

error_t bridgeMibGetNextDot1dStpPortEntry ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
uint8_t *  nextOid,
size_t *  nextOidLen 
)

Get next dot1dStpPortEntry 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 1356 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpBridgeForwardDelay()

error_t bridgeMibSetDot1dStpBridgeForwardDelay ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpBridgeForwardDelay 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
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 1013 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpBridgeHelloTime()

error_t bridgeMibSetDot1dStpBridgeHelloTime ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpBridgeHelloTime 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
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 889 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpBridgeMaxAge()

error_t bridgeMibSetDot1dStpBridgeMaxAge ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpBridgeMaxAge 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
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 765 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpPortEnable()

error_t bridgeMibSetDot1dStpPortEnable ( uint16_t  portNum,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpPortEnable object value.

Parameters
[in]portNumPort number
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 1632 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpPortEntry()

error_t bridgeMibSetDot1dStpPortEntry ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpPortEntry 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
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 1137 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpPortPathCost()

error_t bridgeMibSetDot1dStpPortPathCost ( uint16_t  portNum,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpPortPathCost object value.

Parameters
[in]portNumPort number
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 1770 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpPortPathCost32()

error_t bridgeMibSetDot1dStpPortPathCost32 ( uint16_t  portNum,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpPortPathCost32 object value.

Parameters
[in]portNumPort number
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 2196 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpPortPriority()

error_t bridgeMibSetDot1dStpPortPriority ( uint16_t  portNum,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpPortPriority object value.

Parameters
[in]portNumPort number
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 1438 of file bridge_mib_impl_stp.c.

◆ bridgeMibSetDot1dStpPriority()

error_t bridgeMibSetDot1dStpPriority ( const MibObject object,
const uint8_t *  oid,
size_t  oidLen,
const MibVariant value,
size_t  valueLen,
bool_t  commit 
)

Set dot1dStpPriority 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
[in]valueObject value
[in]valueLenLength of the object value, in bytes
[in]commitThis flag tells whether the changes shall be committed to the MIB base
Returns
Error code

Definition at line 87 of file bridge_mib_impl_stp.c.