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:
136:8a65abb0dc63
Parent:
61:aad055f1b0d1
Child:
172:9bc3c7b2cca1
--- a/eth/eth.h	Sat Mar 23 12:25:48 2019 +0000
+++ b/eth/eth.h	Sat Apr 06 11:20:20 2019 +0000
@@ -1,8 +1,8 @@
 #include <stdint.h>
 
 extern void EthProtocolLog(uint16_t prototype);
-extern int  EthHandlePacket       (void* pPacketRx, int sizeRx, void* pPacketTx, int* pSizeTx);
-extern int  EthPollForPacketToSend(void* pPacket, int* pSize);
+extern int  EthHandlePacket       (char* pPacketRx, int sizeRx, char* pPacketTx, int* pSizeTx);
+extern int  EthPollForPacketToSend(char* pPacket, int* pSize);
 
 #define ETHERNET  1