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:
35:93c39d260a83
Parent:
30:e34173b7585c
Child:
37:793b39683406
--- a/net.cpp	Fri Sep 01 15:06:59 2017 +0000
+++ b/net.cpp	Fri Sep 22 13:55:56 2017 +0000
@@ -4,7 +4,7 @@
 #include   "tcp.h"
 #include  "dhcp.h"
 #include    "ar.h"
-#include "dnscache.h"
+#include    "nr.h"
 #include   "dns.h"
 #include "slaac.h"
 #include    "ra.h"
@@ -89,23 +89,22 @@
          PhyInit();
          TcpInit();
           ArInit();
-    DnsCacheInit();
+          NrInit();
        SlaacInit();
     return 0;
 }
 int NetMain()
 {
-         PhyMain();
-          ArMain();
-    DnsCacheMain();
+    PhyMain();
+     ArMain();
+     NrMain();
     if (ClockTicked)
     {
-            DhcpTick();
-              ArTick();
-        DnsCacheTick();
-             DnsTick();
-              RaTick();
-             NtpTick();
+        DhcpTick();
+          ArTick();
+          NrTick();
+         DnsTick();
+          RaTick();
     }
     return 0;
 }
\ No newline at end of file