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
udp/dns/dnsname.h@58:d48c899e482f, 2017-12-07 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Dec 07 20:44:32 2017 +0000
- Revision:
- 58:d48c899e482f
- Parent:
- 47:73af5c0b0dc2
- Child:
- 59:e0e556c8bd46
Lots of tidying of the DNS routines
Who changed what in which revision?
User | Revision | Line number | New 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 | 58:d48c899e482f | 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 | 58:d48c899e482f | 8 | //extern int DnsNameIndexFromPointer(char* pStart); |
andrewboyson | 13:9cd54f7db57a | 9 | |
andrewboyson | 58:d48c899e482f | 10 | extern void DnsNameDecodePtr(char* pStart, int len, char* pName); |
andrewboyson | 58:d48c899e482f | 11 | extern void DnsNameDecodeIp4(char* pStart, uint32_t* pIp); |
andrewboyson | 58:d48c899e482f | 12 | extern void DnsNameDecodeIp6(char* pStart, char* pIp); |
andrewboyson | 13:9cd54f7db57a | 13 | |
andrewboyson | 58:d48c899e482f | 14 | extern void DnsNameLogPtr (char* pStart); |
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); |