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@167:3ba4e3c49631, 2020-04-02 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Apr 02 19:08:25 2020 +0000
- Revision:
- 167:3ba4e3c49631
- Parent:
- 61:aad055f1b0d1
- Child:
- 171:f708d6776752
Modified resolution cache ajaxs to include the index
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 61:aad055f1b0d1 | 1 | #include <stdint.h> |
andrewboyson | 61:aad055f1b0d1 | 2 | #include <stdbool.h> |
andrewboyson | 61:aad055f1b0d1 | 3 | |
andrewboyson | 37:793b39683406 | 4 | extern bool DnsQueryTrace; |
andrewboyson | 37:793b39683406 | 5 | |
andrewboyson | 13:9cd54f7db57a | 6 | extern uint32_t DnsQueryIp4; |
andrewboyson | 13:9cd54f7db57a | 7 | extern char DnsQueryIp6[]; |
andrewboyson | 13:9cd54f7db57a | 8 | extern char DnsQueryName[]; |
andrewboyson | 13:9cd54f7db57a | 9 | |
andrewboyson | 61:aad055f1b0d1 | 10 | extern void DnsQueryMain(void); |
andrewboyson | 13:9cd54f7db57a | 11 | |
andrewboyson | 13:9cd54f7db57a | 12 | extern bool DnsQueryIsBusy; |
andrewboyson | 13:9cd54f7db57a | 13 | |
andrewboyson | 13:9cd54f7db57a | 14 | extern void DnsQueryIp4FromName(char * name, int type); |
andrewboyson | 13:9cd54f7db57a | 15 | extern void DnsQueryNameFromIp4(uint32_t ip, int type); |
andrewboyson | 13:9cd54f7db57a | 16 | |
andrewboyson | 13:9cd54f7db57a | 17 | extern void DnsQueryIp6FromName(char * name, int type); |
andrewboyson | 13:9cd54f7db57a | 18 | extern void DnsQueryNameFromIp6(char* ip, int type); |
andrewboyson | 13:9cd54f7db57a | 19 | |
andrewboyson | 59:e0e556c8bd46 | 20 | extern int DnsQueryPoll(void* pPacket, int* pSize); |