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
Diff: udp/dhcp.h
- Revision:
- 37:793b39683406
- Parent:
- 29:39277bf2003d
- Child:
- 43:bc028d5a6424
diff -r 900e24b27bfb -r 793b39683406 udp/dhcp.h --- a/udp/dhcp.h Mon Sep 25 07:09:32 2017 +0000 +++ b/udp/dhcp.h Wed Oct 04 07:51:02 2017 +0000 @@ -1,3 +1,5 @@ +extern bool DhcpTrace; + extern uint32_t DhcpElapsedTime; extern uint32_t DhcpLeaseTime; @@ -13,7 +15,7 @@ extern char DhcpDomainName[]; extern char DhcpHostName[]; -extern int DhcpHandleResponse(int* pSize, void* pPacket); +extern int DhcpHandleResponse(void (*traceback)(void), int* pSize, void* pPacket); extern int DhcpPollForRequestToSend(void* pPacket, int* pSize); extern void DhcpTick();