Skip to content

bridge: mdb: add support for IGMPv3/MLDv2 attributes

Nikolay Aleksandrov netdev 1 version Applied

Status from this message: applied to iproute2-next. Thanks, Nik

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6bridge: mdb: add support for source addressbridge/mdb.c man/man8/bridge.8+40 -60 replies
2/6bridge: mdb: print fast_leave flagbridge/mdb.c+2 -00 replies
3/6bridge: mdb: show igmpv3/mldv2 flagsbridge/mdb.c+4 -00 replies
4/6bridge: mdb: print filter mode when availablebridge/mdb.c+7 -00 replies
5/6bridge: mdb: print source list when availablebridge/mdb.c+62 -130 replies
6/6bridge: mdb: print protocol when availablebridge/mdb.c+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2-next 0/6] bridge: mdb: add support for IGMPv3/MLDv2 attributes

From: Nikolay Aleksandrov <[email protected]>

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(-)
Signature · 1 line
2.25.4