summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/include/usr/ifmgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/ipxe/src/include/usr/ifmgmt.h')
-rw-r--r--qemu/roms/ipxe/src/include/usr/ifmgmt.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/qemu/roms/ipxe/src/include/usr/ifmgmt.h b/qemu/roms/ipxe/src/include/usr/ifmgmt.h
new file mode 100644
index 000000000..db77f1f1b
--- /dev/null
+++ b/qemu/roms/ipxe/src/include/usr/ifmgmt.h
@@ -0,0 +1,22 @@
+#ifndef _USR_IFMGMT_H
+#define _USR_IFMGMT_H
+
+/** @file
+ *
+ * Network interface management
+ *
+ */
+
+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 );
+
+#endif /* _USR_IFMGMT_H */