]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: lib: add support for IPv6 mcast packet test
authorNikolay Aleksandrov <nikolay@nvidia.com>
Tue, 3 Nov 2020 17:23:58 +0000 (19:23 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Nov 2020 00:55:47 +0000 (16:55 -0800)
commit3fcdc8f6b730354e1a292b92afe7127978f3b2b7
tree3970d04f55e2393dd0391051f245dbbdcab8862d
parentdb22c49721149c580ace90529ebb9831cad5346c
selftests: net: lib: add support for IPv6 mcast packet test

In order to test an IPv6 multicast packet we need to pass different tc
and mausezahn protocols only, so add a simple check for the destination
address which decides if we should generate an IPv4 or IPv6 mcast
packet.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/lib.sh