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:
170:96c637dc3f52
Parent:
128:79052cb4a41c
Child:
171:f708d6776752
diff -r 336d499dc560 -r 96c637dc3f52 udp/dns/dns.c
--- a/udp/dns/dns.c	Tue Dec 01 12:56:34 2020 +0000
+++ b/udp/dns/dns.c	Wed Dec 09 18:11:05 2020 +0000
@@ -60,18 +60,7 @@
         default:              LogF("%d", recordtype); break;
     }
 }
-int DnsGetNextProtocol4(int protocol)
-{
-    switch(protocol)
-    {
-        case DNS_PROTOCOL_NONE:  return DNS_PROTOCOL_MDNS;
-        case DNS_PROTOCOL_MDNS:  return DNS_PROTOCOL_LLMNR;
-        case DNS_PROTOCOL_LLMNR: return DNS_PROTOCOL_UDNS;
-        case DNS_PROTOCOL_UDNS:  return DNS_PROTOCOL_NONE;
-        default: LogTimeF("DNS invalid protocol %d\r\n", protocol); return DNS_PROTOCOL_NONE;
-    }
-}
-int DnsGetNextProtocol6(int protocol)
+int DnsGetNextProtocol(int protocol)
 {
     switch(protocol)
     {