net: sandbox: Share the priv structure with tests
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 26 Sep 2018 21:48:56 +0000 (16:48 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:57 +0000 (12:28 -0500)
commit76a503439e38be9d4fe365bdf87a6d0e74ea41c9
tree09b4d6d849976b0f79e8de443990d1549c31d7ab
parentc7eb733d606667508b69ee922e9738d55259304e
net: sandbox: Share the priv structure with tests

If tests want to implement tx handlers, they will likely need access to
the details in the priv structure.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/include/asm/eth.h
drivers/net/sandbox.c