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
Diff: udp/dns/dnsname.h
- Revision:
- 47:73af5c0b0dc2
- Parent:
- 37:793b39683406
- Child:
- 58:d48c899e482f
diff -r 40d33e9037e4 -r 73af5c0b0dc2 udp/dns/dnsname.h --- a/udp/dns/dnsname.h Tue Oct 24 07:01:35 2017 +0000 +++ b/udp/dns/dnsname.h Thu Oct 26 14:50:24 2017 +0000 @@ -11,6 +11,8 @@ extern void DnsNameDecodeIp4(int offset, uint32_t* pIp); extern void DnsNameDecodeIp6(int offset, char* pIp); +extern void DnsNameLogPtr(int offset); + extern void DnsNameEncodeIp4(uint32_t ip, char** pp); extern void DnsNameEncodeIp6(char* ip, char** pp); extern void DnsNameEncodePtr(char* pName, char** pp);