[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <766da3da-04cb-4131-ba1f-6d821304dfa2@6wind.com>
Date: Mon, 9 Dec 2024 16:50:18 +0100
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Yuyang Huang <yuyanghuang@...gle.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
David Ahern <dsahern@...nel.org>, roopa@...ulusnetworks.com,
jiri@...nulli.us, stephen@...workplumber.org, jimictw@...gle.com,
prohr@...gle.com, liuhangbin@...il.com, andrew@...n.ch,
netdev@...r.kernel.org, Maciej Żenczykowski
<maze@...gle.com>, Lorenzo Colitti <lorenzo@...gle.com>
Subject: Re: [PATCH iproute2-next, v5 2/2] iproute2: add 'ip monitor maddress'
support
Le 07/12/2024 à 10:20, Yuyang Huang a écrit :
> Enhanced the 'ip monitor' command to track changes in IPv4 and IPv6
> multicast addresses. This update allows the command to listen for
> events related to multicast address additions and deletions by
> registering to the newly introduced RTNLGRP_IPV4_MCADDR and
> RTNLGRP_IPV6_MCADDR netlink groups.
>
> This patch depends on the kernel patch that adds RTNLGRP_IPV4_MCADDR
> and RTNLGRP_IPV6_MCADDR being merged first.
>
> Here is an example usage:
>
> root@...-x86-64:/# ip monitor maddress
> 8: nettest123 inet6 mcast ff01::1 scope global
> 8: nettest123 inet6 mcast ff02::1 scope global
> 8: nettest123 inet mcast 224.0.0.1 scope global
> 8: nettest123 inet6 mcast ff02::1:ff00:7b01 scope global
> Deleted 8: nettest123 inet mcast 224.0.0.1 scope global
> Deleted 8: nettest123 inet6 mcast ff02::1:ff00:7b01 scope global
> Deleted 8: nettest123 inet6 mcast ff02::1 scope global
>
> Cc: Maciej Żenczykowski <maze@...gle.com>
> Cc: Lorenzo Colitti <lorenzo@...gle.com>
> Signed-off-by: Yuyang Huang <yuyanghuang@...gle.com>
Reviewed-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Powered by blists - more mailing lists