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:
- 2021-05-20
- Revision:
- 200:5acbc41bf469
- Parent:
- 171:f708d6776752
File content as of revision 200:5acbc41bf469:
#include <stdint.h> #include <stdbool.h> extern bool DnsQueryTrace; extern uint32_t DnsQueryIp4; extern char DnsQueryIp6[]; extern char DnsQueryName[]; extern void DnsQueryMain(void); extern bool DnsQueryIsBusy; extern void DnsQueryIp4FromName(char * name, int dnsProtocol, int ipProtocol); extern void DnsQueryNameFromIp4(uint32_t ip, int dnsProtocol, int ipProtocol); extern void DnsQueryIp6FromName(char * name, int dnsProtocol, int ipProtocol); extern void DnsQueryNameFromIp6(char* ip, int dnsProtocol, int ipProtocol); extern int DnsQueryPoll(int ipType, void* pPacket, int* pSize);