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
eth/eth.h@61:aad055f1b0d1, 2018-01-11 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Jan 11 17:38:21 2018 +0000
- Revision:
- 61:aad055f1b0d1
- Parent:
- 59:e0e556c8bd46
- Child:
- 136:8a65abb0dc63
Removed dependence on Mbed OS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdint.h> |
andrewboyson | 15:6ca6778168b1 | 2 | |
andrewboyson | 47:73af5c0b0dc2 | 3 | extern void EthProtocolLog(uint16_t prototype); |
andrewboyson | 59:e0e556c8bd46 | 4 | extern int EthHandlePacket (void* pPacketRx, int sizeRx, void* pPacketTx, int* pSizeTx); |
andrewboyson | 47:73af5c0b0dc2 | 5 | extern int EthPollForPacketToSend(void* pPacket, int* pSize); |
andrewboyson | 11:c051adb70c5a | 6 | |
andrewboyson | 14:e75a59c1123d | 7 | #define ETHERNET 1 |
andrewboyson | 10:f0854784e960 | 8 | |
andrewboyson | 14:e75a59c1123d | 9 | #define IPV4 0x0800 |
andrewboyson | 14:e75a59c1123d | 10 | #define ARP 0x0806 |
andrewboyson | 14:e75a59c1123d | 11 | #define IPV6 0x86DD |
andrewboyson | 10:f0854784e960 | 12 |