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:
Tue May 09 15:39:03 2017 +0000
Revision:
15:6ca6778168b1
Parent:
13:9cd54f7db57a
Child:
37:793b39683406
Tidied up dns debug output

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 13:9cd54f7db57a 1 #include "mbed.h"
andrewboyson 13:9cd54f7db57a 2
andrewboyson 13:9cd54f7db57a 3 extern uint16_t DnsHdrId;
andrewboyson 13:9cd54f7db57a 4
andrewboyson 13:9cd54f7db57a 5 extern bool DnsHdrIsReply;
andrewboyson 13:9cd54f7db57a 6 extern bool DnsHdrIsAuthoritative;
andrewboyson 13:9cd54f7db57a 7 extern bool DnsHdrIsRecursiveQuery;
andrewboyson 13:9cd54f7db57a 8
andrewboyson 13:9cd54f7db57a 9 extern uint16_t DnsHdrQdcount;
andrewboyson 13:9cd54f7db57a 10 extern uint16_t DnsHdrAncount;
andrewboyson 13:9cd54f7db57a 11 extern uint16_t DnsHdrNscount;
andrewboyson 13:9cd54f7db57a 12 extern uint16_t DnsHdrArcount;
andrewboyson 13:9cd54f7db57a 13
andrewboyson 13:9cd54f7db57a 14 extern char* DnsHdrPacket;
andrewboyson 13:9cd54f7db57a 15 extern char* DnsHdrData;
andrewboyson 13:9cd54f7db57a 16
andrewboyson 13:9cd54f7db57a 17 extern void DnsHdrSetup(void* pPacket);
andrewboyson 13:9cd54f7db57a 18 extern void DnsHdrRead ();
andrewboyson 13:9cd54f7db57a 19 extern void DnsHdrWrite();
andrewboyson 15:6ca6778168b1 20 extern void DnsHdrLog (char* title, int ipProtocol);