summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/ip.h18
-rw-r--r--src/include/gpxe/tcp.h2
2 files changed, 18 insertions, 2 deletions
diff --git a/src/include/gpxe/ip.h b/src/include/gpxe/ip.h
new file mode 100644
index 000000000..3a9716879
--- /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 */
diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h
index c6611144d..cb275f811 100644
--- a/src/include/gpxe/tcp.h
+++ b/src/include/gpxe/tcp.h
@@ -96,7 +96,5 @@ extern int tcp_connect ( struct tcp_connection *conn );
extern void tcp_send ( struct tcp_connection *conn, const void *data,
size_t len );
extern void tcp_close ( struct tcp_connection *conn );
-extern void init_tcpip ( void );
-extern void run_tcpip ( void );
#endif /* _TCP_H */