summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2007-01-10 02:55:07 +0100
committerMichael Brown2007-01-10 02:55:07 +0100
commitd24b80acf292266680d9b04836269734602ec054 (patch)
tree88d98a1ab29bd0dc0043e2f13ef1d17b74656084 /src/include/usr
parentAdd "name" field to network device, to facilitate netdev commands. (diff)
downloadipxe-d24b80acf292266680d9b04836269734602ec054.tar.gz
ipxe-d24b80acf292266680d9b04836269734602ec054.tar.xz
ipxe-d24b80acf292266680d9b04836269734602ec054.zip
Added network interface management commands
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/ifmgmt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/usr/ifmgmt.h b/src/include/usr/ifmgmt.h
new file mode 100644
index 000000000..c7d35da88
--- /dev/null
+++ b/src/include/usr/ifmgmt.h
@@ -0,0 +1,16 @@
+#ifndef _USR_IFMGMT_H
+#define _USR_IFMGMT_H
+
+/** @file
+ *
+ * Network interface management
+ *
+ */
+
+struct net_device;
+
+extern int ifopen ( struct net_device *netdev );
+extern void ifclose ( struct net_device *netdev );
+extern void ifstat ( struct net_device *netdev );
+
+#endif /* _USR_IFMGMT_H */