Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: udp/dns/dnscache.h
- Revision:
- 30:e34173b7585c
- Child:
- 33:714a0345e59b
diff -r 39277bf2003d -r e34173b7585c udp/dns/dnscache.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/udp/dns/dnscache.h Thu Aug 10 17:45:37 2017 +0000 @@ -0,0 +1,18 @@ +extern void DnsCacheMakeRequestForNameFromIp4(uint32_t ip); +extern void DnsCacheMakeRequestForNameFromIp6(char* ip); +extern void DnsCacheMakeRequestForIp4FromName(char* name); +extern void DnsCacheMakeRequestForIp6FromName(char* name); + +extern void DnsCacheAddIp4Record(uint32_t ip, char* name, int protocol); +extern void DnsCacheAddIp6Record(char* ip, char* name, int protocol); + +extern void DnsCacheIpToName4(uint32_t ip, char* name); +extern void DnsCacheIpToName6(char* ip, char* name); +extern void DnsCacheNameToIp4(char* name, uint32_t* ip); +extern void DnsCacheNameToIp6(char* name, char* ip); +extern void DnsCacheSendHttp4(); +extern void DnsCacheSendHttp6(); + +extern void DnsCacheTick(); +extern void DnsCacheMain(); +extern void DnsCacheInit();