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:
37:793b39683406
Parent:
15:6ca6778168b1
Child:
42:222a4f45f916
--- a/eth/eth.h	Mon Sep 25 07:09:32 2017 +0000
+++ b/eth/eth.h	Wed Oct 04 07:51:02 2017 +0000
@@ -2,7 +2,7 @@
 
 extern uint16_t EthProtocol;
 extern void     EthProtocolToString(uint16_t protocol, int size, char* text);
-extern int      EthHandlePacket       (void* pPacket, int* pSize);
+extern int      EthHandlePacket       (void (*traceback)(void), void* pPacket, int* pSize);
 extern int      EthPollForPacketToSend(void* pPacket, int* pSize);
 
 #define ETHERNET  1