Re: [B.A.T.M.A.N.] [PATCHv14 4/6] batman-adv: Modified forwarding behaviour for multicast packets

Marek Lindner
2014-02-16T06:28:41Z

[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]

On Saturday 15 February 2014 17:47:52 Linus Lüssing wrote:
> With this patch a multicast packet is not always simply flooded anymore,
> the behaviour for the following cases is changed to reduce
> unnecessary overhead:
>
> If all nodes within the horizon of a certain node have signalized
> multicast listener announcement capability then an IPv6 multicast packet
> with a destination of IPv6 link-local scope (excluding ff02::1) coming
> from the upstream of this node...
>
> * ...is dropped if there is no according multicast listener in the
> translation table,
> * ...is forwarded via unicast if there is a single node with interested
> multicast listeners
> * ...and otherwise still gets flooded.
>
> Signed-off-by: Linus Lüssing <linus.luessing@web.de>
> ---
> multicast.c | 127
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> multicast.h | 25 ++++++++++
> send.c | 10 ++--
> send.h | 5 ++
> soft-interface.c | 20 +++++++-
> sysfs-class-net-mesh | 9 ++++
> sysfs.c | 6 +++
> translation-table.c | 92 ++++++++++++++++++++++++++++--------
> translation-table.h | 2 +
> types.h | 7 +++
> 10 files changed, 277 insertions(+), 26 deletions(-)

Applied in revision 405cc1e.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]