lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #19800] IGMP: igmp_tick() will not work with NO_SYS=1


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #19800] IGMP: igmp_tick() will not work with NO_SYS=1
Date: Fri, 04 May 2007 21:50:47 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

URL:
  <http://savannah.nongnu.org/bugs/?19800>

                 Summary: IGMP: igmp_tick() will not work with NO_SYS=1
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Freitag 04.05.2007 um 21:50
                Category: IPv4
                Severity: 1 - Wish
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Because it uses sys_timeout() directly, igmp_tick() will not work with
NO_SYS=1 since for this, sys_timeout() is defined to nothing.

I propose to just remove the sys_timeout() call from igmp_tick() and instead
including a comment that this function has to be called every x
milliseconds.

Then, I would create a wrapper function in tcpip.c for those who use netconn
or socket API and create the timer in tcpip_init() (like for all the other
timers). This way, one can call igmp_init() from anyywhere (e.g.
initialization before OS starts), also, which resembles the init scheme for
the other modules.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19800>

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





reply via email to

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