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@13:9cd54f7db57a, 2017-05-01 (annotated)
- Committer:
- andrewboyson
- Date:
- Mon May 01 18:20:55 2017 +0000
- Revision:
- 13:9cd54f7db57a
- Child:
- 37:793b39683406
Added ability to read DNS queries with encoded IP addresses
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 13:9cd54f7db57a | 1 | extern uint32_t DnsQueryIp4; |
andrewboyson | 13:9cd54f7db57a | 2 | extern char DnsQueryIp6[]; |
andrewboyson | 13:9cd54f7db57a | 3 | extern char DnsQueryName[]; |
andrewboyson | 13:9cd54f7db57a | 4 | |
andrewboyson | 13:9cd54f7db57a | 5 | extern void DnsQueryTick(); |
andrewboyson | 13:9cd54f7db57a | 6 | |
andrewboyson | 13:9cd54f7db57a | 7 | extern bool DnsQueryIsBusy; |
andrewboyson | 13:9cd54f7db57a | 8 | |
andrewboyson | 13:9cd54f7db57a | 9 | extern void DnsQueryIp4FromName(char * name, int type); |
andrewboyson | 13:9cd54f7db57a | 10 | extern void DnsQueryNameFromIp4(uint32_t ip, int type); |
andrewboyson | 13:9cd54f7db57a | 11 | |
andrewboyson | 13:9cd54f7db57a | 12 | extern void DnsQueryIp6FromName(char * name, int type); |
andrewboyson | 13:9cd54f7db57a | 13 | extern void DnsQueryNameFromIp6(char* ip, int type); |
andrewboyson | 13:9cd54f7db57a | 14 | |
andrewboyson | 13:9cd54f7db57a | 15 | extern int DnsQueryPoll(int* pSize); |