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:
- 47:73af5c0b0dc2
- Parent:
- 42:222a4f45f916
- Child:
- 59:e0e556c8bd46
diff -r 40d33e9037e4 -r 73af5c0b0dc2 eth/eth.h --- a/eth/eth.h Tue Oct 24 07:01:35 2017 +0000 +++ b/eth/eth.h Thu Oct 26 14:50:24 2017 +0000 @@ -1,8 +1,8 @@ #include "mbed.h" -extern void EthProtocolToString(uint16_t protocol, int size, char* text); -extern int EthHandlePacket (void (*traceback)(void), void* pPacket, int* pSize); -extern int EthPollForPacketToSend(void* pPacket, int* pSize); +extern void EthProtocolLog(uint16_t prototype); +extern int EthHandlePacket (void (*traceback)(void), void* pPacket, int* pSize); +extern int EthPollForPacketToSend(void* pPacket, int* pSize); #define ETHERNET 1