lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5785] Integrate SNMP initialization in tcpip.c


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #5785] Integrate SNMP initialization in tcpip.c
Date: Wed, 07 Mar 2007 08:19:35 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

Follow-up Comment #1, patch #5785 (project lwip):

Hm, I don't like the way SNMP gets it's sys_uptime anyway (since it produces
high system load calling snmp_inc_sysuptime even if you have no client which
reads it). AND it's not very accurate if called by an lwIP timeout timer (as
stated in discussion to bug #19167).

If we do the timeouts using a timestamp, we can get the sys_up_time when the
client reads it, that would be more accurate.

I agree with you we need an lwip_init() init function. But I think it would
be better not to integrate it in tcpip.c. I think this should also be
available to raw-only users. We could make the right initialization for both
configurations.
Having a function like lwip_init() would definitively help new users!

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5785>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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