snmp_mib_module.c File Reference

SNMP MIB module. More...

#include "core/net.h"
#include "mibs/mib_common.h"
#include "mibs/snmp_mib_module.h"
#include "mibs/snmp_mib_impl.h"
#include "core/crypto.h"
#include "encoding/asn1.h"
#include "encoding/oid.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define TRACE_LEVEL   SNMP_TRACE_LEVEL
 

Variables

SnmpMibBase snmpMibBase
 SNMP MIB base. More...
 
const MibObject snmpMibObjects []
 SNMP MIB objects. More...
 
const MibModule snmpMibModule
 SNMP MIB module. More...
 

Detailed Description

SNMP MIB module.

License

Copyright (C) 2010-2018 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.

Description

The SNMP-MIB describes managed objects which describe the behavior of an SNMP entity. Refer to RFC 3418 for more details

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.0

Definition in file snmp_mib_module.c.

Macro Definition Documentation

◆ TRACE_LEVEL

#define TRACE_LEVEL   SNMP_TRACE_LEVEL

Definition at line 35 of file snmp_mib_module.c.

Variable Documentation

◆ snmpMibBase

SnmpMibBase snmpMibBase

SNMP MIB base.

Definition at line 55 of file snmp_mib_module.c.

◆ snmpMibModule

const MibModule snmpMibModule
Initial value:
=
{
"SNMPv2-MIB",
{43, 6, 1, 6, 3, 1},
6,
}
const MibObject snmpMibObjects[]
SNMP MIB objects.
#define arraysize(a)
Definition: os_port.h:68
error_t snmpMibInit(void)
SNMP MIB module initialization.
Definition: snmp_mib_impl.c:52
void snmpMibUnload(void *context)
Unload SNMP MIB module.
error_t snmpMibLoad(void *context)
Load SNMP MIB module.
void snmpMibUnlock(void)
Unlock SNMP MIB base.
void snmpMibLock(void)
Lock SNMP MIB base.

SNMP MIB module.

Definition at line 446 of file snmp_mib_module.c.

◆ snmpMibObjects

const MibObject snmpMibObjects[]

SNMP MIB objects.

Definition at line 62 of file snmp_mib_module.c.