selftests: forwarding: Move IGMP- and MLD-related functions to lib
authorPetr Machata <petrm@nvidia.com>
Thu, 2 Feb 2023 17:59:27 +0000 (18:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2023 08:48:26 +0000 (08:48 +0000)
commit344dd2c9e74373cca454dcea4b62be50adc35939
treea4626d1e0869190a0698ae860e21db7501b946fc
parenta1aee20d5db29dc73331067b6a338eb650f0b5f1
selftests: forwarding: Move IGMP- and MLD-related functions to lib

These functions will be helpful for other testsuites as well. Extract them
to a common place.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/bridge_mdb.sh
tools/testing/selftests/net/forwarding/lib.sh