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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers dnsquery.h Source File

dnsquery.h

00001 #include <stdint.h>
00002 #include <stdbool.h>
00003 
00004 extern bool DnsQueryTrace;
00005 
00006 extern uint32_t DnsQueryIp4;
00007 extern char     DnsQueryIp6[];
00008 extern char     DnsQueryName[];
00009 
00010 extern void     DnsQueryMain(void);
00011 
00012 extern bool     DnsQueryIsBusy;
00013 
00014 extern void     DnsQueryIp4FromName(char * name, int dnsProtocol, int ipProtocol);
00015 extern void     DnsQueryNameFromIp4(uint32_t ip, int dnsProtocol, int ipProtocol);
00016 
00017 extern void     DnsQueryIp6FromName(char * name, int dnsProtocol, int ipProtocol);
00018 extern void     DnsQueryNameFromIp6(char* ip,    int dnsProtocol, int ipProtocol);
00019 
00020 extern int      DnsQueryPoll(int ipType, void* pPacket, int* pSize);