bridge_mib_impl_static.h File Reference
#include "mibs/mib_common.h"

Go to the source code of this file.

Functions

error_t bridgeMibSetDot1dStaticEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
 Set dot1dStaticEntry object value. More...
 
error_t bridgeMibGetDot1dStaticEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
 Get dot1dStaticEntry object value. More...
 
error_t bridgeMibGetNextDot1dStaticEntry (const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
 Get next dot1dStaticEntry object. More...
 

Function Documentation

◆ bridgeMibGetDot1dStaticEntry()

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

Get dot1dStaticEntry 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 276 of file bridge_mib_impl_static.c.

◆ bridgeMibGetNextDot1dStaticEntry()

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

Get next dot1dStaticEntry 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 441 of file bridge_mib_impl_static.c.

◆ bridgeMibSetDot1dStaticEntry()

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

Set dot1dStaticEntry 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 61 of file bridge_mib_impl_static.c.