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:
178:52714fef5ca1
Parent:
136:8a65abb0dc63
--- a/net.h	Sun Dec 27 17:26:21 2020 +0000
+++ b/net.h	Tue Dec 29 19:14:35 2020 +0000
@@ -20,12 +20,9 @@
 extern void    NetDirect32(void* h, void* n);
 extern void    NetDirect64(void* h, void* n);
 
-extern void NetInit(const char* name4, const char* name6);
+extern void NetInit(void);
 extern void NetMain(void);
 
-extern const char* NetName4;
-extern const char* NetName6;
-
 #define FAULT_POINT_NetMain                   1
 #define FAULT_POINT_LinkMain                  2
 #define FAULT_POINT_EthHandlePacket           3