tcpip.c, igmp.h, igmp.c: Fixed bug "#19800 : IGMP: igmp_tick() will not work with NO_SYS=1". Note that igmp_init is always in tcpip_thread (and not in tcpip_init) because we have to be sure that network interfaces are already added (mac filter is updated only in igmp_init for the moment).

This commit is contained in:
fbernon
2007-05-16 14:12:52 +00:00
parent 2e479b88a8
commit 0f8a2d6418
4 changed files with 28 additions and 19 deletions

View File

@@ -71,7 +71,7 @@ struct igmpmsg {
#define IGMP_LEAVE_GROUP 0x17 /* Leave-group message */
/* Timer */
#define IGMP_TICK 100 /* Milliseconds */
#define IGMP_TMR_INTERVAL 100 /* Milliseconds */
/* MAC Filter Actions */
#define IGMP_DEL_MAC_FILTER 0
@@ -137,7 +137,7 @@ err_t igmp_joingroup( struct netif* ifp, struct ip_addr *groupaddr);
err_t igmp_leavegroup( struct netif* ifp, struct ip_addr *groupaddr);
void igmp_tick(void *arg);
void igmp_tmr();
void igmp_timeout( struct igmp_group *group);