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
Diff: eth/eth.h
- Revision:
- 59:e0e556c8bd46
- Parent:
- 47:73af5c0b0dc2
- Child:
- 61:aad055f1b0d1
--- a/eth/eth.h Thu Dec 07 20:44:32 2017 +0000 +++ b/eth/eth.h Thu Dec 14 20:55:40 2017 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" extern void EthProtocolLog(uint16_t prototype); -extern int EthHandlePacket (void (*traceback)(void), void* pPacket, int* pSize); +extern int EthHandlePacket (void* pPacketRx, int sizeRx, void* pPacketTx, int* pSizeTx); extern int EthPollForPacketToSend(void* pPacket, int* pSize); #define ETHERNET 1