Commit Message

This patch add the support of proxy multicast, ie being able to build a static
multicast tree. It adds the support of (*,*) and (*,G) entries.
The user should define an (*,*) entry which is not used for real forwarding.
This entry defines the upstream in iif and contains all interfaces from the
static tree in its oifs. It will be used to forward packet upstream when they
come from an interface belonging to the static tree.
Hence, the user should define (*,G) entries to build its static tree. Note that
upstream interface must be part of oifs: packets are sent to all oifs
interfaces except the input interface. This ensures to always join the whole
static tree, even if the packet is not coming from the upstream interface.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
include/uapi/linux/mroute.h | 4 +-
include/uapi/linux/mroute6.h | 4 +-
net/ipv4/ipmr.c | 118 +++++++++++++++++++++++++++++++++++-----
net/ipv6/ip6mr.c | 126 ++++++++++++++++++++++++++++++++++++++-----
4 files changed, 224 insertions(+), 28 deletions(-)

The goal of this serie is to add the support of proxy multicast, ie being able
to build a static multicast tree. In other words, it adds the support of (*,G)
mf[6]c entries.
v2: use INADDR_ANY instead of 0 for IPv4 addresses
include/linux/mroute.h | 2 +-
include/linux/mroute6.h | 2 +-
include/uapi/linux/in6.h | 15 ++----
include/uapi/linux/mroute.h | 3 ++
include/uapi/linux/mroute6.h | 3 ++
net/ipv4/ipmr.c | 119 +++++++++++++++++++++++++++++++++++-----
net/ipv6/ip6mr.c | 126 ++++++++++++++++++++++++++++++++++++++-----
7 files changed, 231 insertions(+), 39 deletions(-)
Comments are welcome.
Regards,
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Mon, 21 Jan 2013 17:00:24 +0100
> The goal of this serie is to add the support of proxy multicast, ie being able> to build a static multicast tree. In other words, it adds the support of (*,G)> mf[6]c entries.> > v2: use INADDR_ANY instead of 0 for IPv4 addresses
I'll apply this, thanks Nicolas.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html