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:
30:e34173b7585c
Parent:
22:914b970356f0
Child:
33:714a0345e59b
--- a/ip4/ip4.cpp	Mon Aug 07 12:13:52 2017 +0000
+++ b/ip4/ip4.cpp	Thu Aug 10 17:45:37 2017 +0000
@@ -4,6 +4,7 @@
 #include "icmp.h"
 #include "udptcp4.h"
 #include   "ar.h"
+#include "dnscache.h"
 #include "dhcp.h"
 #include  "eth.h"
 #include   "ip.h"
@@ -178,6 +179,7 @@
     }
     
     ArAdd4(pSrcMac, Ip4Src);
+    DnsCacheMakeRequestForNameFromIp4(Ip4Src);
     
     if (DEBUG) logHeader("IP4 packet received");