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: Mon, 12 Mar 2007 09:29:56 +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 #14, patch #5785 (project lwip):

Hm, 64 bit is what I would favour, also. But 64-bit calculating in on a
16-bit processor is not what you can call fast, I think! Plus we need that
timestamp rather often...

But I would favour a portable solution (like a sys_time_t) which allows for
64bit or 32bit time (16bit is too short). I think Dmitrys patch can do that.

Regarding the SNMP sysUpTime value: if it is defined to be in 100th of
seconds (not 1000th), we should implement it that way. Of course, (also with
the current solution?) if you count the time in ms and the nconvert to 10ms,
you get an overflow after 49,7 days instead of 497 days. I don't think that's
a real problem. As you say, "not infinite"...

I would definitively not change SNMP time implementation until that timestamp
thing is solved. (sysuptime+=inc would work but is a suboptimal solution, I
think.)

This leads us to bugs #19167 and #1902:

Should we implement this / check it in to CVS HEAD or not???? It will break
current ports, but I think it's worth it!

Kieran?

    _______________________________________________________

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]