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:
172:9bc3c7b2cca1
Parent:
171:f708d6776752
--- a/udp/dns/dns.c	Sat Dec 12 20:10:02 2020 +0000
+++ b/udp/dns/dns.c	Wed Dec 16 17:33:22 2020 +0000
@@ -60,17 +60,6 @@
         default:              LogF("%d", recordtype); break;
     }
 }
-int DnsGetNextProtocol(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;
-    }
-}
 
 void DnsMain()
 {