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:
47:73af5c0b0dc2
Parent:
43:bc028d5a6424
Child:
59:e0e556c8bd46
--- a/udp/dns/dns.h	Tue Oct 24 07:01:35 2017 +0000
+++ b/udp/dns/dns.h	Thu Oct 26 14:50:24 2017 +0000
@@ -1,7 +1,10 @@
 #include "mbed.h"
 
-extern void DnsProtocolToString  (uint8_t protocol,   int size, char* text);
-extern void DnsRecordTypeToString(uint8_t recordtype, int size, char* text);
+extern void DnsProtocolString  (uint8_t protocol,   int size, char* text);
+extern void DnsRecordTypeString(uint8_t recordtype, int size, char* text);
+extern void DnsProtocolLog     (uint8_t protocol);
+extern void DnsRecordTypeLog   (uint8_t recordtype);
+
 extern int  DnsGetNextProtocol4(int protocol);
 extern int  DnsGetNextProtocol6(int protocol);
 extern bool DnsHostNamesEquate(char* pA, char* pB);