summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ip.h
diff options
context:
space:
mode:
authorMichael Brown2006-03-24 18:22:09 +0100
committerMichael Brown2006-03-24 18:22:09 +0100
commitb44332eb7d76c329995c38993f8c7727d095cb81 (patch)
tree1bd0b2aab6611ad63d22a134a2d28adfe8691062 /src/include/gpxe/ip.h
parentPut in a substitute pcap_inject() function, since earlier versions of (diff)
downloadipxe-b44332eb7d76c329995c38993f8c7727d095cb81.tar.gz
ipxe-b44332eb7d76c329995c38993f8c7727d095cb81.tar.xz
ipxe-b44332eb7d76c329995c38993f8c7727d095cb81.zip
Split non-TCP portions of the stack out into ip.[ch].
Added set_ipaddr().
Diffstat (limited to 'src/include/gpxe/ip.h')
-rw-r--r--src/include/gpxe/ip.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gpxe/ip.h b/src/include/gpxe/ip.h
new file mode 100644
index 00000000..3a971687
--- /dev/null
+++ b/src/include/gpxe/ip.h
@@ -0,0 +1,18 @@
+#ifndef _IP_H
+#define _IP_H
+
+/** @file
+ *
+ * IP protocol
+ *
+ * This file defines the gPXE IP API.
+ *
+ */
+
+#include <gpxe/in.h>
+
+extern void set_ipaddr ( struct in_addr address );
+extern void init_tcpip ( void );
+extern void run_tcpip ( void );
+
+#endif /* _IP_H */