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.cpp
- Revision:
- 57:e0fb648acf48
- Parent:
- 47:73af5c0b0dc2
- Child:
- 59:e0e556c8bd46
diff -r 35117a8b5c65 -r e0fb648acf48 eth/eth.cpp --- a/eth/eth.cpp Tue Nov 14 17:43:08 2017 +0000 +++ b/eth/eth.cpp Tue Nov 28 17:05:46 2017 +0000 @@ -85,6 +85,8 @@ protocol = NetToHost16(pHeader->typ); if (protocol < 1500) return DO_NOTHING; //drop 802.3 messages + NetTraceHostCheckMac(pHeader->src); + int action = DO_NOTHING; switch (protocol) {