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
- Committer:
- andrewboyson
- Date:
- 2017-01-27
- Revision:
- 2:849103b5a16d
- Parent:
- 0:faa09bd4e6bf
- Child:
- 7:b794780e33b4
File content as of revision 2:849103b5a16d:
extern int NetIpToString(uint32_t ip, char* text); extern int NetMacToString(char* mac, char* text); extern int16_t NetToHost16(int16_t n); extern int32_t NetToHost32(int32_t n); extern int64_t NetToHost64(int64_t n); extern uint16_t NetCheckSum(int count, void* pData); extern uint16_t NetCheckSumTwo(int count1, void* pData1, int count2, void* pData2); extern int NetInit(); extern int NetMain();