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

Committer:
andrewboyson
Date:
Mon May 01 18:20:55 2017 +0000
Revision:
13:9cd54f7db57a
Child:
32:679654f2d023
Added ability to read DNS queries with encoded IP addresses

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 13:9cd54f7db57a 1 extern bool DnsNameCompare(char* pStart, char* pName);
andrewboyson 13:9cd54f7db57a 2 extern int DnsNameLength (char* pStart);
andrewboyson 13:9cd54f7db57a 3
andrewboyson 13:9cd54f7db57a 4 extern int DnsNameIndexFromPointer(char* pStart);
andrewboyson 13:9cd54f7db57a 5
andrewboyson 13:9cd54f7db57a 6 extern void DnsNameDecode (int offset, int len, char* pName);
andrewboyson 13:9cd54f7db57a 7 extern void DnsNameDecodeIp4(int offset, uint32_t* pIp);
andrewboyson 13:9cd54f7db57a 8 extern void DnsNameDecodeIp6(int offset, char* pIp);
andrewboyson 13:9cd54f7db57a 9
andrewboyson 13:9cd54f7db57a 10 extern void DnsNameEncodeIp4(uint32_t ip, char** pp);
andrewboyson 13:9cd54f7db57a 11 extern void DnsNameEncodeIp6(char* ip, char** pp);
andrewboyson 13:9cd54f7db57a 12 extern void DnsNameEncode (char* pName, char** pp);