lwip-commits
[Top][All Lists]
Advanced

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

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Dirk Ziegelmeier
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-299-gdef87c0
Date: Fri, 10 Feb 2017 16:42:23 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  def87c0c23b03fc2a57a4738421297fa986a938e (commit)
       via  6ce9a01c3e1b8134a24da0098ae6f38786818a50 (commit)
       via  ab8119360e6a1759f29321ed7c98a08e2cffaf06 (commit)
      from  4a9db56f4c2ee35425fde4d827b0cbe6d0514636 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit def87c0c23b03fc2a57a4738421297fa986a938e
Author: Dirk Ziegelmeier <address@hidden>
Date:   Fri Feb 10 22:42:14 2017 +0100

    Add David's IPv6 multicast work to CHANGELOG

commit 6ce9a01c3e1b8134a24da0098ae6f38786818a50
Author: David van Moolenbroek <address@hidden>
Date:   Mon Feb 6 17:10:45 2017 +0000

    raw: add core support for multicast TX options
    
    The patch simply copies the relevant bits from the UDP implementation.
    Perhaps most notably, the patch does *not* copy the IPv4-only UDP
    support for IP_MULTICAST_IF, because that option can also be
    implemented using the interface index based approach. Largely thanks
    to this omission, at least on 32-bit platforms, this patch does not
    increase the RAW PCB size at all.

commit ab8119360e6a1759f29321ed7c98a08e2cffaf06
Author: David van Moolenbroek <address@hidden>
Date:   Mon Feb 6 14:12:37 2017 +0000

    udp: add core-level multicast support for IPv6
    
    So far, the UDP core module implemented only IPv4 multicast support.
    This patch extends the module with the features necessary for socket
    layers on top to implement IPv6 multicast support as well:
    
    o If a UDP PCB is bound to an IPv6 multicast address, a unicast source
      address is selected and used to send the packet instead, as is
      required (and was the case for IPv4 multicast already).
    
    o Unlike IPv4's IP_MULTICAST_IF socket option, which takes a source
      IPv4 address, the IPV6_MULTICAST_IF socket option (from RFC 3493)
      takes an interface identifier to denote the interface to use for
      outgoing multicast-destined packets. A new pair of UDP PCB API
      calls, udp_[gs]et_multicast_netif_index(), are added to support
      this. The new definition "NETIF_NO_INDEX" may be used to indicate
      that lwIP should pick an interface instead.
    
      IPv4 socket implementations may now also choose to map the given
      source address to an interface index immediately and use the new
      facility instead of the old udp_[gs]et_multicast_netif_addr() one.
      A side effect of limiting the old facility to IPv4 is that for dual-
      stack configurations with multicast support, the UDP PCB size is
      reduced by (up to) 16 bytes.
    
    o For configurations that enable loopback interface support, the IPv6
      code now also supports multicast loopback (IPV6_MULTICAST_LOOP).
    
    o The LWIP_MULTICAST_TX_OPTIONS opt.h setting now covers both IPv4
      and IPv6, and as such is no longer strictly linked to IGMP. It is
      therefore placed in its own lwIP options subgroup in opt.h.
    
    The IPV6_MULTICAST_HOPS socket option can already be implemented using
    the existing IP_MULTICAST_TTL support, and thus requires no additional
    changes. Overall, this patch should not break any existing code.

-----------------------------------------------------------------------

Summary of changes:
 CHANGELOG                |  3 +++
 src/api/sockets.c        |  8 +++----
 src/core/init.c          |  7 ++----
 src/core/ipv6/ip6.c      |  5 ++++
 src/core/raw.c           | 52 +++++++++++++++++++++++++++++++++-------
 src/core/udp.c           | 62 +++++++++++++++++++++++++++++++++---------------
 src/include/lwip/netif.h |  1 +
 src/include/lwip/opt.h   | 32 ++++++++++++++++++-------
 src/include/lwip/raw.h   | 19 +++++++++++++--
 src/include/lwip/udp.h   | 18 ++++++++++----
 10 files changed, 155 insertions(+), 52 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack



reply via email to

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