original files of m241
This commit is contained in:
@@ -0,0 +1,130 @@
|
||||
/* $Header: /usr/cvsroot/target/h/wrn/wm/snmp/vxagent/axCfg.h,v 1.9 2002/06/13 16:03:10 tneale Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2010 Wind River Systems, Inc.
|
||||
* All rights reserved. Provided under license only.
|
||||
* Distribution or other use of this software is only
|
||||
* permitted pursuant to the terms of a license agreement
|
||||
* from Wind River Systems (and is otherwise prohibited).
|
||||
* Refer to that license agreement for terms of use.
|
||||
*/
|
||||
|
||||
/****************************************************************************
|
||||
* Copyright 1994-1997 Epilogue Technology Corporation.
|
||||
* Copyright 1998 Integrated Systems, Inc.
|
||||
* All rights reserved.
|
||||
****************************************************************************/
|
||||
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01e,10jun10,y_t update for LP64
|
||||
01d,19apr05,job update copyright notices
|
||||
01c,25nov03,ps copyright update
|
||||
01b,05dec2000,ten Added prototypes for subagent routines.
|
||||
01a,03oct2000,josh written.
|
||||
*/
|
||||
|
||||
#ifndef __INCaxCfgh
|
||||
#define __INCaxCfgh
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sockLib.h>
|
||||
#include <ioLib.h>
|
||||
#include <wrn/wm/snmp/engine/snmpdefs.h>
|
||||
#include <wrn/wm/snmp/engine/buffer.h>
|
||||
#include <wrn/wm/snmp/engine/agentx.h>
|
||||
#include <inetLib.h>
|
||||
|
||||
#if INSTALL_ENVOY_AGENTX_MASTER
|
||||
|
||||
/* defines */
|
||||
|
||||
#if ((CPU_FAMILY==I960) && (defined __GNUC__))
|
||||
#pragma align 1 /* tell gcc960 not to optimize alignments */
|
||||
#endif /* CPU_FAMILY==I960 */
|
||||
|
||||
typedef struct AX_CONN_S
|
||||
{
|
||||
int sockNum; /* Socket being used */
|
||||
int refCount; /* Number of handlers touching this block */
|
||||
ENVOY_AX_CHUNK_T chunk; /* AgentX chunk for collecting a PDU */
|
||||
bits32_t connectID; /* Connection ID */
|
||||
bits32_t createTime; /* Socket creation time */
|
||||
struct AX_CONN_S *next; /* Next block */
|
||||
} AX_CONN_T;
|
||||
|
||||
#if ((CPU_FAMILY==I960) && (defined __GNUC__))
|
||||
#pragma align 0 /* turn off alignment requirement */
|
||||
#endif /* CPU_FAMILY==I960 */
|
||||
|
||||
/* Externs */
|
||||
|
||||
extern STATUS axMasterIoInit (void);
|
||||
extern void snmpAxMonitorSpawn (void);
|
||||
extern void masterAxCleanup (void);
|
||||
extern bits32_t envoyGetSysUpTime (EBUFFER_T *);
|
||||
|
||||
/*
|
||||
* Use the following statement to turn off AgentX master code in the
|
||||
* VxWorks agent when the SNMP library was built with AgentX master
|
||||
* installed. This should only be used when dynamic configuration
|
||||
* (using the Tornado project facility) is disabled. To turn off
|
||||
* AgentX master support set the following to "0"
|
||||
*/
|
||||
#define INSTALL_AXMASTER 1
|
||||
|
||||
#else
|
||||
|
||||
#define INSTALL_AXMASTER 0
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#if INSTALL_ENVOY_AGENTX_SUB
|
||||
|
||||
/* defines */
|
||||
|
||||
/* This is the address the subagent will use to communicate with an AgentX master */
|
||||
/* The default address is equivalent to INADDR_ANY and can be used when master */
|
||||
/* and subagent are are on the same target */
|
||||
#define WMSNMP_AXMAST_IP_ADDRESS "0.0.0.0"
|
||||
|
||||
/* This is the OID subtree the subagent will register at boot-up */
|
||||
/* Remember to terminate the component list with a zero. This zero is not */
|
||||
/* included in the component count */
|
||||
#define WMSNMP_AXSUB_REGOID_LIST {1, 3, 6, 1, 4, 1, 0}
|
||||
#define WMSNMP_AXSUB_REGOID_LEN 6
|
||||
|
||||
/* Externs */
|
||||
|
||||
extern int envoy_ax_sa_mib_root_node (ptr_t cookie, SNMP_PKT_T *pktp);
|
||||
extern STATUS axSubagentIoInit ( void );
|
||||
extern void snmpAxSubagentSpawn (void);
|
||||
extern void subagentAxCleanup (void);
|
||||
extern void snmpCleanAgentXSubagent(void);
|
||||
|
||||
/*
|
||||
* Use the following statement to turn off AgentX subagent code in the
|
||||
* VxWorks agent when the SNMP library was built with AgentX subagent
|
||||
* installed. This should only be used when dynamic configuration
|
||||
* (using the Tornado project facility) is disabled. To turn off
|
||||
* AgentX subagent support set the following to "0"
|
||||
*/
|
||||
#define INSTALL_AXSUB 1
|
||||
|
||||
#else
|
||||
|
||||
#define INSTALL_AXSUB 0
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCipcLibh */
|
||||
@@ -0,0 +1,148 @@
|
||||
/******************************************************************************
|
||||
******************************************************************************
|
||||
**** This file was automatically generated by Wind River's
|
||||
**** MIB Compiler, version 10.2.
|
||||
**** This file was generated using the -skel.h switch.
|
||||
****
|
||||
**** This file contains declarations of stub functions to aid in building
|
||||
**** the agent MIB interface. It declares all the MIB get, set, test and
|
||||
**** next method routines that you will need to supply. You'll probably
|
||||
**** want to FORCE-INCLUDE this file when using the -mib.c output mode.
|
||||
****
|
||||
**** To generate the skeletal stub functions themselves, run the MIB compiler
|
||||
**** with the -skel switch.
|
||||
****
|
||||
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
|
||||
**** BY REGENERATING IT WITH THE MIB COMPILER.
|
||||
****
|
||||
**** Last build date: Fri Jan 08 15:21:03 2010
|
||||
**** from files:
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2571.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2575.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2572.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2573.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2574.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2576.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2786.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/iftype.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2233.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2742.mib,
|
||||
**** snmpmib2.mib, rfc2233.ctl,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/demo/snmpctls/v3mib.ctl,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/demo/snmpctls/ax2742.ctl
|
||||
******************************************************************************
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
void systemGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void systemSet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void systemTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void interfacesGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ifEntryGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ifEntryNext(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ifEntrySet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ifEntryTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipSet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipAddrEntryGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipAddrEntryNext(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipRouteEntryGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipRouteEntrySet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipRouteEntryTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipRouteEntryNext(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipNetToMediaEntryGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipNetToMediaEntrySet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipNetToMediaEntryTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ipNetToMediaEntryNext(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void icmpGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void tcpGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void tcpConnEntryGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void tcpConnEntrySet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void tcpConnEntryTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void tcpConnEntryNext(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void udpGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void udpEntryGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void udpEntryNext(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpSet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ifXEntryGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void ifXEntryNext(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxGeneral_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxGeneral_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxConnection_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxConnection_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void null_next_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxConnectionEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxConnectionEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxSession_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxSession_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxSessionEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxSessionEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxSessionEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxSessionEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxRegistration_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxRegistration_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxRegistrationEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void agentxRegistrationEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usmDHPublicObjects_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usmDHPublicObjects_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usmDHPublicObjects_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usmDHPublicObjects_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usertable_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usertable_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usertable_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void usertable_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void get_snmpEngineID(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void get_snmpEngineBoots(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void get_snmpEngineTime(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void get_int_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void get_uint_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void get_TestAndIncr_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void set_TestAndIncr_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void test_TestAndIncr_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetAddrEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetAddrEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetAddrEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetAddrEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetParamsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetParamsEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetParamsEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpTargetParamsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterProfileEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterProfileEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterProfileEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterProfileEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpNotifyFilterEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpProxyEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpProxyEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpProxyEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpProxyEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void contexttable_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void contexttable_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void grouptable_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void grouptable_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void grouptable_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void grouptable_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void accesstable_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void accesstable_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void accesstable_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void accesstable_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void viewtable_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void viewtable_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void viewtable_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void viewtable_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpCommunityEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpCommunityEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpCommunityEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
void snmpCommunityEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
|
||||
@@ -0,0 +1,876 @@
|
||||
/******************************************************************************
|
||||
******************************************************************************
|
||||
**** This file was automatically generated by Wind River's
|
||||
**** MIB Compiler, version 10.2.
|
||||
**** This file was generated using the -leaf switch.
|
||||
****
|
||||
**** This file #defines C preprocessor macros providing a variety of
|
||||
**** information for the leaf objects in the MIB.
|
||||
****
|
||||
**** The file includes a LEAF_xxx macro for each leaf object in the
|
||||
**** MIB (xxx is replaced by the object's name). The value of the
|
||||
**** LEAF_xxx macro is the final component of the object's object
|
||||
**** identifier.
|
||||
****
|
||||
**** If the object's SYNTAX clause included named INTEGER values,
|
||||
**** then there is a VAL_xxx_yyy macro for each named value (xxx is
|
||||
**** replaced by the object's name and yyy by the value's name). The
|
||||
**** value of the VAL_xxx_yyy macro is the value associated with the
|
||||
**** named value.
|
||||
****
|
||||
**** If the object's SYNTAX clause specified a set of range limitations
|
||||
**** for the value of the object, then there are one or more sets of
|
||||
**** MIN_xxx and MAX_xxx macros specifying the lower and upper bound of
|
||||
**** each range limitation.
|
||||
****
|
||||
**** If the object's SYNTAX clause specified a set of size constraints
|
||||
**** for the value of the object, then there are one or more sets of
|
||||
**** MINSIZE_xxx and MAXSIZE_xxx macros specifying the lower and upper
|
||||
**** bound of each size constraint. (If the size constraint is a single
|
||||
**** value rather than a range then the MINSIZE_xxx and MAXSIZE_xxx
|
||||
**** macros are replaced by a single SIZE_xxx macro.)
|
||||
****
|
||||
**** DO NOT MODIFY THIS FILE BY HAND.
|
||||
****
|
||||
**** Last build date: Fri Jan 08 15:21:03 2010
|
||||
**** from files:
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2571.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2575.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2572.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2573.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2574.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2576.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2786.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/iftype.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2233.mib,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/snmp/std-mibs/rfc2742.mib,
|
||||
**** snmpmib2.mib, rfc2233.ctl,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/demo/snmpctls/v3mib.ctl,
|
||||
**** D:/WindRiver37C/vxworks-6.7/target/src/wrn/wm/demo/snmpctls/ax2742.ctl
|
||||
******************************************************************************
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#define LEAF_sysDescr 1
|
||||
#define MINSIZE_sysDescr 0L
|
||||
#define MAXSIZE_sysDescr 255L
|
||||
#define LEAF_sysObjectID 2
|
||||
#define LEAF_sysUpTime 3
|
||||
#define LEAF_sysContact 4
|
||||
#define MINSIZE_sysContact 0L
|
||||
#define MAXSIZE_sysContact 255L
|
||||
#define LEAF_sysName 5
|
||||
#define MINSIZE_sysName 0L
|
||||
#define MAXSIZE_sysName 255L
|
||||
#define LEAF_sysLocation 6
|
||||
#define MINSIZE_sysLocation 0L
|
||||
#define MAXSIZE_sysLocation 255L
|
||||
#define LEAF_sysServices 7
|
||||
#define MIN_sysServices 0L
|
||||
#define MAX_sysServices 127L
|
||||
#define LEAF_ifNumber 1
|
||||
#define LEAF_ifIndex 1
|
||||
#define MIN_ifIndex 1L
|
||||
#define MAX_ifIndex 2147483647L
|
||||
#define LEAF_ifDescr 2
|
||||
#define MINSIZE_ifDescr 0L
|
||||
#define MAXSIZE_ifDescr 255L
|
||||
#define LEAF_ifType 3
|
||||
#define VAL_ifType_other 1L
|
||||
#define VAL_ifType_regular1822 2L
|
||||
#define VAL_ifType_hdh1822 3L
|
||||
#define VAL_ifType_ddnX25 4L
|
||||
#define VAL_ifType_rfc877x25 5L
|
||||
#define VAL_ifType_ethernetCsmacd 6L
|
||||
#define VAL_ifType_iso88023Csmacd 7L
|
||||
#define VAL_ifType_iso88024TokenBus 8L
|
||||
#define VAL_ifType_iso88025TokenRing 9L
|
||||
#define VAL_ifType_iso88026Man 10L
|
||||
#define VAL_ifType_starLan 11L
|
||||
#define VAL_ifType_proteon10Mbit 12L
|
||||
#define VAL_ifType_proteon80Mbit 13L
|
||||
#define VAL_ifType_hyperchannel 14L
|
||||
#define VAL_ifType_fddi 15L
|
||||
#define VAL_ifType_lapb 16L
|
||||
#define VAL_ifType_sdlc 17L
|
||||
#define VAL_ifType_ds1 18L
|
||||
#define VAL_ifType_e1 19L
|
||||
#define VAL_ifType_basicISDN 20L
|
||||
#define VAL_ifType_primaryISDN 21L
|
||||
#define VAL_ifType_propPointToPointSerial 22L
|
||||
#define VAL_ifType_ppp 23L
|
||||
#define VAL_ifType_softwareLoopback 24L
|
||||
#define VAL_ifType_eon 25L
|
||||
#define VAL_ifType_ethernet3Mbit 26L
|
||||
#define VAL_ifType_nsip 27L
|
||||
#define VAL_ifType_slip 28L
|
||||
#define VAL_ifType_ultra 29L
|
||||
#define VAL_ifType_ds3 30L
|
||||
#define VAL_ifType_sip 31L
|
||||
#define VAL_ifType_frameRelay 32L
|
||||
#define VAL_ifType_rs232 33L
|
||||
#define VAL_ifType_para 34L
|
||||
#define VAL_ifType_arcnet 35L
|
||||
#define VAL_ifType_arcnetPlus 36L
|
||||
#define VAL_ifType_atm 37L
|
||||
#define VAL_ifType_miox25 38L
|
||||
#define VAL_ifType_sonet 39L
|
||||
#define VAL_ifType_x25ple 40L
|
||||
#define VAL_ifType_iso88022llc 41L
|
||||
#define VAL_ifType_localTalk 42L
|
||||
#define VAL_ifType_smdsDxi 43L
|
||||
#define VAL_ifType_frameRelayService 44L
|
||||
#define VAL_ifType_v35 45L
|
||||
#define VAL_ifType_hssi 46L
|
||||
#define VAL_ifType_hippi 47L
|
||||
#define VAL_ifType_modem 48L
|
||||
#define VAL_ifType_aal5 49L
|
||||
#define VAL_ifType_sonetPath 50L
|
||||
#define VAL_ifType_sonetVT 51L
|
||||
#define VAL_ifType_smdsIcip 52L
|
||||
#define VAL_ifType_propVirtual 53L
|
||||
#define VAL_ifType_propMultiplexor 54L
|
||||
#define VAL_ifType_ieee80212 55L
|
||||
#define VAL_ifType_fibreChannel 56L
|
||||
#define VAL_ifType_hippiInterface 57L
|
||||
#define VAL_ifType_frameRelayInterconnect 58L
|
||||
#define VAL_ifType_aflane8023 59L
|
||||
#define VAL_ifType_aflane8025 60L
|
||||
#define VAL_ifType_cctEmul 61L
|
||||
#define VAL_ifType_fastEther 62L
|
||||
#define VAL_ifType_isdn 63L
|
||||
#define VAL_ifType_v11 64L
|
||||
#define VAL_ifType_v36 65L
|
||||
#define VAL_ifType_g703at64k 66L
|
||||
#define VAL_ifType_g703at2mb 67L
|
||||
#define VAL_ifType_qllc 68L
|
||||
#define VAL_ifType_fastEtherFX 69L
|
||||
#define VAL_ifType_channel 70L
|
||||
#define VAL_ifType_ieee80211 71L
|
||||
#define VAL_ifType_ibm370parChan 72L
|
||||
#define VAL_ifType_escon 73L
|
||||
#define VAL_ifType_dlsw 74L
|
||||
#define VAL_ifType_isdns 75L
|
||||
#define VAL_ifType_isdnu 76L
|
||||
#define VAL_ifType_lapd 77L
|
||||
#define VAL_ifType_ipSwitch 78L
|
||||
#define VAL_ifType_rsrb 79L
|
||||
#define VAL_ifType_atmLogical 80L
|
||||
#define VAL_ifType_ds0 81L
|
||||
#define VAL_ifType_ds0Bundle 82L
|
||||
#define VAL_ifType_bsc 83L
|
||||
#define VAL_ifType_async 84L
|
||||
#define VAL_ifType_cnr 85L
|
||||
#define VAL_ifType_iso88025Dtr 86L
|
||||
#define VAL_ifType_eplrs 87L
|
||||
#define VAL_ifType_arap 88L
|
||||
#define VAL_ifType_propCnls 89L
|
||||
#define VAL_ifType_hostPad 90L
|
||||
#define VAL_ifType_termPad 91L
|
||||
#define VAL_ifType_frameRelayMPI 92L
|
||||
#define VAL_ifType_x213 93L
|
||||
#define VAL_ifType_adsl 94L
|
||||
#define VAL_ifType_radsl 95L
|
||||
#define VAL_ifType_sdsl 96L
|
||||
#define VAL_ifType_vdsl 97L
|
||||
#define VAL_ifType_iso88025CRFPInt 98L
|
||||
#define VAL_ifType_myrinet 99L
|
||||
#define VAL_ifType_voiceEM 100L
|
||||
#define VAL_ifType_voiceFXO 101L
|
||||
#define VAL_ifType_voiceFXS 102L
|
||||
#define VAL_ifType_voiceEncap 103L
|
||||
#define VAL_ifType_voiceOverIp 104L
|
||||
#define VAL_ifType_atmDxi 105L
|
||||
#define VAL_ifType_atmFuni 106L
|
||||
#define VAL_ifType_atmIma 107L
|
||||
#define VAL_ifType_pppMultilinkBundle 108L
|
||||
#define VAL_ifType_ipOverCdlc 109L
|
||||
#define VAL_ifType_ipOverClaw 110L
|
||||
#define VAL_ifType_stackToStack 111L
|
||||
#define VAL_ifType_virtualIpAddress 112L
|
||||
#define VAL_ifType_mpc 113L
|
||||
#define VAL_ifType_ipOverAtm 114L
|
||||
#define VAL_ifType_iso88025Fiber 115L
|
||||
#define VAL_ifType_tdlc 116L
|
||||
#define VAL_ifType_gigabitEthernet 117L
|
||||
#define VAL_ifType_hdlc 118L
|
||||
#define VAL_ifType_lapf 119L
|
||||
#define VAL_ifType_v37 120L
|
||||
#define VAL_ifType_x25mlp 121L
|
||||
#define VAL_ifType_x25huntGroup 122L
|
||||
#define VAL_ifType_trasnpHdlc 123L
|
||||
#define VAL_ifType_interleave 124L
|
||||
#define VAL_ifType_fast 125L
|
||||
#define VAL_ifType_ip 126L
|
||||
#define VAL_ifType_docsCableMaclayer 127L
|
||||
#define VAL_ifType_docsCableDownstream 128L
|
||||
#define VAL_ifType_docsCableUpstream 129L
|
||||
#define VAL_ifType_a12MppSwitch 130L
|
||||
#define VAL_ifType_tunnel 131L
|
||||
#define VAL_ifType_coffee 132L
|
||||
#define VAL_ifType_ces 133L
|
||||
#define VAL_ifType_atmSubInterface 134L
|
||||
#define VAL_ifType_l2vlan 135L
|
||||
#define VAL_ifType_l3ipvlan 136L
|
||||
#define VAL_ifType_l3ipxvlan 137L
|
||||
#define VAL_ifType_digitalPowerline 138L
|
||||
#define VAL_ifType_mediaMailOverIp 139L
|
||||
#define VAL_ifType_dtm 140L
|
||||
#define VAL_ifType_dcn 141L
|
||||
#define VAL_ifType_ipForward 142L
|
||||
#define VAL_ifType_msdsl 143L
|
||||
#define VAL_ifType_ieee1394 144L
|
||||
#define VAL_ifType_if_gsn 145L
|
||||
#define VAL_ifType_dvbRccMacLayer 146L
|
||||
#define VAL_ifType_dvbRccDownstream 147L
|
||||
#define VAL_ifType_dvbRccUpstream 148L
|
||||
#define VAL_ifType_atmVirtual 149L
|
||||
#define VAL_ifType_mplsTunnel 150L
|
||||
#define VAL_ifType_srp 151L
|
||||
#define VAL_ifType_voiceOverAtm 152L
|
||||
#define VAL_ifType_voiceOverFrameRelay 153L
|
||||
#define VAL_ifType_idsl 154L
|
||||
#define VAL_ifType_compositeLink 155L
|
||||
#define VAL_ifType_ss7SigLink 156L
|
||||
#define VAL_ifType_propWirelessP2P 157L
|
||||
#define VAL_ifType_frForward 158L
|
||||
#define VAL_ifType_rfc1483 159L
|
||||
#define VAL_ifType_usb 160L
|
||||
#define VAL_ifType_ieee8023adLag 161L
|
||||
#define VAL_ifType_bgppolicyaccounting 162L
|
||||
#define VAL_ifType_frf16MfrBundle 163L
|
||||
#define VAL_ifType_h323Gatekeeper 164L
|
||||
#define VAL_ifType_h323Proxy 165L
|
||||
#define VAL_ifType_mpls 166L
|
||||
#define VAL_ifType_mfSigLink 167L
|
||||
#define LEAF_ifMtu 4
|
||||
#define LEAF_ifSpeed 5
|
||||
#define LEAF_ifPhysAddress 6
|
||||
#define LEAF_ifAdminStatus 7
|
||||
#define VAL_ifAdminStatus_up 1L
|
||||
#define VAL_ifAdminStatus_down 2L
|
||||
#define VAL_ifAdminStatus_testing 3L
|
||||
#define LEAF_ifOperStatus 8
|
||||
#define VAL_ifOperStatus_up 1L
|
||||
#define VAL_ifOperStatus_down 2L
|
||||
#define VAL_ifOperStatus_testing 3L
|
||||
#define VAL_ifOperStatus_unknown 4L
|
||||
#define VAL_ifOperStatus_dormant 5L
|
||||
#define VAL_ifOperStatus_notPresent 6L
|
||||
#define VAL_ifOperStatus_lowerLayerDown 7L
|
||||
#define LEAF_ifLastChange 9
|
||||
#define LEAF_ifInOctets 10
|
||||
#define LEAF_ifInUcastPkts 11
|
||||
#define LEAF_ifInNUcastPkts 12
|
||||
#define LEAF_ifInDiscards 13
|
||||
#define LEAF_ifInErrors 14
|
||||
#define LEAF_ifInUnknownProtos 15
|
||||
#define LEAF_ifOutOctets 16
|
||||
#define LEAF_ifOutUcastPkts 17
|
||||
#define LEAF_ifOutNUcastPkts 18
|
||||
#define LEAF_ifOutDiscards 19
|
||||
#define LEAF_ifOutErrors 20
|
||||
#define LEAF_ifOutQLen 21
|
||||
#define LEAF_ifSpecific 22
|
||||
#define LEAF_ipForwarding 1
|
||||
#define VAL_ipForwarding_forwarding 1L
|
||||
#define VAL_ipForwarding_not_forwarding 2L
|
||||
#define LEAF_ipDefaultTTL 2
|
||||
#define LEAF_ipInReceives 3
|
||||
#define LEAF_ipInHdrErrors 4
|
||||
#define LEAF_ipInAddrErrors 5
|
||||
#define LEAF_ipForwDatagrams 6
|
||||
#define LEAF_ipInUnknownProtos 7
|
||||
#define LEAF_ipInDiscards 8
|
||||
#define LEAF_ipInDelivers 9
|
||||
#define LEAF_ipOutRequests 10
|
||||
#define LEAF_ipOutDiscards 11
|
||||
#define LEAF_ipOutNoRoutes 12
|
||||
#define LEAF_ipReasmTimeout 13
|
||||
#define LEAF_ipReasmReqds 14
|
||||
#define LEAF_ipReasmOKs 15
|
||||
#define LEAF_ipReasmFails 16
|
||||
#define LEAF_ipFragOKs 17
|
||||
#define LEAF_ipFragFails 18
|
||||
#define LEAF_ipFragCreates 19
|
||||
#define LEAF_ipAdEntAddr 1
|
||||
#define LEAF_ipAdEntIfIndex 2
|
||||
#define LEAF_ipAdEntNetMask 3
|
||||
#define LEAF_ipAdEntBcastAddr 4
|
||||
#define LEAF_ipAdEntReasmMaxSize 5
|
||||
#define MIN_ipAdEntReasmMaxSize 0L
|
||||
#define MAX_ipAdEntReasmMaxSize 65535L
|
||||
#define LEAF_ipRouteDest 1
|
||||
#define LEAF_ipRouteIfIndex 2
|
||||
#define LEAF_ipRouteMetric1 3
|
||||
#define LEAF_ipRouteMetric2 4
|
||||
#define LEAF_ipRouteMetric3 5
|
||||
#define LEAF_ipRouteMetric4 6
|
||||
#define LEAF_ipRouteNextHop 7
|
||||
#define LEAF_ipRouteType 8
|
||||
#define VAL_ipRouteType_other 1L
|
||||
#define VAL_ipRouteType_invalid 2L
|
||||
#define VAL_ipRouteType_direct 3L
|
||||
#define VAL_ipRouteType_indirect 4L
|
||||
#define LEAF_ipRouteProto 9
|
||||
#define VAL_ipRouteProto_other 1L
|
||||
#define VAL_ipRouteProto_local 2L
|
||||
#define VAL_ipRouteProto_netmgmt 3L
|
||||
#define VAL_ipRouteProto_icmp 4L
|
||||
#define VAL_ipRouteProto_egp 5L
|
||||
#define VAL_ipRouteProto_ggp 6L
|
||||
#define VAL_ipRouteProto_hello 7L
|
||||
#define VAL_ipRouteProto_rip 8L
|
||||
#define VAL_ipRouteProto_is_is 9L
|
||||
#define VAL_ipRouteProto_es_is 10L
|
||||
#define VAL_ipRouteProto_ciscoIgrp 11L
|
||||
#define VAL_ipRouteProto_bbnSpfIgp 12L
|
||||
#define VAL_ipRouteProto_ospf 13L
|
||||
#define VAL_ipRouteProto_bgp 14L
|
||||
#define LEAF_ipRouteAge 10
|
||||
#define LEAF_ipRouteMask 11
|
||||
#define LEAF_ipRouteMetric5 12
|
||||
#define LEAF_ipRouteInfo 13
|
||||
#define LEAF_ipNetToMediaIfIndex 1
|
||||
#define LEAF_ipNetToMediaPhysAddress 2
|
||||
#define LEAF_ipNetToMediaNetAddress 3
|
||||
#define LEAF_ipNetToMediaType 4
|
||||
#define VAL_ipNetToMediaType_other 1L
|
||||
#define VAL_ipNetToMediaType_invalid 2L
|
||||
#define VAL_ipNetToMediaType_dynamic 3L
|
||||
#define VAL_ipNetToMediaType_static 4L
|
||||
#define LEAF_ipRoutingDiscards 23
|
||||
#define LEAF_icmpInMsgs 1
|
||||
#define LEAF_icmpInErrors 2
|
||||
#define LEAF_icmpInDestUnreachs 3
|
||||
#define LEAF_icmpInTimeExcds 4
|
||||
#define LEAF_icmpInParmProbs 5
|
||||
#define LEAF_icmpInSrcQuenchs 6
|
||||
#define LEAF_icmpInRedirects 7
|
||||
#define LEAF_icmpInEchos 8
|
||||
#define LEAF_icmpInEchoReps 9
|
||||
#define LEAF_icmpInTimestamps 10
|
||||
#define LEAF_icmpInTimestampReps 11
|
||||
#define LEAF_icmpInAddrMasks 12
|
||||
#define LEAF_icmpInAddrMaskReps 13
|
||||
#define LEAF_icmpOutMsgs 14
|
||||
#define LEAF_icmpOutErrors 15
|
||||
#define LEAF_icmpOutDestUnreachs 16
|
||||
#define LEAF_icmpOutTimeExcds 17
|
||||
#define LEAF_icmpOutParmProbs 18
|
||||
#define LEAF_icmpOutSrcQuenchs 19
|
||||
#define LEAF_icmpOutRedirects 20
|
||||
#define LEAF_icmpOutEchos 21
|
||||
#define LEAF_icmpOutEchoReps 22
|
||||
#define LEAF_icmpOutTimestamps 23
|
||||
#define LEAF_icmpOutTimestampReps 24
|
||||
#define LEAF_icmpOutAddrMasks 25
|
||||
#define LEAF_icmpOutAddrMaskReps 26
|
||||
#define LEAF_tcpRtoAlgorithm 1
|
||||
#define VAL_tcpRtoAlgorithm_other 1L
|
||||
#define VAL_tcpRtoAlgorithm_constant 2L
|
||||
#define VAL_tcpRtoAlgorithm_rsre 3L
|
||||
#define VAL_tcpRtoAlgorithm_vanj 4L
|
||||
#define LEAF_tcpRtoMin 2
|
||||
#define LEAF_tcpRtoMax 3
|
||||
#define LEAF_tcpMaxConn 4
|
||||
#define LEAF_tcpActiveOpens 5
|
||||
#define LEAF_tcpPassiveOpens 6
|
||||
#define LEAF_tcpAttemptFails 7
|
||||
#define LEAF_tcpEstabResets 8
|
||||
#define LEAF_tcpCurrEstab 9
|
||||
#define LEAF_tcpInSegs 10
|
||||
#define LEAF_tcpOutSegs 11
|
||||
#define LEAF_tcpRetransSegs 12
|
||||
#define LEAF_tcpConnState 1
|
||||
#define VAL_tcpConnState_closed 1L
|
||||
#define VAL_tcpConnState_listen 2L
|
||||
#define VAL_tcpConnState_synSent 3L
|
||||
#define VAL_tcpConnState_synReceived 4L
|
||||
#define VAL_tcpConnState_established 5L
|
||||
#define VAL_tcpConnState_finWait1 6L
|
||||
#define VAL_tcpConnState_finWait2 7L
|
||||
#define VAL_tcpConnState_closeWait 8L
|
||||
#define VAL_tcpConnState_lastAck 9L
|
||||
#define VAL_tcpConnState_closing 10L
|
||||
#define VAL_tcpConnState_timeWait 11L
|
||||
#define VAL_tcpConnState_deleteTCB 12L
|
||||
#define LEAF_tcpConnLocalAddress 2
|
||||
#define LEAF_tcpConnLocalPort 3
|
||||
#define MIN_tcpConnLocalPort 0L
|
||||
#define MAX_tcpConnLocalPort 65535L
|
||||
#define LEAF_tcpConnRemAddress 4
|
||||
#define LEAF_tcpConnRemPort 5
|
||||
#define MIN_tcpConnRemPort 0L
|
||||
#define MAX_tcpConnRemPort 65535L
|
||||
#define LEAF_tcpInErrs 14
|
||||
#define LEAF_tcpOutRsts 15
|
||||
#define LEAF_udpInDatagrams 1
|
||||
#define LEAF_udpNoPorts 2
|
||||
#define LEAF_udpInErrors 3
|
||||
#define LEAF_udpOutDatagrams 4
|
||||
#define LEAF_udpLocalAddress 1
|
||||
#define LEAF_udpLocalPort 2
|
||||
#define MIN_udpLocalPort 0L
|
||||
#define MAX_udpLocalPort 65535L
|
||||
#define LEAF_snmpInPkts 1
|
||||
#define LEAF_snmpOutPkts 2
|
||||
#define LEAF_snmpInBadVersions 3
|
||||
#define LEAF_snmpInBadCommunityNames 4
|
||||
#define LEAF_snmpInBadCommunityUses 5
|
||||
#define LEAF_snmpInASNParseErrs 6
|
||||
#define LEAF_snmpInTooBigs 8
|
||||
#define LEAF_snmpInNoSuchNames 9
|
||||
#define LEAF_snmpInBadValues 10
|
||||
#define LEAF_snmpInReadOnlys 11
|
||||
#define LEAF_snmpInGenErrs 12
|
||||
#define LEAF_snmpInTotalReqVars 13
|
||||
#define LEAF_snmpInTotalSetVars 14
|
||||
#define LEAF_snmpInGetRequests 15
|
||||
#define LEAF_snmpInGetNexts 16
|
||||
#define LEAF_snmpInSetRequests 17
|
||||
#define LEAF_snmpInGetResponses 18
|
||||
#define LEAF_snmpInTraps 19
|
||||
#define LEAF_snmpOutTooBigs 20
|
||||
#define LEAF_snmpOutNoSuchNames 21
|
||||
#define LEAF_snmpOutBadValues 22
|
||||
#define LEAF_snmpOutGenErrs 24
|
||||
#define LEAF_snmpOutGetRequests 25
|
||||
#define LEAF_snmpOutGetNexts 26
|
||||
#define LEAF_snmpOutSetRequests 27
|
||||
#define LEAF_snmpOutGetResponses 28
|
||||
#define LEAF_snmpOutTraps 29
|
||||
#define LEAF_snmpEnableAuthenTraps 30
|
||||
#define VAL_snmpEnableAuthenTraps_enabled 1L
|
||||
#define VAL_snmpEnableAuthenTraps_disabled 2L
|
||||
#define LEAF_snmpSilentDrops 31
|
||||
#define LEAF_snmpProxyDrops 32
|
||||
#define LEAF_ifName 1
|
||||
#define MINSIZE_ifName 0L
|
||||
#define MAXSIZE_ifName 255L
|
||||
#define LEAF_ifInMulticastPkts 2
|
||||
#define LEAF_ifInBroadcastPkts 3
|
||||
#define LEAF_ifOutMulticastPkts 4
|
||||
#define LEAF_ifOutBroadcastPkts 5
|
||||
#define LEAF_ifHCInOctets 6
|
||||
#define LEAF_ifHCInUcastPkts 7
|
||||
#define LEAF_ifHCInMulticastPkts 8
|
||||
#define LEAF_ifHCInBroadcastPkts 9
|
||||
#define LEAF_ifHCOutOctets 10
|
||||
#define LEAF_ifHCOutUcastPkts 11
|
||||
#define LEAF_ifHCOutMulticastPkts 12
|
||||
#define LEAF_ifHCOutBroadcastPkts 13
|
||||
#define LEAF_ifLinkUpDownTrapEnable 14
|
||||
#define VAL_ifLinkUpDownTrapEnable_enabled 1L
|
||||
#define VAL_ifLinkUpDownTrapEnable_disabled 2L
|
||||
#define LEAF_ifHighSpeed 15
|
||||
#define LEAF_ifPromiscuousMode 16
|
||||
#define VAL_ifPromiscuousMode_true 1L
|
||||
#define VAL_ifPromiscuousMode_false 2L
|
||||
#define LEAF_ifConnectorPresent 17
|
||||
#define VAL_ifConnectorPresent_true 1L
|
||||
#define VAL_ifConnectorPresent_false 2L
|
||||
#define LEAF_ifAlias 18
|
||||
#define MINSIZE_ifAlias 0L
|
||||
#define MAXSIZE_ifAlias 64L
|
||||
#define LEAF_ifCounterDiscontinuityTime 19
|
||||
#define LEAF_ifTableLastChange 5
|
||||
#define LEAF_ifStackLastChange 6
|
||||
#define LEAF_agentxDefaultTimeout 1
|
||||
#define MIN_agentxDefaultTimeout 0L
|
||||
#define MAX_agentxDefaultTimeout 255L
|
||||
#define LEAF_agentxMasterAgentXVer 2
|
||||
#define MIN_agentxMasterAgentXVer 1L
|
||||
#define MAX_agentxMasterAgentXVer 255L
|
||||
#define LEAF_agentxConnTableLastChange 1
|
||||
#define LEAF_agentxConnIndex 1
|
||||
#define MIN_agentxConnIndex 1L
|
||||
#define MAX_agentxConnIndex 4294967295L
|
||||
#define LEAF_agentxConnOpenTime 2
|
||||
#define LEAF_agentxConnTransportDomain 3
|
||||
#define LEAF_agentxConnTransportAddress 4
|
||||
#define MINSIZE_agentxConnTransportAddress 0L
|
||||
#define MAXSIZE_agentxConnTransportAddress 255L
|
||||
#define LEAF_agentxSessionTableLastChange 1
|
||||
#define LEAF_agentxSessionIndex 1
|
||||
#define MIN_agentxSessionIndex 0L
|
||||
#define MAX_agentxSessionIndex 4294967295L
|
||||
#define LEAF_agentxSessionObjectID 2
|
||||
#define LEAF_agentxSessionDescr 3
|
||||
#define MINSIZE_agentxSessionDescr 0L
|
||||
#define MAXSIZE_agentxSessionDescr 255L
|
||||
#define LEAF_agentxSessionAdminStatus 4
|
||||
#define VAL_agentxSessionAdminStatus_up 1L
|
||||
#define VAL_agentxSessionAdminStatus_down 2L
|
||||
#define LEAF_agentxSessionOpenTime 5
|
||||
#define LEAF_agentxSessionAgentXVer 6
|
||||
#define MIN_agentxSessionAgentXVer 1L
|
||||
#define MAX_agentxSessionAgentXVer 255L
|
||||
#define LEAF_agentxSessionTimeout 7
|
||||
#define MIN_agentxSessionTimeout 0L
|
||||
#define MAX_agentxSessionTimeout 255L
|
||||
#define LEAF_agentxRegistrationTableLastChange 1
|
||||
#define LEAF_agentxRegIndex 1
|
||||
#define MIN_agentxRegIndex 1L
|
||||
#define MAX_agentxRegIndex 4294967295L
|
||||
#define LEAF_agentxRegContext 2
|
||||
#define LEAF_agentxRegStart 3
|
||||
#define LEAF_agentxRegRangeSubId 4
|
||||
#define LEAF_agentxRegUpperBound 5
|
||||
#define LEAF_agentxRegPriority 6
|
||||
#define LEAF_agentxRegTimeout 7
|
||||
#define MIN_agentxRegTimeout 0L
|
||||
#define MAX_agentxRegTimeout 255L
|
||||
#define LEAF_agentxRegInstance 8
|
||||
#define VAL_agentxRegInstance_true 1L
|
||||
#define VAL_agentxRegInstance_false 2L
|
||||
#define LEAF_usmDHParameters 1
|
||||
#define LEAF_usmDHUserAuthKeyChange 1
|
||||
#define LEAF_usmDHUserOwnAuthKeyChange 2
|
||||
#define LEAF_usmDHUserPrivKeyChange 3
|
||||
#define LEAF_usmDHUserOwnPrivKeyChange 4
|
||||
#define LEAF_snmpTrapOID 1
|
||||
#define LEAF_snmpTrapEnterprise 3
|
||||
#define LEAF_snmpEngineID 1
|
||||
#define MINSIZE_snmpEngineID 5L
|
||||
#define MAXSIZE_snmpEngineID 32L
|
||||
#define LEAF_snmpEngineBoots 2
|
||||
#define MIN_snmpEngineBoots 1L
|
||||
#define MAX_snmpEngineBoots 2147483647L
|
||||
#define LEAF_snmpEngineTime 3
|
||||
#define MIN_snmpEngineTime 0L
|
||||
#define MAX_snmpEngineTime 2147483647L
|
||||
#define LEAF_snmpEngineMaxMessageSize 4
|
||||
#define MIN_snmpEngineMaxMessageSize 484L
|
||||
#define MAX_snmpEngineMaxMessageSize 2147483647L
|
||||
#define LEAF_snmpUnknownSecurityModels 1
|
||||
#define LEAF_snmpInvalidMsgs 2
|
||||
#define LEAF_snmpUnknownPDUHandlers 3
|
||||
#define LEAF_snmpTargetSpinLock 1
|
||||
#define MIN_snmpTargetSpinLock 0L
|
||||
#define MAX_snmpTargetSpinLock 2147483647L
|
||||
#define LEAF_snmpTargetAddrName 1
|
||||
#define MINSIZE_snmpTargetAddrName 1L
|
||||
#define MAXSIZE_snmpTargetAddrName 32L
|
||||
#define LEAF_snmpTargetAddrTDomain 2
|
||||
#define LEAF_snmpTargetAddrTAddress 3
|
||||
#define MINSIZE_snmpTargetAddrTAddress 1L
|
||||
#define MAXSIZE_snmpTargetAddrTAddress 255L
|
||||
#define LEAF_snmpTargetAddrTimeout 4
|
||||
#define MIN_snmpTargetAddrTimeout 0L
|
||||
#define MAX_snmpTargetAddrTimeout 2147483647L
|
||||
#define LEAF_snmpTargetAddrRetryCount 5
|
||||
#define MIN_snmpTargetAddrRetryCount 0L
|
||||
#define MAX_snmpTargetAddrRetryCount 255L
|
||||
#define LEAF_snmpTargetAddrTagList 6
|
||||
#define MINSIZE_snmpTargetAddrTagList 0L
|
||||
#define MAXSIZE_snmpTargetAddrTagList 255L
|
||||
#define LEAF_snmpTargetAddrParams 7
|
||||
#define MINSIZE_snmpTargetAddrParams 1L
|
||||
#define MAXSIZE_snmpTargetAddrParams 32L
|
||||
#define LEAF_snmpTargetAddrStorageType 8
|
||||
#define VAL_snmpTargetAddrStorageType_other 1L
|
||||
#define VAL_snmpTargetAddrStorageType_volatile 2L
|
||||
#define VAL_snmpTargetAddrStorageType_nonVolatile 3L
|
||||
#define VAL_snmpTargetAddrStorageType_permanent 4L
|
||||
#define VAL_snmpTargetAddrStorageType_readOnly 5L
|
||||
#define LEAF_snmpTargetAddrRowStatus 9
|
||||
#define VAL_snmpTargetAddrRowStatus_active 1L
|
||||
#define VAL_snmpTargetAddrRowStatus_notInService 2L
|
||||
#define VAL_snmpTargetAddrRowStatus_notReady 3L
|
||||
#define VAL_snmpTargetAddrRowStatus_createAndGo 4L
|
||||
#define VAL_snmpTargetAddrRowStatus_createAndWait 5L
|
||||
#define VAL_snmpTargetAddrRowStatus_destroy 6L
|
||||
#define LEAF_snmpTargetParamsName 1
|
||||
#define MINSIZE_snmpTargetParamsName 1L
|
||||
#define MAXSIZE_snmpTargetParamsName 32L
|
||||
#define LEAF_snmpTargetParamsMPModel 2
|
||||
#define MIN_snmpTargetParamsMPModel 0L
|
||||
#define MAX_snmpTargetParamsMPModel 2147483647L
|
||||
#define LEAF_snmpTargetParamsSecurityModel 3
|
||||
#define MIN_snmpTargetParamsSecurityModel 1L
|
||||
#define MAX_snmpTargetParamsSecurityModel 2147483646L
|
||||
#define LEAF_snmpTargetParamsSecurityName 4
|
||||
#define MINSIZE_snmpTargetParamsSecurityName 0L
|
||||
#define MAXSIZE_snmpTargetParamsSecurityName 255L
|
||||
#define LEAF_snmpTargetParamsSecurityLevel 5
|
||||
#define VAL_snmpTargetParamsSecurityLevel_noAuthNoPriv 1L
|
||||
#define VAL_snmpTargetParamsSecurityLevel_authNoPriv 2L
|
||||
#define VAL_snmpTargetParamsSecurityLevel_authPriv 3L
|
||||
#define LEAF_snmpTargetParamsStorageType 6
|
||||
#define VAL_snmpTargetParamsStorageType_other 1L
|
||||
#define VAL_snmpTargetParamsStorageType_volatile 2L
|
||||
#define VAL_snmpTargetParamsStorageType_nonVolatile 3L
|
||||
#define VAL_snmpTargetParamsStorageType_permanent 4L
|
||||
#define VAL_snmpTargetParamsStorageType_readOnly 5L
|
||||
#define LEAF_snmpTargetParamsRowStatus 7
|
||||
#define VAL_snmpTargetParamsRowStatus_active 1L
|
||||
#define VAL_snmpTargetParamsRowStatus_notInService 2L
|
||||
#define VAL_snmpTargetParamsRowStatus_notReady 3L
|
||||
#define VAL_snmpTargetParamsRowStatus_createAndGo 4L
|
||||
#define VAL_snmpTargetParamsRowStatus_createAndWait 5L
|
||||
#define VAL_snmpTargetParamsRowStatus_destroy 6L
|
||||
#define LEAF_snmpUnavailableContexts 4
|
||||
#define LEAF_snmpUnknownContexts 5
|
||||
#define LEAF_snmpNotifyName 1
|
||||
#define MINSIZE_snmpNotifyName 1L
|
||||
#define MAXSIZE_snmpNotifyName 32L
|
||||
#define LEAF_snmpNotifyTag 2
|
||||
#define MINSIZE_snmpNotifyTag 0L
|
||||
#define MAXSIZE_snmpNotifyTag 255L
|
||||
#define LEAF_snmpNotifyType 3
|
||||
#define VAL_snmpNotifyType_trap 1L
|
||||
#define VAL_snmpNotifyType_inform 2L
|
||||
#define LEAF_snmpNotifyStorageType 4
|
||||
#define VAL_snmpNotifyStorageType_other 1L
|
||||
#define VAL_snmpNotifyStorageType_volatile 2L
|
||||
#define VAL_snmpNotifyStorageType_nonVolatile 3L
|
||||
#define VAL_snmpNotifyStorageType_permanent 4L
|
||||
#define VAL_snmpNotifyStorageType_readOnly 5L
|
||||
#define LEAF_snmpNotifyRowStatus 5
|
||||
#define VAL_snmpNotifyRowStatus_active 1L
|
||||
#define VAL_snmpNotifyRowStatus_notInService 2L
|
||||
#define VAL_snmpNotifyRowStatus_notReady 3L
|
||||
#define VAL_snmpNotifyRowStatus_createAndGo 4L
|
||||
#define VAL_snmpNotifyRowStatus_createAndWait 5L
|
||||
#define VAL_snmpNotifyRowStatus_destroy 6L
|
||||
#define LEAF_snmpNotifyFilterProfileName 1
|
||||
#define MINSIZE_snmpNotifyFilterProfileName 1L
|
||||
#define MAXSIZE_snmpNotifyFilterProfileName 32L
|
||||
#define LEAF_snmpNotifyFilterProfileStorType 2
|
||||
#define VAL_snmpNotifyFilterProfileStorType_other 1L
|
||||
#define VAL_snmpNotifyFilterProfileStorType_volatile 2L
|
||||
#define VAL_snmpNotifyFilterProfileStorType_nonVolatile 3L
|
||||
#define VAL_snmpNotifyFilterProfileStorType_permanent 4L
|
||||
#define VAL_snmpNotifyFilterProfileStorType_readOnly 5L
|
||||
#define LEAF_snmpNotifyFilterProfileRowStatus 3
|
||||
#define VAL_snmpNotifyFilterProfileRowStatus_active 1L
|
||||
#define VAL_snmpNotifyFilterProfileRowStatus_notInService 2L
|
||||
#define VAL_snmpNotifyFilterProfileRowStatus_notReady 3L
|
||||
#define VAL_snmpNotifyFilterProfileRowStatus_createAndGo 4L
|
||||
#define VAL_snmpNotifyFilterProfileRowStatus_createAndWait 5L
|
||||
#define VAL_snmpNotifyFilterProfileRowStatus_destroy 6L
|
||||
#define LEAF_snmpNotifyFilterSubtree 1
|
||||
#define LEAF_snmpNotifyFilterMask 2
|
||||
#define MINSIZE_snmpNotifyFilterMask 0L
|
||||
#define MAXSIZE_snmpNotifyFilterMask 16L
|
||||
#define LEAF_snmpNotifyFilterType 3
|
||||
#define VAL_snmpNotifyFilterType_included 1L
|
||||
#define VAL_snmpNotifyFilterType_excluded 2L
|
||||
#define LEAF_snmpNotifyFilterStorageType 4
|
||||
#define VAL_snmpNotifyFilterStorageType_other 1L
|
||||
#define VAL_snmpNotifyFilterStorageType_volatile 2L
|
||||
#define VAL_snmpNotifyFilterStorageType_nonVolatile 3L
|
||||
#define VAL_snmpNotifyFilterStorageType_permanent 4L
|
||||
#define VAL_snmpNotifyFilterStorageType_readOnly 5L
|
||||
#define LEAF_snmpNotifyFilterRowStatus 5
|
||||
#define VAL_snmpNotifyFilterRowStatus_active 1L
|
||||
#define VAL_snmpNotifyFilterRowStatus_notInService 2L
|
||||
#define VAL_snmpNotifyFilterRowStatus_notReady 3L
|
||||
#define VAL_snmpNotifyFilterRowStatus_createAndGo 4L
|
||||
#define VAL_snmpNotifyFilterRowStatus_createAndWait 5L
|
||||
#define VAL_snmpNotifyFilterRowStatus_destroy 6L
|
||||
#define LEAF_snmpProxyName 1
|
||||
#define MINSIZE_snmpProxyName 1L
|
||||
#define MAXSIZE_snmpProxyName 32L
|
||||
#define LEAF_snmpProxyType 2
|
||||
#define VAL_snmpProxyType_read 1L
|
||||
#define VAL_snmpProxyType_write 2L
|
||||
#define VAL_snmpProxyType_trap 3L
|
||||
#define VAL_snmpProxyType_inform 4L
|
||||
#define LEAF_snmpProxyContextEngineID 3
|
||||
#define MINSIZE_snmpProxyContextEngineID 5L
|
||||
#define MAXSIZE_snmpProxyContextEngineID 32L
|
||||
#define LEAF_snmpProxyContextName 4
|
||||
#define MINSIZE_snmpProxyContextName 0L
|
||||
#define MAXSIZE_snmpProxyContextName 255L
|
||||
#define LEAF_snmpProxyTargetParamsIn 5
|
||||
#define MINSIZE_snmpProxyTargetParamsIn 0L
|
||||
#define MAXSIZE_snmpProxyTargetParamsIn 255L
|
||||
#define LEAF_snmpProxySingleTargetOut 6
|
||||
#define MINSIZE_snmpProxySingleTargetOut 0L
|
||||
#define MAXSIZE_snmpProxySingleTargetOut 255L
|
||||
#define LEAF_snmpProxyMultipleTargetOut 7
|
||||
#define MINSIZE_snmpProxyMultipleTargetOut 0L
|
||||
#define MAXSIZE_snmpProxyMultipleTargetOut 255L
|
||||
#define LEAF_snmpProxyStorageType 8
|
||||
#define VAL_snmpProxyStorageType_other 1L
|
||||
#define VAL_snmpProxyStorageType_volatile 2L
|
||||
#define VAL_snmpProxyStorageType_nonVolatile 3L
|
||||
#define VAL_snmpProxyStorageType_permanent 4L
|
||||
#define VAL_snmpProxyStorageType_readOnly 5L
|
||||
#define LEAF_snmpProxyRowStatus 9
|
||||
#define VAL_snmpProxyRowStatus_active 1L
|
||||
#define VAL_snmpProxyRowStatus_notInService 2L
|
||||
#define VAL_snmpProxyRowStatus_notReady 3L
|
||||
#define VAL_snmpProxyRowStatus_createAndGo 4L
|
||||
#define VAL_snmpProxyRowStatus_createAndWait 5L
|
||||
#define VAL_snmpProxyRowStatus_destroy 6L
|
||||
#define LEAF_usmStatsUnsupportedSecLevels 1
|
||||
#define LEAF_usmStatsNotInTimeWindows 2
|
||||
#define LEAF_usmStatsUnknownUserNames 3
|
||||
#define LEAF_usmStatsUnknownEngineIDs 4
|
||||
#define LEAF_usmStatsWrongDigests 5
|
||||
#define LEAF_usmStatsDecryptionErrors 6
|
||||
#define LEAF_usmUserSpinLock 1
|
||||
#define MIN_usmUserSpinLock 0L
|
||||
#define MAX_usmUserSpinLock 2147483647L
|
||||
#define LEAF_usmUserEngineID 1
|
||||
#define MINSIZE_usmUserEngineID 5L
|
||||
#define MAXSIZE_usmUserEngineID 32L
|
||||
#define LEAF_usmUserName 2
|
||||
#define MINSIZE_usmUserName 1L
|
||||
#define MAXSIZE_usmUserName 32L
|
||||
#define LEAF_usmUserSecurityName 3
|
||||
#define MINSIZE_usmUserSecurityName 0L
|
||||
#define MAXSIZE_usmUserSecurityName 255L
|
||||
#define LEAF_usmUserCloneFrom 4
|
||||
#define LEAF_usmUserAuthProtocol 5
|
||||
#define LEAF_usmUserAuthKeyChange 6
|
||||
#define LEAF_usmUserOwnAuthKeyChange 7
|
||||
#define LEAF_usmUserPrivProtocol 8
|
||||
#define LEAF_usmUserPrivKeyChange 9
|
||||
#define LEAF_usmUserOwnPrivKeyChange 10
|
||||
#define LEAF_usmUserPublic 11
|
||||
#define MINSIZE_usmUserPublic 0L
|
||||
#define MAXSIZE_usmUserPublic 32L
|
||||
#define LEAF_usmUserStorageType 12
|
||||
#define VAL_usmUserStorageType_other 1L
|
||||
#define VAL_usmUserStorageType_volatile 2L
|
||||
#define VAL_usmUserStorageType_nonVolatile 3L
|
||||
#define VAL_usmUserStorageType_permanent 4L
|
||||
#define VAL_usmUserStorageType_readOnly 5L
|
||||
#define LEAF_usmUserStatus 13
|
||||
#define VAL_usmUserStatus_active 1L
|
||||
#define VAL_usmUserStatus_notInService 2L
|
||||
#define VAL_usmUserStatus_notReady 3L
|
||||
#define VAL_usmUserStatus_createAndGo 4L
|
||||
#define VAL_usmUserStatus_createAndWait 5L
|
||||
#define VAL_usmUserStatus_destroy 6L
|
||||
#define LEAF_vacmContextName 1
|
||||
#define MINSIZE_vacmContextName 0L
|
||||
#define MAXSIZE_vacmContextName 32L
|
||||
#define LEAF_vacmSecurityModel 1
|
||||
#define MIN_vacmSecurityModel 1L
|
||||
#define MAX_vacmSecurityModel 2147483647L
|
||||
#define LEAF_vacmSecurityName 2
|
||||
#define MINSIZE_vacmSecurityName 1L
|
||||
#define MAXSIZE_vacmSecurityName 32L
|
||||
#define LEAF_vacmGroupName 3
|
||||
#define MINSIZE_vacmGroupName 1L
|
||||
#define MAXSIZE_vacmGroupName 32L
|
||||
#define LEAF_vacmSecurityToGroupStorageType 4
|
||||
#define VAL_vacmSecurityToGroupStorageType_other 1L
|
||||
#define VAL_vacmSecurityToGroupStorageType_volatile 2L
|
||||
#define VAL_vacmSecurityToGroupStorageType_nonVolatile 3L
|
||||
#define VAL_vacmSecurityToGroupStorageType_permanent 4L
|
||||
#define VAL_vacmSecurityToGroupStorageType_readOnly 5L
|
||||
#define LEAF_vacmSecurityToGroupStatus 5
|
||||
#define VAL_vacmSecurityToGroupStatus_active 1L
|
||||
#define VAL_vacmSecurityToGroupStatus_notInService 2L
|
||||
#define VAL_vacmSecurityToGroupStatus_notReady 3L
|
||||
#define VAL_vacmSecurityToGroupStatus_createAndGo 4L
|
||||
#define VAL_vacmSecurityToGroupStatus_createAndWait 5L
|
||||
#define VAL_vacmSecurityToGroupStatus_destroy 6L
|
||||
#define LEAF_vacmAccessContextPrefix 1
|
||||
#define MINSIZE_vacmAccessContextPrefix 0L
|
||||
#define MAXSIZE_vacmAccessContextPrefix 32L
|
||||
#define LEAF_vacmAccessSecurityModel 2
|
||||
#define MIN_vacmAccessSecurityModel 0L
|
||||
#define MAX_vacmAccessSecurityModel 2147483647L
|
||||
#define LEAF_vacmAccessSecurityLevel 3
|
||||
#define VAL_vacmAccessSecurityLevel_noAuthNoPriv 1L
|
||||
#define VAL_vacmAccessSecurityLevel_authNoPriv 2L
|
||||
#define VAL_vacmAccessSecurityLevel_authPriv 3L
|
||||
#define LEAF_vacmAccessContextMatch 4
|
||||
#define VAL_vacmAccessContextMatch_exact 1L
|
||||
#define VAL_vacmAccessContextMatch_prefix 2L
|
||||
#define LEAF_vacmAccessReadViewName 5
|
||||
#define MINSIZE_vacmAccessReadViewName 0L
|
||||
#define MAXSIZE_vacmAccessReadViewName 32L
|
||||
#define LEAF_vacmAccessWriteViewName 6
|
||||
#define MINSIZE_vacmAccessWriteViewName 0L
|
||||
#define MAXSIZE_vacmAccessWriteViewName 32L
|
||||
#define LEAF_vacmAccessNotifyViewName 7
|
||||
#define MINSIZE_vacmAccessNotifyViewName 0L
|
||||
#define MAXSIZE_vacmAccessNotifyViewName 32L
|
||||
#define LEAF_vacmAccessStorageType 8
|
||||
#define VAL_vacmAccessStorageType_other 1L
|
||||
#define VAL_vacmAccessStorageType_volatile 2L
|
||||
#define VAL_vacmAccessStorageType_nonVolatile 3L
|
||||
#define VAL_vacmAccessStorageType_permanent 4L
|
||||
#define VAL_vacmAccessStorageType_readOnly 5L
|
||||
#define LEAF_vacmAccessStatus 9
|
||||
#define VAL_vacmAccessStatus_active 1L
|
||||
#define VAL_vacmAccessStatus_notInService 2L
|
||||
#define VAL_vacmAccessStatus_notReady 3L
|
||||
#define VAL_vacmAccessStatus_createAndGo 4L
|
||||
#define VAL_vacmAccessStatus_createAndWait 5L
|
||||
#define VAL_vacmAccessStatus_destroy 6L
|
||||
#define LEAF_vacmViewSpinLock 1
|
||||
#define MIN_vacmViewSpinLock 0L
|
||||
#define MAX_vacmViewSpinLock 2147483647L
|
||||
#define LEAF_vacmViewTreeFamilyViewName 1
|
||||
#define MINSIZE_vacmViewTreeFamilyViewName 1L
|
||||
#define MAXSIZE_vacmViewTreeFamilyViewName 32L
|
||||
#define LEAF_vacmViewTreeFamilySubtree 2
|
||||
#define LEAF_vacmViewTreeFamilyMask 3
|
||||
#define MINSIZE_vacmViewTreeFamilyMask 0L
|
||||
#define MAXSIZE_vacmViewTreeFamilyMask 16L
|
||||
#define LEAF_vacmViewTreeFamilyType 4
|
||||
#define VAL_vacmViewTreeFamilyType_included 1L
|
||||
#define VAL_vacmViewTreeFamilyType_excluded 2L
|
||||
#define LEAF_vacmViewTreeFamilyStorageType 5
|
||||
#define VAL_vacmViewTreeFamilyStorageType_other 1L
|
||||
#define VAL_vacmViewTreeFamilyStorageType_volatile 2L
|
||||
#define VAL_vacmViewTreeFamilyStorageType_nonVolatile 3L
|
||||
#define VAL_vacmViewTreeFamilyStorageType_permanent 4L
|
||||
#define VAL_vacmViewTreeFamilyStorageType_readOnly 5L
|
||||
#define LEAF_vacmViewTreeFamilyStatus 6
|
||||
#define VAL_vacmViewTreeFamilyStatus_active 1L
|
||||
#define VAL_vacmViewTreeFamilyStatus_notInService 2L
|
||||
#define VAL_vacmViewTreeFamilyStatus_notReady 3L
|
||||
#define VAL_vacmViewTreeFamilyStatus_createAndGo 4L
|
||||
#define VAL_vacmViewTreeFamilyStatus_createAndWait 5L
|
||||
#define VAL_vacmViewTreeFamilyStatus_destroy 6L
|
||||
#define LEAF_snmpCommunityIndex 1
|
||||
#define MINSIZE_snmpCommunityIndex 1L
|
||||
#define MAXSIZE_snmpCommunityIndex 32L
|
||||
#define LEAF_snmpCommunityName 2
|
||||
#define LEAF_snmpCommunitySecurityName 3
|
||||
#define MINSIZE_snmpCommunitySecurityName 1L
|
||||
#define MAXSIZE_snmpCommunitySecurityName 32L
|
||||
#define LEAF_snmpCommunityContextEngineID 4
|
||||
#define MINSIZE_snmpCommunityContextEngineID 5L
|
||||
#define MAXSIZE_snmpCommunityContextEngineID 32L
|
||||
#define LEAF_snmpCommunityContextName 5
|
||||
#define MINSIZE_snmpCommunityContextName 0L
|
||||
#define MAXSIZE_snmpCommunityContextName 32L
|
||||
#define LEAF_snmpCommunityTransportTag 6
|
||||
#define MINSIZE_snmpCommunityTransportTag 0L
|
||||
#define MAXSIZE_snmpCommunityTransportTag 255L
|
||||
#define LEAF_snmpCommunityStorageType 7
|
||||
#define VAL_snmpCommunityStorageType_other 1L
|
||||
#define VAL_snmpCommunityStorageType_volatile 2L
|
||||
#define VAL_snmpCommunityStorageType_nonVolatile 3L
|
||||
#define VAL_snmpCommunityStorageType_permanent 4L
|
||||
#define VAL_snmpCommunityStorageType_readOnly 5L
|
||||
#define LEAF_snmpCommunityStatus 8
|
||||
#define VAL_snmpCommunityStatus_active 1L
|
||||
#define VAL_snmpCommunityStatus_notInService 2L
|
||||
#define VAL_snmpCommunityStatus_notReady 3L
|
||||
#define VAL_snmpCommunityStatus_createAndGo 4L
|
||||
#define VAL_snmpCommunityStatus_createAndWait 5L
|
||||
#define VAL_snmpCommunityStatus_destroy 6L
|
||||
#define LEAF_snmpTargetAddrTMask 1
|
||||
#define MINSIZE_snmpTargetAddrTMask 0L
|
||||
#define MAXSIZE_snmpTargetAddrTMask 255L
|
||||
#define LEAF_snmpTargetAddrMMS 2
|
||||
#define MIN_snmpTargetAddrMMS_1 0L
|
||||
#define MAX_snmpTargetAddrMMS_1 0L
|
||||
#define MIN_snmpTargetAddrMMS_2 484L
|
||||
#define MAX_snmpTargetAddrMMS_2 2147483647L
|
||||
#define LEAF_snmpTrapAddress 3
|
||||
#define LEAF_snmpTrapCommunity 4
|
||||
@@ -0,0 +1,100 @@
|
||||
/* namingScopes.h - register naming scopes functions */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2005 Wind River Systems, Inc.
|
||||
* All rights reserved. Provided under license only.
|
||||
* Distribution or other use of this software is only
|
||||
* permitted pursuant to the terms of a license agreement
|
||||
* from Wind River Systems (and is otherwise prohibited).
|
||||
* Refer to that license agreement for terms of use.
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
-------------------
|
||||
01d,19apr05,job update copyright notices
|
||||
01c,25nov03,ps copyright update
|
||||
01b,18mar03,ism removed conditional prototypes after code review
|
||||
01a,05dec02,ism written
|
||||
*/
|
||||
|
||||
#ifndef __INCnamingScopesh
|
||||
#define __INCnamingScopesh
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* defines */
|
||||
|
||||
/* Defines used for viewType field */
|
||||
|
||||
#define VIEW_TYPE_GET 0x01
|
||||
#define VIEW_TYPE_SET 0x02
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern void communityStringInit (bits32_t defaultVsNum);
|
||||
|
||||
extern STATUS communityStringRegister (bits8_t * newCommunityString,
|
||||
bits32_t stringLen,
|
||||
bits8_t viewType,
|
||||
bits8_t * viewName,
|
||||
bits32_t nameLen,
|
||||
bits32_t vsNum);
|
||||
|
||||
extern STATUS communityStringDeregister (bits8_t * communityString,
|
||||
bits32_t stringLen,
|
||||
bits8_t viewType,
|
||||
bits32_t vsNum);
|
||||
|
||||
extern bits32_t communityStringFind (EBUFFER_T searchCommunity,
|
||||
bits8_t viewType,
|
||||
EBUFFER_T * viewName);
|
||||
|
||||
|
||||
#if INSTALL_ENVOY_SNMP_VERSION_3
|
||||
|
||||
extern void contextNameInit (bits32_t defaultVsNum);
|
||||
|
||||
extern STATUS contextNameRegister (bits8_t * newContextName,
|
||||
bits32_t stringLen,
|
||||
bits8_t viewType,
|
||||
bits8_t * viewName,
|
||||
bits32_t nameLen,
|
||||
bits32_t vsNum);
|
||||
|
||||
extern STATUS contextNameDeregister (bits8_t * contextName,
|
||||
bits32_t stringLen,
|
||||
bits8_t viewType,
|
||||
bits32_t vsNum);
|
||||
|
||||
extern bits32_t contextNameFind (EBUFFER_T searchContext,
|
||||
bits8_t viewType,
|
||||
EBUFFER_T * viewName);
|
||||
|
||||
#endif /* INSTALL_ENVOY_SNMP_VERSION_3 */
|
||||
|
||||
#else /* __STDC__ */
|
||||
|
||||
extern void communityStringInit ();
|
||||
extern STATUS communityStringRegister ();
|
||||
extern STATUS communityStringDeregister ();
|
||||
extern bits32_t communityStringFind ();
|
||||
|
||||
#if INSTALL_ENVOY_SNMP_VERSION_3
|
||||
|
||||
extern void contextNameInit ();
|
||||
extern STATUS contextNameRegister ();
|
||||
extern STATUS contextNameDeregister ();
|
||||
extern bits32_t contextNameFind ();
|
||||
|
||||
#endif /* INSTALL_ENVOY_SNMP_VERSION_3 */
|
||||
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCnamingScopesh */
|
||||
@@ -0,0 +1,86 @@
|
||||
/* $Header: /usr/cvsroot/target/h/wrn/wm/snmp/vxagent/snmpIoLib.h,v 1.1.1.1 2001/11/05 17:47:27 tneale Exp $ */
|
||||
|
||||
/* snmpdLib.h - VxWorks SNMP Agent */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2005 Wind River Systems, Inc.
|
||||
* All rights reserved. Provided under license only.
|
||||
* Distribution or other use of this software is only
|
||||
* permitted pursuant to the terms of a license agreement
|
||||
* from Wind River Systems (and is otherwise prohibited).
|
||||
* Refer to that license agreement for terms of use.
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01f,19apr05,job update copyright notices
|
||||
01e,25nov03,ps copyright update
|
||||
01d,30apr98,ann Changed copyright
|
||||
01c,11nov96,jag Cleaned up file header.
|
||||
01b,01may96,rjc Added copyright header
|
||||
01a,10mar96,rjc written.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* $Log: snmpIoLib.h,v $
|
||||
* Revision 1.1.1.1 2001/11/05 17:47:27 tneale
|
||||
* Tornado shuffle
|
||||
*
|
||||
* Revision 1.5 2001/01/19 22:25:08 paul
|
||||
* Update copyright.
|
||||
*
|
||||
* Revision 1.4 2000/03/09 17:42:28 josh
|
||||
* setting up prototypes and includes where appropriate to eliminate
|
||||
* build warnings
|
||||
*
|
||||
* Revision 1.3 2000/03/07 21:17:34 josh
|
||||
* fixing log comments
|
||||
*
|
||||
* Revision 1.2 2000/03/07 20:58:38 josh
|
||||
* putting CVS headers and logs into files that were lacking
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __INCsnmpIoh
|
||||
#define __INCsnmpIoh
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* includes */
|
||||
#include <vxWorks.h>
|
||||
|
||||
|
||||
|
||||
/* function declarations */
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern STATUS snmpIoInit (void);
|
||||
extern void snmpIoMain (void);
|
||||
extern void snmpIoClose (void);
|
||||
extern void snmpIoWrite (void *, char *, int, void *, void *);
|
||||
void snmpIoTrapSend (int, int);
|
||||
void snmpIoViewInit (void);
|
||||
|
||||
#else /* __STDC__ */
|
||||
|
||||
extern STATUS snmpIoInit ();
|
||||
extern void snmpIoMain ();
|
||||
extern void snmpIoClose ();
|
||||
extern void snmpIoWrite ();
|
||||
void snmpIoTrapSend ();
|
||||
void snmpIoViewInit ();
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __INCsnmpIoh */
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
/* $Header: /usr/cvsroot/target/h/wrn/wm/snmp/vxagent/snmpdInit.h,v 1.1.1.1 2001/11/05 17:47:27 tneale Exp $ */
|
||||
|
||||
/* snmpInit.h - VxWorks SNMP Agent system initialization interface */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2005 Wind River Systems, Inc.
|
||||
* All rights reserved. Provided under license only.
|
||||
* Distribution or other use of this software is only
|
||||
* permitted pursuant to the terms of a license agreement
|
||||
* from Wind River Systems (and is otherwise prohibited).
|
||||
* Refer to that license agreement for terms of use.
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01g,19apr05,job update copyright notices
|
||||
01f,25nov03,ps copyright update
|
||||
01e,30apr98,ann Added pragma aligns for I960
|
||||
01d,11nov96,jag Cleaned up file header. Changed loglevel to traceLevel in
|
||||
snmpdInit().
|
||||
01c,12aug96,rjc removed memory partition options from snmpdInit ();
|
||||
01b,10jun96,rjc removed extra { #ifdef'd under _cplusplus
|
||||
01a,01may96,rjc Added copyright header
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Log: snmpdInit.h,v $
|
||||
* Revision 1.1.1.1 2001/11/05 17:47:27 tneale
|
||||
* Tornado shuffle
|
||||
*
|
||||
* Revision 1.5 2001/01/19 22:25:09 paul
|
||||
* Update copyright.
|
||||
*
|
||||
* Revision 1.4 2000/03/09 17:42:28 josh
|
||||
* setting up prototypes and includes where appropriate to eliminate
|
||||
* build warnings
|
||||
*
|
||||
* Revision 1.3 2000/03/07 21:17:35 josh
|
||||
* fixing log comments
|
||||
*
|
||||
* Revision 1.2 2000/03/07 20:58:39 josh
|
||||
* putting CVS headers and logs into files that were lacking
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __INCsnmpdInith
|
||||
#define __INCsnmpdInith
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* includes */
|
||||
|
||||
#include "vxWorks.h"
|
||||
|
||||
#if ((CPU_FAMILY==I960) && (defined __GNUC__))
|
||||
#pragma align 1 /* tell gcc960 not to optimize alignments */
|
||||
#endif /* CPU_FAMILY==I960 */
|
||||
|
||||
/* module structure */
|
||||
|
||||
typedef struct mib_module
|
||||
{
|
||||
FUNCPTR mibInitialize; /* initialization routine */
|
||||
FUNCPTR mibTerminate; /* termination routine */
|
||||
} MIB_MODULE;
|
||||
|
||||
#if ((CPU_FAMILY==I960) && (defined __GNUC__))
|
||||
#pragma align 0 /* turn off alignment requirement */
|
||||
#endif /* CPU_FAMILY==I960 */
|
||||
|
||||
/* function declarations */
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern STATUS snmpdInit (MIB_MODULE * pModules, int traceLevel, int prio,
|
||||
int stackSize);
|
||||
extern void snmpdExit (void);
|
||||
extern void generateTrap (int ifTrapType, int interfaceIndex,
|
||||
void * pM2TrapRtnArg);
|
||||
|
||||
|
||||
#else /* __STDC__ */
|
||||
|
||||
extern STATUS snmpdInit ();
|
||||
extern void snmpdExit ();
|
||||
extern void generateTrap ();
|
||||
|
||||
#endif /* __STDC__ */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __INCsnmpdInith */
|
||||
|
||||
@@ -0,0 +1,170 @@
|
||||
/* $Header: /usr/cvsroot/target/h/wrn/wm/snmp/vxagent/snmpdLib.h,v 1.4 2001/12/20 21:41:07 meister Exp $ */
|
||||
|
||||
/* snmpdLib.h - VxWorks SNMP Agent */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2005 Wind River Systems, Inc.
|
||||
* All rights reserved. Provided under license only.
|
||||
* Distribution or other use of this software is only
|
||||
* permitted pursuant to the terms of a license agreement
|
||||
* from Wind River Systems (and is otherwise prohibited).
|
||||
* Refer to that license agreement for terms of use.
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01l,19dec12,bbz add routine for installing pre-set hook(WIND00392673)
|
||||
01k,10jun10,y_t update for LP64
|
||||
01i,16sep08,y_t update for snmpdMemoryAlloc redefine
|
||||
01h,19apr05,job update copyright notices
|
||||
01g,25nov03,ps copyright update
|
||||
01f,05nov03,ps merge from latest on ickthwa_devel_branch.nh
|
||||
01e,02oct98,ann added missing function prototypes (SPR# 7017)
|
||||
01d,30apr98,ann changed snmpVbPrivFree prototype to avoid
|
||||
conflict with master-subagent.
|
||||
01c,07jun96,rjc removed extra } #ifdef'd under _cplusplus
|
||||
01b,16may96,rjc rewritten for snmp v1/v2c product
|
||||
01a,18feb94,elh written.
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Log: snmpdLib.h,v $
|
||||
* Revision 1.4 2001/12/20 21:41:07 meister
|
||||
* Add some more prototypes
|
||||
*
|
||||
* Revision 1.2 2001/11/06 21:50:42 josh
|
||||
* second (and hopefully final) pass of new path hacking
|
||||
*
|
||||
* Revision 1.1.1.1 2001/11/05 17:47:25 tneale
|
||||
* Tornado shuffle
|
||||
*
|
||||
* Revision 1.4 2001/01/19 22:25:08 paul
|
||||
* Update copyright.
|
||||
*
|
||||
* Revision 1.3 2000/03/08 20:09:17 josh
|
||||
* Adding V3 support to vxWorks port
|
||||
*
|
||||
* Revision 1.2 2000/03/07 20:58:38 josh
|
||||
* putting CVS headers and logs into files that were lacking
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __INCsnmpdLibh
|
||||
#define __INCsnmpdLibh
|
||||
|
||||
#include "vxWorks.h"
|
||||
#include <netinet/in.h> /* for htonl, ntohl etc */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* includes */
|
||||
#include <wrn/wm/snmp/engine/asn1.h>
|
||||
#include <wrn/wm/snmp/engine/snmp.h>
|
||||
#include <wrn/wm/snmp/engine/snmpdefs.h>
|
||||
|
||||
|
||||
#define MAX_OID_LEN 128 /* Max no of components in an OID */
|
||||
|
||||
#define SNMP_ERROR 1 /* error messages */
|
||||
#define SNMP_WARN 2 /* warning messages */
|
||||
#define SNMP_INFO 3 /* information messages */
|
||||
|
||||
struct Timer_Block {
|
||||
unsigned int when;
|
||||
void (*what)();
|
||||
};
|
||||
|
||||
#define S_snmpdLib_VIEW_CREATE_FAILURE (M_snmpdLib | 1)
|
||||
#define S_snmpdLib_VIEW_INSTALL_FAILURE (M_snmpdLib | 2)
|
||||
#define S_snmpdLib_VIEW_MASK_FAILURE (M_snmpdLib | 3)
|
||||
#define S_snmpdLib_VIEW_DEINSTALL_FAILURE (M_snmpdLib | 4)
|
||||
#define S_snmpdLib_VIEW_LOOKUP_FAILURE (M_snmpdLib | 5)
|
||||
#define S_snmpdLib_MIB_ADDITION_FAILURE (M_snmpdLib | 6)
|
||||
#define S_snmpdLib_NODE_NOT_FOUND (M_snmpdLib | 7)
|
||||
#define S_snmpdLib_INVALID_SNMP_VERSION (M_snmpdLib | 8)
|
||||
#define S_snmpdLib_TRAP_CREATE_FAILURE (M_snmpdLib | 9)
|
||||
#define S_snmpdLib_TRAP_BIND_FAILURE (M_snmpdLib | 10)
|
||||
#define S_snmpdLib_TRAP_ENCODE_FAILURE (M_snmpdLib | 11)
|
||||
#define S_snmpdLib_INVALID_OID_SYNTAX (M_snmpdLib | 12)
|
||||
|
||||
|
||||
/* function declarations */
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern void snmpdPktProcess (int, char *, void *, void *, void *);
|
||||
extern void snmpdLog (int, char *);
|
||||
extern STATUS snmpdTreeAdd (char *, MIBNODE_T *);
|
||||
extern void snmpdTreeRemove (char *);
|
||||
extern STATUS snmpdViewEntrySet (OIDC_T *, int, UINT_16_T, uchar_t *, int,
|
||||
int);
|
||||
extern void snmpdViewEntryRemove (OIDC_T *, int, UINT_16_T);
|
||||
extern STATUS snmpdView2275EntrySet (OIDC_T *, int, uchar_t *, ALENGTH_T,
|
||||
uchar_t *, int, int);
|
||||
extern void snmpdView2275EntryRemove (OIDC_T *, int, uchar_t *, ALENGTH_T);
|
||||
|
||||
extern int snmpOidToIpHostOrder (int, OIDC_T *, u_int *);
|
||||
|
||||
extern void snmpdTrapSend (void *, int, void **, void *, int, char *,
|
||||
OIDC_T *, int, u_int *, int, int, int, int (*)(SNMP_PKT_T *, void *),
|
||||
void *);
|
||||
extern STATUS snmpNextIndex (int, const OIDC_T *, OIDC_T * , const OIDC_T *, int);
|
||||
extern void snmpdGroupByGetprocAndInstance (SNMP_PKT_T *, VB_T *, int, OIDC_T *);
|
||||
extern void snmpdContinue (SNMP_PKT_T *);
|
||||
extern void snmpNextError (SNMP_PKT_T *, VB_T *);
|
||||
extern void snmpVbPrivFree (VB_T *);
|
||||
extern int snmpOidStrToArray (char *, OIDC_T *);
|
||||
extern void snmpdInitFinish (void (*)(SNMP_PKT_T *), int (*)(SNMP_PKT_T *), int (*)(SNMP_PKT_T *), int (*)(SNMP_PKT_T *),
|
||||
int (*)(SNMP_PKT_T *));
|
||||
extern void snmpdSetUserHook (void (*)(SNMP_PKT_T *),
|
||||
int (*)(SNMP_PKT_T *), int (*)(SNMP_PKT_T *),
|
||||
int (*)(SNMP_PKT_T *), int (*)(SNMP_PKT_T *));
|
||||
extern STATUS snmpdPktLockGet (SNMP_PKT_T *);
|
||||
extern void initStartSnmpd (void);
|
||||
extern void snmpdDyncfgInit (void);
|
||||
extern void snmpdInitInstalledComponentsValue (void);
|
||||
extern void snmpdShutdown (void);
|
||||
|
||||
#else /* __STDC__ */
|
||||
|
||||
extern void snmpdPktProcess ();
|
||||
extern void snmpdLog ();
|
||||
extern STATUS snmpdTreeAdd ();
|
||||
extern void snmpdTreeRemove ();
|
||||
extern int snmpdViewEntrySet ();
|
||||
extern void snmpdViewEntryRemove ();
|
||||
extern int snmpdView2275EntrySet ();
|
||||
extern void snmpdView2275EntryRemove ();
|
||||
extern int snmpOidToIpHostOrder ();
|
||||
extern void snmpdTrapSend ();
|
||||
extern int snmpNextIndex ();
|
||||
extern void groupVarBinds ();
|
||||
extern void snmpNextError ();
|
||||
extern void snmpVbPrivFree ();
|
||||
extern int snmpOidStrToArray ();
|
||||
extern void snmpdInitFinish ();
|
||||
extern void snmpdSetUserHook ();
|
||||
extern STATUS snmpdPktLockGet ();
|
||||
extern void snmpdGroupByGetprocAndInstance ();
|
||||
extern void snmpdContinue ();
|
||||
extern void initStartSnmpd ();
|
||||
extern void snmpdDyncfgInit ();
|
||||
extern void snmpdInitInstalledComponentsValue ();
|
||||
extern void snmpdShutdown ();
|
||||
|
||||
|
||||
|
||||
#endif /* __STDC__ */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __INCsnmpdLibh */
|
||||
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/* $Header: /usr/cvsroot/target/h/wrn/wm/snmp/vxagent/tae_sa.h,v 1.2 2001/11/06 21:35:16 josh Exp $ */
|
||||
/* tae_sa.h - default IO routines for the SNMP AgentX subagent */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2005 Wind River Systems, Inc.
|
||||
* All rights reserved. Provided under license only.
|
||||
* Distribution or other use of this software is only
|
||||
* permitted pursuant to the terms of a license agreement
|
||||
* from Wind River Systems (and is otherwise prohibited).
|
||||
* Refer to that license agreement for terms of use.
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
-------------------------
|
||||
01c,19apr05,job update copyright notices
|
||||
01b,25nov03,ps copyright update
|
||||
01a,08Jan2001,tneale Created for TAE subagent
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Log: tae_sa.h,v $
|
||||
* Revision 1.2 2001/11/06 21:35:16 josh
|
||||
* new revised path structure, first pass. Also removing useless
|
||||
* shell include files.
|
||||
*
|
||||
* Revision 1.1.1.1 2001/11/05 17:47:27 tneale
|
||||
* Tornado shuffle
|
||||
*
|
||||
* Revision 1.2 2001/04/16 19:38:45 josh
|
||||
* merging the kingfisher branch onto the trunk
|
||||
*
|
||||
* Revision 1.1.2.2 2001/03/12 22:11:45 tneale
|
||||
* Updated copyright
|
||||
*
|
||||
* Revision 1.1.2.1 2001/02/09 22:51:05 tneale
|
||||
* Support for non-kernel device management in TAE using AgentX
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __INCtae_sah
|
||||
#define __INCtae_sah
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* includes */
|
||||
#include <wrn/wm/snmp/engine/snmpdefs.h>
|
||||
#include <wrn/wm/snmp/engine/asn1conf.h>
|
||||
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
|
||||
extern void usrTaeSaInit (void);
|
||||
|
||||
#else /* __STDC__ */
|
||||
|
||||
extern void usrTaeSaInit ();
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cpluplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __INCtae_sah */
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright (C) 1999-2004 Wind River Systems, Inc.
|
||||
* All rights reserved. Provided under license only.
|
||||
* Distribution or other use of this software is only
|
||||
* permitted pursuant to the terms of a license agreement
|
||||
* from Wind River Systems (and is otherwise prohibited).
|
||||
* Refer to that license agreement for terms of use.
|
||||
*/
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Copyright 1994-1997 Epilogue Technology Corporation.
|
||||
* Copyright 1998 Integrated Systems, Inc.
|
||||
* All rights reserved.
|
||||
****************************************************************************/
|
||||
|
||||
/*
|
||||
* $Log: vxprotos.h,v $
|
||||
* Revision 1.5 2002/03/19 19:32:01 josh
|
||||
* add a prototype for function to dynamically add AgentX
|
||||
* MIB to MIB tree
|
||||
*
|
||||
* Revision 1.4 2002/01/04 22:31:55 tneale
|
||||
* Added prototype for ax_sub_dyncfg_init
|
||||
*
|
||||
* Revision 1.3 2001/12/20 21:41:08 meister
|
||||
* Add some more prototypes
|
||||
*
|
||||
* Revision 1.2 2001/11/29 18:31:40 meister
|
||||
* added prototype for _nvhard_read_v3proxy
|
||||
*
|
||||
* Revision 1.1.1.1 2001/11/05 17:47:25 tneale
|
||||
* Tornado shuffle
|
||||
*
|
||||
* Revision 1.1.2.2 2001/10/16 19:53:33 meister
|
||||
* Add initStartSnmpd()
|
||||
*
|
||||
* Revision 1.1.2.1 2001/10/16 19:25:35 meister
|
||||
* added this file as a place for prototypes for functions specific to
|
||||
* the vxWorks snmp agent
|
||||
*
|
||||
*/
|
||||
|
||||
/* [clearcase]
|
||||
modification history
|
||||
-------------------
|
||||
01b,21apr05,AJS Diffie-Hellman work
|
||||
01a,19apr05,job update copyright notices
|
||||
01a,13apr05,AJS Diffie-Hellman work
|
||||
*/
|
||||
|
||||
#ifndef WMSNMP_VXPROTO_H
|
||||
# define WMSNMP_VXPROTO_H 1
|
||||
|
||||
/*
|
||||
* vxprotos.h - this file contains prototypes for functions in the vxWorks
|
||||
* snmp agent.
|
||||
*/
|
||||
|
||||
#include <wrn/wm/snmp/engine/entlogic.h>
|
||||
|
||||
#if (INSTALL_SNMP_VXWORKS_VIRTUAL_STACK)
|
||||
extern STATUS usrVsSnmpUtilStart(void);
|
||||
extern STATUS vsSnmpUtilVSRemove(int vsnum);
|
||||
|
||||
#if (INSTALL_ENVOY_SNMP_VERSION_3)
|
||||
extern int _nvhard_vs_add(int vsnum);
|
||||
extern int _nvhard_vs_remove(int vsnum);
|
||||
extern void _vs_v3engine_set(ENT_LOGICAL_T *);
|
||||
#endif /* INSTALL_ENVOY_SNMP_VERSION_3 */
|
||||
|
||||
#endif /* INSTALL_SNMP_VXWORKS_VIRTUAL_STACK */
|
||||
|
||||
extern int _nvhard_read_v3myid (char *eng_id);
|
||||
extern int _nvhard_read_v3users (void);
|
||||
extern int _nvhard_read_v3groups (void);
|
||||
extern int _nvhard_read_v3access (void);
|
||||
extern int _nvhard_read_v3contexts (void);
|
||||
extern int _nvhard_read_v3taddr (void);
|
||||
extern int _nvhard_read_v3tparam (void);
|
||||
extern int _nvhard_read_v3notify (void);
|
||||
extern int _nvhard_read_v3nprof (void);
|
||||
extern int _nvhard_read_v3nfilt (void);
|
||||
extern int _nvhard_read_v3proxy (void);
|
||||
extern int _nvhard_read_community (void);
|
||||
extern int _nvhard_read_usmDHparams (void);
|
||||
|
||||
extern void v3_add_v3_mibs (void);
|
||||
extern void v3_user_dyncfg_init (void);
|
||||
extern void ax_add_ax_mibs (void);
|
||||
extern void ax_master_dyncfg_init (void);
|
||||
extern void ax_sub_dyncfg_init (void);
|
||||
extern void snmpCleanAgentXMaster (void);
|
||||
extern void snmpCleanAgentXSubagent (void);
|
||||
|
||||
extern void axSockClose (void);
|
||||
|
||||
extern void initStartSnmpd (void);
|
||||
|
||||
extern void snmpCleanUserTable (void);
|
||||
extern void snmpCleanSecurityToGroupTable (void);
|
||||
extern void snmpCleanAccessTable (void);
|
||||
extern void snmpCleanContextTable (void);
|
||||
extern void snmpCleanV3Tree (void);
|
||||
extern void snmpCleanTargetTables (void);
|
||||
extern void snmpCleanNotifyTables (void);
|
||||
extern void snmpCleanCommunityTable (void);
|
||||
extern void snmpCleanProxyTable (void);
|
||||
extern int snmpDHrand (void);
|
||||
|
||||
#endif /* WMSNMP_VXPROTO_H */
|
||||
Reference in New Issue
Block a user