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:
Thu Oct 26 14:50:24 2017 +0000
Revision:
47:73af5c0b0dc2
Parent:
37:793b39683406
Child:
58:d48c899e482f
Replaced a number of temporary buffers with direct writes to the Log or HTTP.

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 47:73af5c0b0dc2 14 extern void DnsNameLogPtr(int offset);
andrewboyson 47:73af5c0b0dc2 15
andrewboyson 13:9cd54f7db57a 16 extern void DnsNameEncodeIp4(uint32_t ip, char** pp);
andrewboyson 13:9cd54f7db57a 17 extern void DnsNameEncodeIp6(char* ip, char** pp);
andrewboyson 37:793b39683406 18 extern void DnsNameEncodePtr(char* pName, char** pp);