From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: "Linus Lüssing" <linus.luessing@c0d3.blue>,
"David Bauer" <mail@david-bauer.net>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batctl: add switch for setting multicast_fanout
Date: Thu, 14 Feb 2019 21:45:22 +0100 [thread overview]
Message-ID: <8119162.K4mufomEW5@sven-edge> (raw)
In-Reply-To: <20190214125415.6472-1-linus.luessing@c0d3.blue>
[-- Attachment #1: Type: text/plain, Size: 2125 bytes --]
On Thursday, 14 February 2019 13.54.15 CET Linus Lüssing wrote:
> This patch adds an option for the new multicast_fanout setting in
> batman-adv.
>
> Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
> ---
> Makefile | 1 +
> README.rst | 10 +++++
> batman_adv.h | 7 ++++
> man/batctl.8 | 5 +++
> multicast_fanout.c | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 138 insertions(+)
> create mode 100644 multicast_fanout.c
change in event.c is missing to parse the mcast "config" group messages with
BATADV_ATTR_MULTICAST_FANOUT.
BATADV_ATTR_MULTICAST_FANOUT was not added to netlink.c's
batadv_netlink_policy
> diff --git a/Makefile b/Makefile
> index 4d8b709..15bc3ec 100755
> --- a/Makefile
> +++ b/Makefile
> @@ -69,6 +69,7 @@ $(eval $(call add_command,log,y))
> $(eval $(call add_command,loglevel,y))
> $(eval $(call add_command,mcast_flags,y))
> $(eval $(call add_command,multicast_mode,y))
> +$(eval $(call add_command,multicast_fanout,y))
> $(eval $(call add_command,nc_nodes,y))
> $(eval $(call add_command,neighbors,y))
> $(eval $(call add_command,network_coding,y))
multicast_fanout comes before multicast_mode (alphabetical order)
> diff --git a/README.rst b/README.rst
> index 4c0f544..a3a61ac 100644
> --- a/README.rst
> +++ b/README.rst
> @@ -478,6 +478,16 @@ Usage::
> batctl multicast_mode|mm [0|1]
>
>
> +batctl multicast_fanout
> +=====================
> +
> +display or modify the multicast fanout setting
[...]
This is not valid restructuredtext:
$ rst2html README.rst > /dev/null
README.rst:482: (WARNING/2) Title underline too short.
batctl multicast_fanout
=====================
README.rst:482: (WARNING/2) Title underline too short.
batctl multicast_fanout
=====================
[...]
> +static struct settings_data batctl_settings_multicast_fanout = {
> + .sysfs_name = "multicast_fanout",
There should be no sysfs_name for this (see discussion in batman-adv patch).
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2019-02-14 20:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-14 12:54 [B.A.T.M.A.N.] [PATCH] batctl: add switch for setting multicast_fanout Linus Lüssing
2019-02-14 20:45 ` Sven Eckelmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8119162.K4mufomEW5@sven-edge \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=linus.luessing@c0d3.blue \
--cc=mail@david-bauer.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox