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:
32:679654f2d023
Parent:
13:9cd54f7db57a
Child:
37:793b39683406
--- a/udp/dns/dnsname.h	Fri Aug 11 17:41:52 2017 +0000
+++ b/udp/dns/dnsname.h	Thu Aug 17 14:21:02 2017 +0000
@@ -1,6 +1,8 @@
-extern bool DnsNameCompare(char* pStart, char* pName);
-extern int  DnsNameLength (char* pStart);
+extern bool DnsNameCompare   (char* pStart, char* pName);
+extern bool DnsNameCompareIp4(char *pStart, uint32_t ip);
+extern bool DnsNameCompareIp6(char* pStart, char*   pIp);
 
+extern int  DnsNameLength    (char* pStart);
 extern int  DnsNameIndexFromPointer(char* pStart);
 
 extern void DnsNameDecode   (int offset, int len, char* pName);