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:
61:aad055f1b0d1
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 13:9cd54f7db57a 3
andrewboyson 13:9cd54f7db57a 4 extern uint16_t DnsHdrId;
andrewboyson 13:9cd54f7db57a 5
andrewboyson 13:9cd54f7db57a 6 extern bool DnsHdrIsReply;
andrewboyson 13:9cd54f7db57a 7 extern bool DnsHdrIsAuthoritative;
andrewboyson 13:9cd54f7db57a 8 extern bool DnsHdrIsRecursiveQuery;
andrewboyson 13:9cd54f7db57a 9
andrewboyson 13:9cd54f7db57a 10 extern uint16_t DnsHdrQdcount;
andrewboyson 13:9cd54f7db57a 11 extern uint16_t DnsHdrAncount;
andrewboyson 13:9cd54f7db57a 12 extern uint16_t DnsHdrNscount;
andrewboyson 13:9cd54f7db57a 13 extern uint16_t DnsHdrArcount;
andrewboyson 13:9cd54f7db57a 14
andrewboyson 13:9cd54f7db57a 15 extern char* DnsHdrPacket;
andrewboyson 13:9cd54f7db57a 16 extern char* DnsHdrData;
andrewboyson 59:e0e556c8bd46 17 extern int DnsHdrDataLength;
andrewboyson 13:9cd54f7db57a 18
andrewboyson 59:e0e556c8bd46 19 extern void DnsHdrSetup(void* pPacket, int lenPacket);
andrewboyson 61:aad055f1b0d1 20 extern void DnsHdrRead (void);
andrewboyson 61:aad055f1b0d1 21 extern void DnsHdrWrite(void);
andrewboyson 37:793b39683406 22 extern void DnsHdrLog (int ipProtocol);