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
--- a/udp/dns/dnshdr.h	Sat Dec 16 14:39:50 2017 +0000
+++ b/udp/dns/dnshdr.h	Thu Jan 11 17:38:21 2018 +0000
@@ -1,4 +1,5 @@
-#include "mbed.h"
+#include <stdint.h>
+#include <stdbool.h>
 
 extern uint16_t DnsHdrId;
 
@@ -16,6 +17,6 @@
 extern int      DnsHdrDataLength;
 
 extern void     DnsHdrSetup(void* pPacket, int lenPacket);
-extern void     DnsHdrRead ();
-extern void     DnsHdrWrite();
+extern void     DnsHdrRead (void);
+extern void     DnsHdrWrite(void);
 extern void     DnsHdrLog  (int ipProtocol);