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

Committer:
andrewboyson
Date:
Thu May 20 14:32:52 2021 +0000
Revision:
200:5acbc41bf469
Parent:
171:f708d6776752
Increased number of arp entries from 20 to 30 to accommodate the number of WIZ devices plus a few incoming port 80 calls from the internet.

Who changed what in which revision?

UserRevisionLine numberNew 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 171:f708d6776752 14 extern void DnsQueryIp4FromName(char * name, int dnsProtocol, int ipProtocol);
andrewboyson 171:f708d6776752 15 extern void DnsQueryNameFromIp4(uint32_t ip, int dnsProtocol, int ipProtocol);
andrewboyson 13:9cd54f7db57a 16
andrewboyson 171:f708d6776752 17 extern void DnsQueryIp6FromName(char * name, int dnsProtocol, int ipProtocol);
andrewboyson 171:f708d6776752 18 extern void DnsQueryNameFromIp6(char* ip, int dnsProtocol, int ipProtocol);
andrewboyson 13:9cd54f7db57a 19
andrewboyson 171:f708d6776752 20 extern int DnsQueryPoll(int ipType, void* pPacket, int* pSize);