summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/serverpacket.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-08 03:20:50 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-08 03:20:50 +0000
commit7031f62d9b750568b5e98bdb8c59c3c1a72e073d (patch)
treeb8d037a539281e7f7592e3045fa59e445495f603 /networking/udhcp/serverpacket.h
parent15fe2e11d7886d04450cabc8b40f0d396b6b6d85 (diff)
add back in udhcp support
Diffstat (limited to 'networking/udhcp/serverpacket.h')
-rw-r--r--networking/udhcp/serverpacket.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/networking/udhcp/serverpacket.h b/networking/udhcp/serverpacket.h
new file mode 100644
index 000000000..902492895
--- /dev/null
+++ b/networking/udhcp/serverpacket.h
@@ -0,0 +1,12 @@
+#ifndef _SERVERPACKET_H
+#define _SERVERPACKET_H
+
+#include "packet.h"
+
+int sendOffer(struct dhcpMessage *oldpacket);
+int sendNAK(struct dhcpMessage *oldpacket);
+int sendACK(struct dhcpMessage *oldpacket, uint32_t yiaddr);
+int send_inform(struct dhcpMessage *oldpacket);
+
+
+#endif