A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Revision:
61:aad055f1b0d1
Parent:
59:e0e556c8bd46
Child:
93:580fc113d9e9
diff -r 1d8c7a1e7483 -r aad055f1b0d1 udp/dhcp.h
--- a/udp/dhcp.h	Sat Dec 16 14:39:50 2017 +0000
+++ b/udp/dhcp.h	Thu Jan 11 17:38:21 2018 +0000
@@ -1,3 +1,6 @@
+#include <stdint.h>
+#include <stdbool.h>
+
 extern bool DhcpTrace;
 
 extern uint32_t DhcpElapsedTime;
@@ -19,7 +22,7 @@
 
 extern int      DhcpHandleResponse(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx);
 extern int      DhcpPollForRequestToSend(void* pPacket, int* pSize);
-extern void     DhcpMain();
+extern void     DhcpMain(void);
 
 #define DHCP_SERVER_PORT 67
 #define DHCP_CLIENT_PORT 68
\ No newline at end of file