snmp_mib_module.h File Reference

SNMP MIB module. More...

#include "mibs/mib_common.h"
#include "snmp/snmp_agent.h"

Go to the source code of this file.

Data Structures

struct  SnmpMibSysGroup
 System group. More...
 
struct  SnmpMibSnmpGroup
 SNMP group. More...
 
struct  SnmpMibSetGroup
 Set group. More...
 
struct  SnmpMibBase
 SNMP MIB base. More...
 

Macros

#define SNMP_MIB_SUPPORT   DISABLED
 
#define SNMP_MIB_SYS_DESCR_SIZE   16
 
#define SNMP_MIB_SYS_OBJECT_ID_SIZE   16
 
#define SNMP_MIB_SYS_CONTACT_SIZE   16
 
#define SNMP_MIB_SYS_NAME_SIZE   16
 
#define SNMP_MIB_SYS_LOCATION_SIZE   16
 
#define SNMP_MIB_INC_COUNTER32(name, value)   snmpMibBase.name += value
 

Enumerations

enum  SnmpMibSysService {
  SNMP_MIB_SYS_SERVICE_PHYSICAL = 0x01, SNMP_MIB_SYS_SERVICE_DATALINK = 0x02, SNMP_MIB_SYS_SERVICE_INTERNET = 0x04, SNMP_MIB_SYS_SERVICE_END_TO_END = 0x08,
  SNMP_MIB_SYS_SERVICE_APPLICATIONS = 0x40
}
 System services. More...
 

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.

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

Definition in file snmp_mib_module.h.

Macro Definition Documentation

◆ SNMP_MIB_INC_COUNTER32

#define SNMP_MIB_INC_COUNTER32 (   name,
  value 
)    snmpMibBase.name += value

Definition at line 80 of file snmp_mib_module.h.

◆ SNMP_MIB_SUPPORT

#define SNMP_MIB_SUPPORT   DISABLED

Definition at line 38 of file snmp_mib_module.h.

◆ SNMP_MIB_SYS_CONTACT_SIZE

#define SNMP_MIB_SYS_CONTACT_SIZE   16

Definition at line 59 of file snmp_mib_module.h.

◆ SNMP_MIB_SYS_DESCR_SIZE

#define SNMP_MIB_SYS_DESCR_SIZE   16

Definition at line 45 of file snmp_mib_module.h.

◆ SNMP_MIB_SYS_LOCATION_SIZE

#define SNMP_MIB_SYS_LOCATION_SIZE   16

Definition at line 73 of file snmp_mib_module.h.

◆ SNMP_MIB_SYS_NAME_SIZE

#define SNMP_MIB_SYS_NAME_SIZE   16

Definition at line 66 of file snmp_mib_module.h.

◆ SNMP_MIB_SYS_OBJECT_ID_SIZE

#define SNMP_MIB_SYS_OBJECT_ID_SIZE   16

Definition at line 52 of file snmp_mib_module.h.

Enumeration Type Documentation

◆ SnmpMibSysService

System services.

Enumerator
SNMP_MIB_SYS_SERVICE_PHYSICAL 
SNMP_MIB_SYS_SERVICE_DATALINK 
SNMP_MIB_SYS_SERVICE_INTERNET 
SNMP_MIB_SYS_SERVICE_END_TO_END 
SNMP_MIB_SYS_SERVICE_APPLICATIONS 

Definition at line 95 of file snmp_mib_module.h.

Variable Documentation

◆ snmpMibBase

SnmpMibBase snmpMibBase

SNMP MIB base.

Definition at line 55 of file snmp_mib_module.c.

◆ snmpMibModule

const MibModule snmpMibModule

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.