OSDN Git Service

selftests: net: bridge: add initial MLDv2 include test
authorNikolay Aleksandrov <nikolay@nvidia.com>
Tue, 3 Nov 2020 17:24:00 +0000 (19:24 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Nov 2020 00:55:47 +0000 (16:55 -0800)
commit444c897111b02b06599b92e597436e09bd969501
treed7be9ed09a7005228c35d13390d5395bf8d296a4
parent95e6f430ebfee51ac174e234388e7c6e8216ff2c
selftests: net: bridge: add initial MLDv2 include test

Add the initial setup for MLDv2 tests with the first test of a simple
is_include report. For MLDv2 we need to setup the bridge properly and we
also send the full precooked packets instead of relying on mausezahn to
fill in some parts. For verification we use the generic S,G state checking
functions from lib.sh.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/bridge_mld.sh [new file with mode: 0755]