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@59:e0e556c8bd46, 2017-12-14 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Dec 14 20:55:40 2017 +0000
- Revision:
- 59:e0e556c8bd46
- Parent:
- 43:bc028d5a6424
- Child:
- 61:aad055f1b0d1
Added buffer length to help avoid over runs
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 37:793b39683406 | 1 | extern bool DnsQueryTrace; |
andrewboyson | 37:793b39683406 | 2 | |
andrewboyson | 13:9cd54f7db57a | 3 | extern uint32_t DnsQueryIp4; |
andrewboyson | 13:9cd54f7db57a | 4 | extern char DnsQueryIp6[]; |
andrewboyson | 13:9cd54f7db57a | 5 | extern char DnsQueryName[]; |
andrewboyson | 13:9cd54f7db57a | 6 | |
andrewboyson | 43:bc028d5a6424 | 7 | extern void DnsQueryMain(); |
andrewboyson | 13:9cd54f7db57a | 8 | |
andrewboyson | 13:9cd54f7db57a | 9 | extern bool DnsQueryIsBusy; |
andrewboyson | 13:9cd54f7db57a | 10 | |
andrewboyson | 13:9cd54f7db57a | 11 | extern void DnsQueryIp4FromName(char * name, int type); |
andrewboyson | 13:9cd54f7db57a | 12 | extern void DnsQueryNameFromIp4(uint32_t ip, int type); |
andrewboyson | 13:9cd54f7db57a | 13 | |
andrewboyson | 13:9cd54f7db57a | 14 | extern void DnsQueryIp6FromName(char * name, int type); |
andrewboyson | 13:9cd54f7db57a | 15 | extern void DnsQueryNameFromIp6(char* ip, int type); |
andrewboyson | 13:9cd54f7db57a | 16 | |
andrewboyson | 59:e0e556c8bd46 | 17 | extern int DnsQueryPoll(void* pPacket, int* pSize); |