Index: igmp.h =================================================================== RCS file: /sources/lwip/lwip/src/include/ipv4/lwip/igmp.h,v retrieving revision 1.7 diff -u -r1.7 igmp.h --- igmp.h 16 May 2007 14:12:52 -0000 1.7 +++ igmp.h 11 Jul 2007 16:49:31 -0000 @@ -36,6 +36,7 @@ #define IGMPH #include "lwip/opt.h" +#include "lwip/ip_addr.h" /* IGMP support available? */ #if defined(LWIP_IGMP) && (LWIP_IGMP > 0) @@ -78,6 +79,7 @@ #define IGMP_ADD_MAC_FILTER 1 /* Group membership states */ +#define DEAD_MEMBER -1 #define NON_MEMBER 0 #define DELAYING_MEMBER 1 #define IDLE_MEMBER 2 @@ -127,9 +129,9 @@ /* Prototypes */ void igmp_init(void); -struct igmp_group *lookfor_group(struct netif *ifp, struct ip_addr *addr); +struct igmp_group *igmp_lookfor_group(struct netif *ifp, struct ip_addr *addr); -struct igmp_group *lookup_group(struct netif *ifp, struct ip_addr *addr); +struct igmp_group *igmp_lookup_group(struct netif *ifp, struct ip_addr *addr); void igmp_input( struct pbuf *p, struct netif *inp, struct ip_addr *dest); @@ -137,7 +139,7 @@ err_t igmp_leavegroup( struct netif* ifp, struct ip_addr *groupaddr); -void igmp_tmr(); +void igmp_tmr(void); void igmp_timeout( struct igmp_group *group);