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:
59:e0e556c8bd46
Parent:
44:83ce5ace337b
Child:
61:aad055f1b0d1
diff -r d48c899e482f -r e0e556c8bd46 udp/dhcp.h
--- a/udp/dhcp.h	Thu Dec 07 20:44:32 2017 +0000
+++ b/udp/dhcp.h	Thu Dec 14 20:55:40 2017 +0000
@@ -17,7 +17,7 @@
 
 extern bool     DhcpIpNeedsToBeRouted(uint32_t ip);
 
-extern int      DhcpHandleResponse(void (*traceback)(void), int* pSize, void* pPacket);
+extern int      DhcpHandleResponse(void (*traceback)(void), int sizeRx, void* pPacketRx, int* pSizeTx, void* pPacketTx);
 extern int      DhcpPollForRequestToSend(void* pPacket, int* pSize);
 extern void     DhcpMain();