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

Revision:
195:bd5b123143ca
Parent:
105:ef2dd21d808c
--- a/action.h	Thu Mar 04 12:08:14 2021 +0000
+++ b/action.h	Sun Apr 18 19:04:48 2021 +0000
@@ -1,3 +1,5 @@
+#include <stdbool.h>
+
 extern int  ActionMakeFromDestAndTrace(int dest, bool trace);
 extern int  ActionGetDestPart         (int action);
 extern bool ActionGetTracePart        (int action);
@@ -8,13 +10,14 @@
 #define   UNICAST_DHCP   3
 #define   UNICAST_NTP    4
 #define   UNICAST_TFTP   5
-#define MULTICAST_NODE   6
-#define MULTICAST_ROUTER 7
-#define MULTICAST_MDNS   8
-#define MULTICAST_LLMNR  9
-#define MULTICAST_NTP   10
-#define SOLICITED_NODE  11
-#define BROADCAST       12
+#define   UNICAST_USER   6
+#define MULTICAST_NODE   7
+#define MULTICAST_ROUTER 8
+#define MULTICAST_MDNS   9
+#define MULTICAST_LLMNR 10
+#define MULTICAST_NTP   11
+#define SOLICITED_NODE  12
+#define BROADCAST       13
 
 /*
 If DO_NOTHING then no other flags may be set.