252N/A * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. 252N/A * U.S. Government Rights - Commercial software. Government users are subject 252N/A * to the Sun Microsystems, Inc. standard license agreement and applicable 252N/A * provisions of the FAR and its supplements. 252N/A * This distribution may include materials developed by third parties. Sun, 252N/A * Sun Microsystems, the Sun logo and Solaris are trademarks or registered 252N/A * trademarks of Sun Microsystems, Inc. in the U.S. and other countries. 252N/A * Note: this file originally auto-generated by mib2c using 252N/A/* End of Fix for 4929068 */ 252N/A/* time between entConfigChange traps in 1/1000th of a second */ 252N/A/* End of Fix for 4929068 */ 252N/A/* Static storage for markers */ 252N/A/* Pointers to storage for markers */ 252N/A/* End of Fix for 4928832 */ 252N/A/* 4929068 - structures for debugging throttling period waits 252N/Astatic struct timeval alarmTimeStorage; 252N/Astatic marker_t alarmTime; 252N/A * returns the value of sysUpTime in TimeTicks 252N/A/* Initializes the entLastChangeTime module */ 252N/A {
1,
3,
6,
1,
2,
1,
47,
1,
4,
1, 0 };
252N/A/* End of Fix for 4928832 */ 252N/A/* End of Fix for 4928828 */ 252N/A alarmTime = (marker_t)&alarmTimeStorage; 252N/A * alarm_entLastChangeTime - called after throttle period over, 252N/A * poll to see if anything was suppressed. 252N/A atime_setMarker(alarmTime); 252N/A printf("alarm_entLastChangeTime, marker time = %d\n", 252N/A (netsnmp_marker_uptime(alarmTime) & 0xFFFFFFFF)); 252N/A/* End of Fix for 4929068 */ 252N/A * We are never called for a GETNEXT if it's registered as a 252N/A * "instance", as it's "magically" handled for us. 252N/A * a instance handler also only hands us one request at a time, so 252N/A * we don't need to loop over a list of requests; we'll only get one. 252N/A * we should never get here, so this is a really bad error 252N/A /* don't issue trap if within throttle period */ 252N/A /* there was a change since the last trap was issued */ 252N/A * Set up alarm to wake up TRAP_THROTTLE_PERIOD_SECS seconds 252N/A * after the last trap was sent. If anything was suppressed, 252N/A /* End of Fix for 4929068 */