#include <netinet/in.h>
#include <ucd-snmp/ucd-snmp-config.h>
#include <ucd-snmp/ucd-snmp-includes.h>
#include <ucd-snmp/ucd-snmp-agent-includes.h>
#include "RMGenericConfig.h"
#include <string.h>
#include <ucd-snmp/util_funcs.h>
#include "rmClient.h"
#include "utility.h"
Go to the source code of this file.
Defines | |
#define | GENERICCONFIGNEXTINDEX 1 |
#define | GENERICSUBSYSTEMID 5 |
#define | GENERICRESOURCEID 6 |
#define | GENERICSTATISTICID 7 |
#define | GENERICCONFIGMONITORTYPE 8 |
#define | GENERICSTATISTICTRANSFORM 9 |
#define | GENERICTHRESHOLDCONFIGINDEX 10 |
#define | GENERICWATERMARKCONFIGINDEX 11 |
#define | GENERICLEAKYBUCKETCONFIGINDEX 12 |
#define | GENERICCONFIGREFCOUNT 13 |
#define | GENERICCONFIGSTATUS 14 |
Functions | |
void | init_RMGenericConfig (void) |
unsigned char * | var_RMGenericConfig (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_GenericConfigTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
int | write_genericSubsystemID (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericResourceID (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericStatisticID (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericConfigMonitorType (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericStatisticTransform (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericThresholdConfigIndex (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericWatermarkConfigIndex (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericLeakyBucketConfigIndex (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_genericConfigStatus (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
Variables | |
oid | RMGenericConfig_variables_oid [] = { 1,3,6,1,4,1,343,2,15,1,2,2,1 } |
variable4 | RMGenericConfig_variables [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 90 of file RMGenericConfig.c. References RMGenericConfig_variables, and RMGenericConfig_variables_oid. Referenced by main. |
|
|
Definition at line 115 of file RMGenericConfig.c. References GENERICCONFIG, and getNewId. |
|
Definition at line 571 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_MONITORTYPE, getInteger32, header_writeGeneric, RMGenericConfig_variables_oid, and setInteger32. Referenced by var_GenericConfigTable. |
|
Definition at line 1003 of file RMGenericConfig.c. References ACTIVE, CREATEANDGO, CREATEANDWAIT, deleteEntry, DESTROY, GENERICCONFIG, GENERICCONFIG_STATUS, getInteger32, header_writeGeneric, newEntry, NOTINSERVICE, NOTREADY, RMGenericConfig_variables_oid, and setInteger32. Referenced by var_GenericConfigTable. |
|
Definition at line 915 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_LEAKYBUCKETID, getUnsigned, header_writeGeneric, RMGenericConfig_variables_oid, and setUnsigned. Referenced by var_GenericConfigTable. |
|
Definition at line 393 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_RESOURCEID, getUnsigned, header_writeGeneric, RMGenericConfig_variables_oid, and setUnsigned. Referenced by var_GenericConfigTable. |
|
Definition at line 481 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_STATISTICID, getUnsigned, header_writeGeneric, RMGenericConfig_variables_oid, and setUnsigned. Referenced by var_GenericConfigTable. |
|
Definition at line 656 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_STATISTICTRANSFORM, getInteger32, header_writeGeneric, RMGenericConfig_variables_oid, and setInteger32. Referenced by var_GenericConfigTable. |
|
Definition at line 307 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_SUBSYSTEMID, getUnsigned, header_writeGeneric, RMGenericConfig_variables_oid, and setUnsigned. Referenced by var_GenericConfigTable. |
|
Definition at line 740 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_THRESHOLDID, getUnsigned, header_writeGeneric, RMGenericConfig_variables_oid, and setUnsigned. Referenced by var_GenericConfigTable. |
|
Definition at line 827 of file RMGenericConfig.c. References GENERICCONFIG, GENERICCONFIG_WATERMARKID, getUnsigned, header_writeGeneric, RMGenericConfig_variables_oid, and setUnsigned. Referenced by var_GenericConfigTable. |
|
Initial value: { #define GENERICCONFIGNEXTINDEX { GENERICCONFIGNEXTINDEX, ASN_UNSIGNED , RONLY , var_RMGenericConfig, 1, { 1 } }, #define GENERICSUBSYSTEMID { GENERICSUBSYSTEMID , ASN_UNSIGNED , RWRITE, var_GenericConfigTable, 3, { 2,1,2 } }, #define GENERICRESOURCEID { GENERICRESOURCEID , ASN_UNSIGNED , RWRITE, var_GenericConfigTable, 3, { 2,1,3 } }, #define GENERICSTATISTICID { GENERICSTATISTICID , ASN_UNSIGNED , RWRITE, var_GenericConfigTable, 3, { 2,1,4 } }, #define GENERICCONFIGMONITORTYPE { GENERICCONFIGMONITORTYPE, ASN_INTEGER , RWRITE, var_GenericConfigTable, 3, { 2,1,5 } }, #define GENERICSTATISTICTRANSFORM { GENERICSTATISTICTRANSFORM , ASN_INTEGER , RWRITE, var_GenericConfigTable, 3, { 2,1,6 } }, #define GENERICTHRESHOLDCONFIGINDEX { GENERICTHRESHOLDCONFIGINDEX, ASN_UNSIGNED , RWRITE, var_GenericConfigTable, 3, { 2,1,7 } }, #define GENERICWATERMARKCONFIGINDEX { GENERICWATERMARKCONFIGINDEX, ASN_UNSIGNED , RWRITE, var_GenericConfigTable, 3, { 2,1,8 } }, #define GENERICLEAKYBUCKETCONFIGINDEX { GENERICLEAKYBUCKETCONFIGINDEX, ASN_UNSIGNED , RWRITE, var_GenericConfigTable, 3, { 2,1,9 } }, #define GENERICCONFIGREFCOUNT { GENERICCONFIGREFCOUNT, ASN_INTEGER , RONLY , var_GenericConfigTable, 3, { 2,1,10 } }, #define GENERICCONFIGSTATUS { GENERICCONFIGSTATUS , ASN_INTEGER , RWRITE, var_GenericConfigTable, 3, { 2,1,11 } }, } Definition at line 56 of file RMGenericConfig.c. Referenced by init_RMGenericConfig. |
|