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:
93:580fc113d9e9
Parent:
61:aad055f1b0d1
--- a/udp/dhcp.h	Thu Nov 29 16:52:10 2018 +0000
+++ b/udp/dhcp.h	Sun Dec 02 18:40:35 2018 +0000
@@ -3,7 +3,7 @@
 
 extern bool DhcpTrace;
 
-extern uint32_t DhcpElapsedTime;
+extern uint32_t DhcpGetElapsedLife(void);
 
 extern uint32_t DhcpLeaseTime;
 extern uint32_t DhcpServer;
@@ -22,7 +22,6 @@
 
 extern int      DhcpHandleResponse(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx);
 extern int      DhcpPollForRequestToSend(void* pPacket, int* pSize);
-extern void     DhcpMain(void);
 
 #define DHCP_SERVER_PORT 67
 #define DHCP_CLIENT_PORT 68
\ No newline at end of file