selftests: Add options to set network namespace to nettest
authorDavid Ahern <dsahern@gmail.com>
Thu, 14 Jan 2021 03:09:40 +0000 (20:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 00:26:48 +0000 (16:26 -0800)
commit092e0ceb12f28450c8db095b5f417fde923abc07
treefd1f4c5a54f546e255c943af14296a5543dd4ea2
parentf2f575840a598ba9a6685cdafac498be4f118757
selftests: Add options to set network namespace to nettest

Add options to specify server and client network namespace to
use before running respective functions.

Signed-off-by: Seth David Schoen <schoen@loyalty.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/nettest.c