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:
49:1a6336f2b3f9
Parent:
47:73af5c0b0dc2
Child:
55:e64b8b47a2b6
--- a/ip4/udptcp4.cpp	Tue Oct 31 21:25:09 2017 +0000
+++ b/ip4/udptcp4.cpp	Thu Nov 02 08:10:55 2017 +0000
@@ -5,7 +5,7 @@
 #include   "dhcp.h"
 #include    "eth.h"
 #include     "ip.h"
-#include    "ip4.h"
+#include "ip4addr.h"
 #include    "tcp.h"
 #include    "udp.h"
 
@@ -32,7 +32,7 @@
 {    
     if (!action) return;
     
-    Ip4DstIpFromDest(ActionGetDestPart(action), pDstIp);
+    Ip4AddressFromDest(ActionGetDestPart(action), pDstIp);
     
     *pSrcIp = DhcpLocalIp;