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:
Wed Oct 04 07:51:02 2017 +0000
Revision:
37:793b39683406
Parent:
32:679654f2d023
Child:
47:73af5c0b0dc2
Added trace back and trace forward to log messages

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 37:793b39683406 1 extern bool DnsNameTrace;
andrewboyson 37:793b39683406 2
andrewboyson 37:793b39683406 3 extern bool DnsNameComparePtr(char* pStart, char* pName);
andrewboyson 32:679654f2d023 4 extern bool DnsNameCompareIp4(char *pStart, uint32_t ip);
andrewboyson 32:679654f2d023 5 extern bool DnsNameCompareIp6(char* pStart, char* pIp);
andrewboyson 13:9cd54f7db57a 6
andrewboyson 32:679654f2d023 7 extern int DnsNameLength (char* pStart);
andrewboyson 13:9cd54f7db57a 8 extern int DnsNameIndexFromPointer(char* pStart);
andrewboyson 13:9cd54f7db57a 9
andrewboyson 37:793b39683406 10 extern void DnsNameDecodePtr(int offset, int len, char* pName);
andrewboyson 13:9cd54f7db57a 11 extern void DnsNameDecodeIp4(int offset, uint32_t* pIp);
andrewboyson 13:9cd54f7db57a 12 extern void DnsNameDecodeIp6(int offset, char* pIp);
andrewboyson 13:9cd54f7db57a 13
andrewboyson 13:9cd54f7db57a 14 extern void DnsNameEncodeIp4(uint32_t ip, char** pp);
andrewboyson 13:9cd54f7db57a 15 extern void DnsNameEncodeIp6(char* ip, char** pp);
andrewboyson 37:793b39683406 16 extern void DnsNameEncodePtr(char* pName, char** pp);