aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/usr/ifmgmt.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2013-11-04 17:05:53 +0000
committerMichael Brown <mcb30@ipxe.org>2013-11-05 17:30:20 +0000
commit26b87b221b45ccf53257962f4de030fbe855d634 (patch)
tree09e4d8e0b3b2d205ec7faa15c41677e81e0279ea /src/include/usr/ifmgmt.h
parent3a67224c622332c4e75484b4510780e7818ac2e4 (diff)
downloadipxe-26b87b221b45ccf53257962f4de030fbe855d634.tar.gz
[ifmgmt] Add ifconf() to carry out network device configuration
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr/ifmgmt.h')
-rw-r--r--src/include/usr/ifmgmt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/usr/ifmgmt.h b/src/include/usr/ifmgmt.h
index 0b265fea9..db77f1f1b 100644
--- a/src/include/usr/ifmgmt.h
+++ b/src/include/usr/ifmgmt.h
@@ -10,8 +10,11 @@
FILE_LICENCE ( GPL2_OR_LATER );
struct net_device;
+struct net_device_configurator;
extern int ifopen ( struct net_device *netdev );
+extern int ifconf ( struct net_device *netdev,
+ struct net_device_configurator *configurator );
extern void ifclose ( struct net_device *netdev );
extern void ifstat ( struct net_device *netdev );
extern int iflinkwait ( struct net_device *netdev, unsigned long timeout );