SNMP FRAMEWORK MIB module implementation. More...
#include "mibs/mib_common.h"
Go to the source code of this file.
Functions | |
error_t | snmpFrameworkMibInit (void) |
SNMP FRAMEWORK MIB module initialization. More... | |
error_t | snmpFrameworkMibLoad (void *context) |
Load SNMP FRAMEWORK MIB module. More... | |
void | snmpFrameworkMibUnload (void *context) |
Unload SNMP FRAMEWORK MIB module. More... | |
void | snmpFrameworkMibLock (void) |
Lock SNMP FRAMEWORK MIB base. More... | |
void | snmpFrameworkMibUnlock (void) |
Unlock SNMP FRAMEWORK MIB base. More... | |
error_t | snmpFrameworkMibGetSnmpEngineID (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get snmpEngineID object value. More... | |
error_t | snmpFrameworkMibGetSnmpEngineBoots (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get snmpEngineBoots object value. More... | |
error_t | snmpFrameworkMibGetSnmpEngineTime (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get snmpEngineTime object value. More... | |
error_t | snmpFrameworkMibGetSnmpEngineMaxMessageSize (const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen) |
Get snmpEngineMaxMessageSize object value. More... | |
Detailed Description
SNMP FRAMEWORK MIB module implementation.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
- 2.4.4
Definition in file snmp_framework_mib_impl.h.
Function Documentation
◆ snmpFrameworkMibGetSnmpEngineBoots()
error_t snmpFrameworkMibGetSnmpEngineBoots | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get snmpEngineBoots 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 157 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibGetSnmpEngineID()
error_t snmpFrameworkMibGetSnmpEngineID | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get snmpEngineID 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 122 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibGetSnmpEngineMaxMessageSize()
error_t snmpFrameworkMibGetSnmpEngineMaxMessageSize | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get snmpEngineMaxMessageSize 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 215 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibGetSnmpEngineTime()
error_t snmpFrameworkMibGetSnmpEngineTime | ( | const MibObject * | object, |
const uint8_t * | oid, | ||
size_t | oidLen, | ||
MibVariant * | value, | ||
size_t * | valueLen | ||
) |
Get snmpEngineTime 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 186 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibInit()
error_t snmpFrameworkMibInit | ( | void | ) |
SNMP FRAMEWORK MIB module initialization.
- Returns
- Error code
Definition at line 53 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibLoad()
error_t snmpFrameworkMibLoad | ( | void * | context | ) |
Load SNMP FRAMEWORK MIB module.
- Parameters
-
[in] context Pointer to the SNMP agent context
- Returns
- Error code
Definition at line 72 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibLock()
void snmpFrameworkMibLock | ( | void | ) |
Lock SNMP FRAMEWORK MIB base.
Definition at line 98 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibUnload()
void snmpFrameworkMibUnload | ( | void * | context | ) |
Unload SNMP FRAMEWORK MIB module.
- Parameters
-
[in] context Pointer to the SNMP agent context
Definition at line 87 of file snmp_framework_mib_impl.c.
◆ snmpFrameworkMibUnlock()
void snmpFrameworkMibUnlock | ( | void | ) |
Unlock SNMP FRAMEWORK MIB base.
Definition at line 107 of file snmp_framework_mib_impl.c.