summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2013-11-04 18:05:53 +0100
committerMichael Brown2013-11-05 18:30:20 +0100
commit26b87b221b45ccf53257962f4de030fbe855d634 (patch)
tree09e4d8e0b3b2d205ec7faa15c41677e81e0279ea /src/include/usr
parent[parseopt] Add parse_netdev_configurator() (diff)
downloadipxe-26b87b221b45ccf53257962f4de030fbe855d634.tar.gz
ipxe-26b87b221b45ccf53257962f4de030fbe855d634.tar.xz
ipxe-26b87b221b45ccf53257962f4de030fbe855d634.zip
[ifmgmt] Add ifconf() to carry out network device configuration
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, 3 insertions, 0 deletions
diff --git a/src/include/usr/ifmgmt.h b/src/include/usr/ifmgmt.h
index 0b265fea..db77f1f1 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 );