lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8724] Add multicast support to loopif


From: Joel Cunningham
Subject: [lwip-devel] [patch #8724] Add multicast support to loopif
Date: Mon, 24 Aug 2015 19:48:57 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0

Follow-up Comment #2, patch #8724 (project lwip):

The link-up bug was fixed in commit 5b0d9338fd5f2c90e3cbd40970bc11f16631b17c,
before that was fixed, loopif didn't even work for unicast traffic

My products use the loopback interface for same-machine communication that
needs to be available all the time, regardless of the state of the real netifs
(which are WiFi netifs that go up/down frequently during run-time)

This commit just enables multicast to be sent over the loopif and looped back.
 Without enabling NETIF_FLAG_IGMP, looped back multicast messages will be
dropped in ip4_input, where it checks if the input netif has NETIF_FLAG_IGMP
set and that netif has joined the multicast group

Also calls to IP_ADD_MEMBERSHIP fail if the netif doesn't have NETIF_FLAG_IGMP
set

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8724>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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