/*
*
* U.S. Government Rights - Commercial software. Government users are subject
* to the Sun Microsystems, Inc. standard license agreement and applicable
* provisions of the FAR and its supplements.
*
*
* This distribution may include materials developed by third parties. Sun,
* Sun Microsystems, the Sun logo and Solaris are trademarks or registered
* trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
*
*/
#pragma ident "@(#)snmpvars.h 2.19 01/07/06 SMI"
#endif
/****************************************************************************
* Copyright (c) 1988 Epilogue Technology Corporation
* All rights reserved.
*
* This is unpublished proprietary source code of Epilogue Technology
* Corporation.
*
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
****************************************************************************/
/* $Header: /net/bigblock.east/files5/SMA_CVS/sun/agent/modules/seaExtensions/snmpvars.h,v 1.3 2003/08/12 21:14:54 rr144420 Exp $ */
/*
* $Log: snmpvars.h,v $
* Revision 1.3 2003/08/12 21:14:54 rr144420
* 4895376 - correct Sun copyright statements. Cannot use (c), and must use Copyright Copyright in makefiles
*
* Revision 1.2 2003/08/08 15:39:54 pcarroll
* 4895376 - The copyright statement in the demo* codes do not look right
*
* Revision 1.1 2003/07/28 17:59:23 dporter
* 4892877 - Need SMA Agent to implement sun extensions found in SEA sun.mib
*
*
* Rev 2.0 31 Mar 1990 15:34:28
* Initial revision.
*
* Rev 1.1 26 Aug 1989 16:50:34
* Moved ipForwarding into the ip_stats structure.
*
* Rev 1.0 14 Nov 1988 10:27:16
* Initial revision.
*/
#if (!defined(snmpvars_inc))
#define snmpvars_inc
#if (!defined(asn1_inc))
#include <asn1.h>
#endif
/**********************************************************************
*
* Define the various SNMP management variables used in this system.
*
* This file should closely match snmpvars.c
*
**********************************************************************/
/* If you change the following definition, you also need to */
/* change the sscanf format in setup.c accordingly. */
/* If you redefine MAX_TRAPS_TO the scanf in read_con.c needs to */
/* be changed accordingly. */
extern int trap_2_cnt; /* How many entries follow */
/* If you redefine MAX_MGR_SCANF the scanf in read_con.c needs to */
/* be changed accordingly. */
extern int mgr_cnt; /* How many entries follow */
#if 0
extern int if_number; /* ifNumber */
#endif
extern char snmp_sysgrp_read_community[];
extern char snmp_sysgrp_write_community[];
extern char snmp_fullmib_read_community[];
extern char snmp_fullmib_write_community[];
extern char snmp_trap_community[];
extern char snmp_auth_traps;
extern OIDC_T snmp_product_id[];
extern int snmp_product_id_count;
extern OBJ_ID_T snmp_sysObjectID;
extern unsigned char snmp_local_ip_address[];
extern char snmp_sysDescr[];
extern char snmp_sysContact[];
extern char snmp_sysName[];
extern char snmp_sysLocation[];
extern char kernel_file[];
extern int trap_sd;
extern int cache_lifetime;
extern int snmp_socket; /* Socket used to send traps and */
/* usually UDP port 161 */
struct new_devicess {
int type;
long speed;
int new_device_pointer;
#endif /* snmpvars_inc */