lwip-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] lwip CHANGELOG src/core/snmp/mib2.c src/include...


From: Frédéric Bernon
Subject: [lwip-commits] lwip CHANGELOG src/core/snmp/mib2.c src/include...
Date: Mon, 10 Sep 2007 18:50:45 +0000

CVSROOT:        /sources/lwip
Module name:    lwip
Changes by:     Frédéric Bernon <fbernon>     07/09/10 18:50:45

Modified files:
        .              : CHANGELOG 
        src/core/snmp  : mib2.c 
        src/include/lwip: snmp.h 

Log message:
        enable to remove SNMP timer (which consumne several cycles even when 
it's not necessary). snmp_agent.txt tell to call snmp_inc_sysuptime() each 10ms 
(but, it's intrusive if you use sys_timeout feature). Now, you can decide to 
call snmp_add_sysuptime(100) each 1000ms (which is bigger "step", but call to a 
lower frequency). Or, you can decide to not call snmp_inc_sysuptime() or 
snmp_add_sysuptime(), and to define the SNMP_GET_SYSUPTIME(sysuptime) macro. 
This one is undefined by default in mib2.c. SNMP_GET_SYSUPTIME is called inside 
snmp_get_sysuptime(u32_t *value), and enable to change "sysuptime" value only 
when it's queried (any direct call to "sysuptime" is changed by a call to 
snmp_get_sysuptime).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/lwip/CHANGELOG?cvsroot=lwip&r1=1.222&r2=1.223
http://cvs.savannah.gnu.org/viewcvs/lwip/src/core/snmp/mib2.c?cvsroot=lwip&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/lwip/src/include/lwip/snmp.h?cvsroot=lwip&r1=1.21&r2=1.22




reply via email to

[Prev in Thread] Current Thread [Next in Thread]