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:
195:bd5b123143ca
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 195:bd5b123143ca 1 #include <stdbool.h>
andrewboyson 195:bd5b123143ca 2
andrewboyson 37:793b39683406 3 extern int ActionMakeFromDestAndTrace(int dest, bool trace);
andrewboyson 37:793b39683406 4 extern int ActionGetDestPart (int action);
andrewboyson 37:793b39683406 5 extern bool ActionGetTracePart (int action);
andrewboyson 37:793b39683406 6
andrewboyson 37:793b39683406 7 #define DO_NOTHING 0
andrewboyson 37:793b39683406 8 #define UNICAST 1
andrewboyson 37:793b39683406 9 #define UNICAST_DNS 2
andrewboyson 37:793b39683406 10 #define UNICAST_DHCP 3
andrewboyson 37:793b39683406 11 #define UNICAST_NTP 4
andrewboyson 57:e0fb648acf48 12 #define UNICAST_TFTP 5
andrewboyson 195:bd5b123143ca 13 #define UNICAST_USER 6
andrewboyson 195:bd5b123143ca 14 #define MULTICAST_NODE 7
andrewboyson 195:bd5b123143ca 15 #define MULTICAST_ROUTER 8
andrewboyson 195:bd5b123143ca 16 #define MULTICAST_MDNS 9
andrewboyson 195:bd5b123143ca 17 #define MULTICAST_LLMNR 10
andrewboyson 195:bd5b123143ca 18 #define MULTICAST_NTP 11
andrewboyson 195:bd5b123143ca 19 #define SOLICITED_NODE 12
andrewboyson 195:bd5b123143ca 20 #define BROADCAST 13
andrewboyson 37:793b39683406 21
andrewboyson 37:793b39683406 22 /*
andrewboyson 37:793b39683406 23 If DO_NOTHING then no other flags may be set.
andrewboyson 37:793b39683406 24 This allows action to be checked for DO_NOTHING without stripping the flags.
andrewboyson 37:793b39683406 25 Flags must be stripped before using the destination part.
andrewboyson 37:793b39683406 26 */