sandbox: eth: Add a function to skip ping timeouts
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 21 Apr 2015 18:57:19 +0000 (13:57 -0500)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 02:58:18 +0000 (20:58 -0600)
commit6f2707c6b135681f821b55cac484a7512f5fe79a
tree78979b30fec39a6050430b0bafeb88425d24d737
parent909bd6d9729cb0c6ba6b80cdc283bbd3e1e12770
sandbox: eth: Add a function to skip ping timeouts

When called, the next call to receive will trigger a 10-second leap
forward in time to avoid waiting for time to pass when tests are
evaluating timeout behavior.

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