u-boot/arch/sandbox/include/asm/eth.h
Joe Hershberger 6f2707c6b1 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>
2015-05-05 20:58:18 -06:00

17 lines
312 B
C

/*
* Copyright (c) 2015 National Instruments
*
* (C) Copyright 2015
* Joe Hershberger <joe.hershberger@ni.com>
*
* SPDX-License-Identifier: GPL-2.0
*/
#ifndef __ETH_H
#define __ETH_H
void sandbox_eth_disable_response(int index, bool disable);
void sandbox_eth_skip_timeout(void);
#endif /* __ETH_H */