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:
37:793b39683406
Child:
57:e0fb648acf48
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/action.h	Wed Oct 04 07:51:02 2017 +0000
@@ -0,0 +1,21 @@
+extern int  ActionMakeFromDestAndTrace(int dest, bool trace);
+extern int  ActionGetDestPart         (int action);
+extern bool ActionGetTracePart        (int action);
+
+#define DO_NOTHING       0
+#define   UNICAST        1
+#define   UNICAST_DNS    2
+#define   UNICAST_DHCP   3
+#define   UNICAST_NTP    4
+#define MULTICAST_NODE   5
+#define MULTICAST_ROUTER 6
+#define MULTICAST_MDNS   7
+#define MULTICAST_LLMNR  8
+#define SOLICITED_NODE   9
+#define BROADCAST       10
+
+/*
+If DO_NOTHING then no other flags may be set.
+This allows action to be checked for DO_NOTHING without stripping the flags.
+Flags must be stripped before using the destination part.
+*/
\ No newline at end of file