Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: udp/dns/dnshdr.h
- Revision:
- 13:9cd54f7db57a
- Child:
- 15:6ca6778168b1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/udp/dns/dnshdr.h Mon May 01 18:20:55 2017 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" + +extern uint16_t DnsHdrId; + +extern bool DnsHdrIsReply; +extern bool DnsHdrIsAuthoritative; +extern bool DnsHdrIsRecursiveQuery; + +extern uint16_t DnsHdrQdcount; +extern uint16_t DnsHdrAncount; +extern uint16_t DnsHdrNscount; +extern uint16_t DnsHdrArcount; + +extern char* DnsHdrPacket; +extern char* DnsHdrData; + +extern void DnsHdrSetup(void* pPacket); +extern void DnsHdrRead (); +extern void DnsHdrWrite(); +extern void DnsHdrLog (char* title, int protocol);