lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] Improved IGMP


From: Bill Florac
Subject: [lwip-devel] Improved IGMP
Date: Tue, 17 Jul 2007 01:40:58 -0500

I have a improved (or at least I think so) implementation of IGMP. I would like 
to submit it for other to use, make comments and perhaps include in some future 
version of lwIP.
 
Is there somewhere I can post this code?  Should I provide diffs too?
 
Bill Florac
 
 
Here is my list of changes. Most of these were listed in previous emails.
 
- NOTES: This only implements "host" function
         Interface should be up before joining groups
- Removed igmp_init() from tcpip_thread() function and force users to call 
  after netif_add() [Perhas there is a better solution]
- Reworked igmp.c to allow for different group list per interface. 
  [This required adding a igmp_group_list to the netif structure (netif.h).]
- Reworked igmp.c so debug reporting was formatted like other lwip files.
  [I hope don't offended anyone.]
- Reworked igmp.c so all function names all begin with "igmp".
- netif_add() now initializes igmp_mac_filter to NULL 
  [as well as the new field igmp_group_list.]
- igmp_joingroup() now checks to make sure you only add multicast addresses 
  to the list.
- Added group_state member DEAD_MEMBER to separate groups that are being 
  initialized to those that are stale.  [This allow correct building of hash 
  key as we may not deleting records]
- Removed igmp_mac_filter() to allrouters group. 
  [I don't think this needed in V2]
- In igmp_input(), changed igmp_lookup_group() to igmp_lookfor_group.
  [If it's not for us, we don't want it!]
- igmp_leavegroup() can now delete memory used by the group. 
  Use LWIP_IGMP_FREE_GROUPS to enable this feature

 
 




reply via email to

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