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@14:e75a59c1123d, 2017-05-05 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri May 05 17:44:16 2017 +0000
- Revision:
- 14:e75a59c1123d
- Parent:
- 13:9cd54f7db57a
- Child:
- 15:6ca6778168b1
Made IP addresses and ports available to debug messages
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 14:e75a59c1123d | 1 | extern uint16_t EthProtocol; |
andrewboyson | 14:e75a59c1123d | 2 | extern void EthProtocolToString(uint16_t protocol, int size, char* text); |
andrewboyson | 14:e75a59c1123d | 3 | extern int EthHandlePacket (void* pPacket, int* pSize); |
andrewboyson | 14:e75a59c1123d | 4 | extern int EthPollForPacketToSend(void* pPacket, int* pSize); |
andrewboyson | 11:c051adb70c5a | 5 | |
andrewboyson | 14:e75a59c1123d | 6 | #define ETHERNET 1 |
andrewboyson | 10:f0854784e960 | 7 | |
andrewboyson | 14:e75a59c1123d | 8 | #define IPV4 0x0800 |
andrewboyson | 14:e75a59c1123d | 9 | #define ARP 0x0806 |
andrewboyson | 14:e75a59c1123d | 10 | #define IPV6 0x86DD |
andrewboyson | 10:f0854784e960 | 11 |