[Top][All Lists]

[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: Gecko/20070309 Firefox/


                 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



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

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:


  Nachricht geschickt von/durch Savannah

reply via email to

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