[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201008135024.1515468-1-razor@blackwall.org>
Date: Thu, 8 Oct 2020 16:50:18 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: netdev@...r.kernel.org
Cc: roopa@...dia.com, dsahern@...il.com,
Nikolay Aleksandrov <nikolay@...dia.com>
Subject: [PATCH iproute2-next 0/6] bridge: mdb: add support for IGMPv3/MLDv2 attributes
From: Nikolay Aleksandrov <nikolay@...dia.com>
Hi,
This set adds support for IGMPv3/MLDv2 attributes, they're mostly
read-only at the moment. The only new "set" option is the source address
for S,G entries. It is added in patch 01 (see the patch commit message for
an example). Patch 02 shows a missing flag (fast_leave) for
completeness, then patch 03 shows the new IGMPv3/MLDv2 flags:
added_by_star_ex and blocked. Patches 04-06 show the new extra
information about the entry's state when IGMPv3/MLDv2 are enabled. That
includes its filter mode (include/exclude), source list with timers and
origin protocol (currently only static/kernel), in order to show the new
information the user must use "-d"/show_details.
Here's the output of a few IGMPv3 entries:
dev bridge port ens12 grp 239.0.0.1 src 20.21.22.23 temp filter_mode include proto kernel blocked 0.00
dev bridge port ens12 grp 239.0.0.1 src 8.9.10.11 temp filter_mode include proto kernel blocked 0.00
dev bridge port ens12 grp 239.0.0.1 src 1.2.3.1 temp filter_mode include proto kernel blocked 0.00
dev bridge port ens12 grp 239.0.0.1 temp filter_mode exclude source_list 20.21.22.23/0.00,8.9.10.11/0.00,1.2.3.1/0.00 proto kernel 26.65
Thanks,
Nik
Nikolay Aleksandrov (6):
bridge: mdb: add support for source address
bridge: mdb: print fast_leave flag
bridge: mdb: show igmpv3/mldv2 flags
bridge: mdb: print filter mode when available
bridge: mdb: print source list when available
bridge: mdb: print protocol when available
bridge/mdb.c | 123 ++++++++++++++++++++++++++++++++++++++++------
man/man8/bridge.8 | 8 +++
2 files changed, 117 insertions(+), 14 deletions(-)
--
2.25.4
Powered by blists - more mailing lists