mib2_module.c File Reference

MIB-II module. More...

#include "core/net.h"
#include "mibs/mib2_module.h"
#include "mibs/mib2_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

Mib2Base mib2Base
 MIB-II base. More...
 
const MibObject mib2Objects []
 MIB-II objects. More...
 
const MibModule mib2Module
 MIB-II module. More...
 

Detailed Description

MIB-II 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 second version of the Management Information Base (MIB-II) is used to manage TCP/IP-based hosts. Refer to the following RFCs for complete details:

  • RFC 1156: MIB for Network Management of TCP/IP-based internets
  • RFC 1213: MIB for Network Management of TCP/IP-based internets (version 2)
Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.0

Definition in file mib2_module.c.

Macro Definition Documentation

◆ TRACE_LEVEL

#define TRACE_LEVEL   SNMP_TRACE_LEVEL

Definition at line 37 of file mib2_module.c.

Variable Documentation

◆ mib2Base

Mib2Base mib2Base

MIB-II base.

Definition at line 56 of file mib2_module.c.

◆ mib2Module

const MibModule mib2Module
Initial value:
=
{
"RFC1213-MIB",
{43, 6, 1, 2, 1},
5,
NULL,
NULL,
NULL,
NULL
}
#define arraysize(a)
Definition: os_port.h:68
error_t mib2Init(void)
MIB-II module initialization.
Definition: mib2_impl.c:48
const MibObject mib2Objects[]
MIB-II objects.
Definition: mib2_module.c:63

MIB-II module.

Definition at line 2201 of file mib2_module.c.

◆ mib2Objects

const MibObject mib2Objects[]

MIB-II objects.

Definition at line 63 of file mib2_module.c.