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/dnsquery.h

Committer:
andrewboyson
Date:
2017-12-14
Revision:
59:e0e556c8bd46
Parent:
43:bc028d5a6424
Child:
61:aad055f1b0d1

File content as of revision 59:e0e556c8bd46:

extern bool DnsQueryTrace;

extern uint32_t DnsQueryIp4;
extern char     DnsQueryIp6[];
extern char     DnsQueryName[];

extern void     DnsQueryMain();

extern bool     DnsQueryIsBusy;

extern void     DnsQueryIp4FromName(char * name, int type);
extern void     DnsQueryNameFromIp4(uint32_t ip, int type);

extern void     DnsQueryIp6FromName(char * name, int type);
extern void     DnsQueryNameFromIp6(char* ip,    int type);

extern int      DnsQueryPoll(void* pPacket, int* pSize);