lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #10495] Support for IP_MULTICAST_LOOP option


From: Stephane Lesage
Subject: [lwip-devel] [task #10495] Support for IP_MULTICAST_LOOP option
Date: Sat, 10 Jul 2010 00:19:22 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

URL:
  <http://savannah.nongnu.org/task/?10495>

                 Summary: Support for IP_MULTICAST_LOOP option
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: slesage
            Submitted on: sam 10 jui 2010 02:19:22 CEST
                Category: UDP
         Should Start On: sam 10 jui 2010 00:00:00 CEST
   Should be Finished on: sam 10 jui 2010 00:00:00 CEST
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

Hi,

here's a patch to support IP_MULTICAST_LOOP option at socket level with
equivalent flag in UDP pcb.

it's enabled only when LWIP_IGMP is defined.

How it works:
- in udp_sendto_if(), if destination is multicast and pcb has
UDP_FLAGS_MULTICAST_LOOP set, then set a new flag PBUF_FLAG_MCASTLOOP in the
pbuf

- in ip_output_if(), if the pbuf has PBUF_FLAG_MCASTLOOP set,
then call netif_loop_output() before continuing to ip_frag() or
netif->output()






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: sam 10 jui 2010 02:19:22 CEST  Name: lwip_multicast_loop.patch  Size: 4
ko   By: slesage

<http://savannah.nongnu.org/task/download.php?file_id=20934>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10495>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

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