snmp_usm_mib_module.h File Reference

SNMP USM MIB module. More...

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

Go to the source code of this file.

Data Structures

struct  SnmpUsmMibBase
 SNMP USM MIB base. More...
 

Macros

#define SNMP_USM_MIB_SUPPORT   DISABLED
 
#define SNMP_USM_MIB_SET_SUPPORT   DISABLED
 
#define SNMP_USM_MIB_INC_COUNTER32(name, value)   snmpUsmMibBase.name += value
 
#define SNMP_USM_MIB_GET_COUNTER32(value, name)   value = snmpUsmMibBase.name
 

Variables

SnmpUsmMibBase snmpUsmMibBase
 SNMP USM MIB base. More...
 
const MibObject snmpUsmMibObjects []
 SNMP USM MIB objects. More...
 
const MibModule snmpUsmMibModule
 SNMP USM MIB module. More...
 

Detailed Description

SNMP USM MIB module.

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.

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

Definition in file snmp_usm_mib_module.h.

Macro Definition Documentation

◆ SNMP_USM_MIB_GET_COUNTER32

#define SNMP_USM_MIB_GET_COUNTER32 (   value,
  name 
)    value = snmpUsmMibBase.name

Definition at line 55 of file snmp_usm_mib_module.h.

◆ SNMP_USM_MIB_INC_COUNTER32

#define SNMP_USM_MIB_INC_COUNTER32 (   name,
  value 
)    snmpUsmMibBase.name += value

Definition at line 54 of file snmp_usm_mib_module.h.

◆ SNMP_USM_MIB_SET_SUPPORT

#define SNMP_USM_MIB_SET_SUPPORT   DISABLED

Definition at line 47 of file snmp_usm_mib_module.h.

◆ SNMP_USM_MIB_SUPPORT

#define SNMP_USM_MIB_SUPPORT   DISABLED

Definition at line 40 of file snmp_usm_mib_module.h.

Variable Documentation

◆ snmpUsmMibBase

SnmpUsmMibBase snmpUsmMibBase
extern

SNMP USM MIB base.

Definition at line 58 of file snmp_usm_mib_module.c.

◆ snmpUsmMibModule

const MibModule snmpUsmMibModule
extern

SNMP USM MIB module.

Definition at line 344 of file snmp_usm_mib_module.c.

◆ snmpUsmMibObjects

const MibObject snmpUsmMibObjects[]
extern

SNMP USM MIB objects.

Definition at line 65 of file snmp_usm_mib_module.c.