summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/serverpacket.h
diff options
context:
space:
mode:
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