commit | 11b850372132ee2488304cff3981e19c388eeb5e | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Wed Sep 26 16:48:59 2018 -0500 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Wed Oct 10 12:28:59 2018 -0500 |
tree | 8ca670695d6931a755c059d66b0e66f662183f82 | |
parent | 5641f67c81121b1a8c77d8274f654c939a390766 [diff] |
net: sandbox: Add a priv ptr for tests to use Tests need to be able to pass their "unit test state" to the handlers where asserts are evaluated. Add a function that allows the tests to set this private data on the sandbox eth device. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>