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/dnshdr.h
- Revision:
- 61:aad055f1b0d1
- Parent:
- 59:e0e556c8bd46
diff -r 1d8c7a1e7483 -r aad055f1b0d1 udp/dns/dnshdr.h --- a/udp/dns/dnshdr.h Sat Dec 16 14:39:50 2017 +0000 +++ b/udp/dns/dnshdr.h Thu Jan 11 17:38:21 2018 +0000 @@ -1,4 +1,5 @@ -#include "mbed.h" +#include <stdint.h> +#include <stdbool.h> extern uint16_t DnsHdrId; @@ -16,6 +17,6 @@ extern int DnsHdrDataLength; extern void DnsHdrSetup(void* pPacket, int lenPacket); -extern void DnsHdrRead (); -extern void DnsHdrWrite(); +extern void DnsHdrRead (void); +extern void DnsHdrWrite(void); extern void DnsHdrLog (int ipProtocol);