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
net.h@2:849103b5a16d, 2017-01-27 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Jan 27 19:58:51 2017 +0000
- Revision:
- 2:849103b5a16d
- Parent:
- 0:faa09bd4e6bf
- Child:
- 7:b794780e33b4
DHCP working and most options decoded; TCP and HTTP working.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 2:849103b5a16d | 1 | extern int NetIpToString(uint32_t ip, char* text); |
andrewboyson | 2:849103b5a16d | 2 | extern int NetMacToString(char* mac, char* text); |
andrewboyson | 2:849103b5a16d | 3 | |
andrewboyson | 0:faa09bd4e6bf | 4 | extern int16_t NetToHost16(int16_t n); |
andrewboyson | 0:faa09bd4e6bf | 5 | extern int32_t NetToHost32(int32_t n); |
andrewboyson | 0:faa09bd4e6bf | 6 | extern int64_t NetToHost64(int64_t n); |
andrewboyson | 0:faa09bd4e6bf | 7 | extern uint16_t NetCheckSum(int count, void* pData); |
andrewboyson | 2:849103b5a16d | 8 | extern uint16_t NetCheckSumTwo(int count1, void* pData1, int count2, void* pData2); |
andrewboyson | 2:849103b5a16d | 9 | |
andrewboyson | 2:849103b5a16d | 10 | extern int NetInit(); |
andrewboyson | 2:849103b5a16d | 11 | extern int NetMain(); |