aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorJoe Groocock <jgroocock@cloudflare.com>2019-09-20 13:41:29 +0100
committerMichael Brown <mcb30@ipxe.org>2020-07-22 12:44:51 +0100
commita08ee6e7221ea50d9096579d57674a07f3409da3 (patch)
treeffad4a137e5e0f9375bf17e92691b1040198b2aa /src/include/usr
parent145311c62e46feae1703e4b5da353603a99c21f5 (diff)
downloadipxe-a08ee6e7221ea50d9096579d57674a07f3409da3.tar.gz
[cmdline] Add "--timeout" parameter to "ifconf" command
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/ifmgmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/usr/ifmgmt.h b/src/include/usr/ifmgmt.h
index 5c386327b..52f88f957 100644
--- a/src/include/usr/ifmgmt.h
+++ b/src/include/usr/ifmgmt.h
@@ -14,7 +14,8 @@ struct net_device_configurator;
extern int ifopen ( struct net_device *netdev );
extern int ifconf ( struct net_device *netdev,
- struct net_device_configurator *configurator );
+ struct net_device_configurator *configurator,
+ unsigned long timeout );
extern void ifclose ( struct net_device *netdev );
extern void ifstat ( struct net_device *netdev );
extern int iflinkwait ( struct net_device *netdev, unsigned long timeout );