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
Diff: udp/dns/dns.h
- Revision:
- 37:793b39683406
- Parent:
- 35:93c39d260a83
- Child:
- 41:db727df5f98b
--- a/udp/dns/dns.h Mon Sep 25 07:09:32 2017 +0000 +++ b/udp/dns/dns.h Wed Oct 04 07:51:02 2017 +0000 @@ -8,7 +8,7 @@ extern int DnsStripNameFromFullName(int protocol, char* fqdn, int size, char* name); extern void DnsTick(); -extern int DnsHandlePacketReceived(int dnsProtocol, int* pSize, void* pPacket); +extern int DnsHandlePacketReceived(void (*traceback)(void), int dnsProtocol, int* pSize, void* pPacket); extern int DnsPollForPacketToSend(void* pPacket, int* pSize); #define DNS_UNICAST_SERVER_PORT 53