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:
Fri Jul 19 17:48:06 2019 +0000
Revision:
151:bde6f7da1755
Parent:
105:ef2dd21d808c
Child:
195:bd5b123143ca
Removed private key and certificate from semihost storage as found to be unreliable (though secure) and moved it into flash storage (reliable, simple, but visible on mbed.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 37:793b39683406 1 extern int ActionMakeFromDestAndTrace(int dest, bool trace);
andrewboyson 37:793b39683406 2 extern int ActionGetDestPart (int action);
andrewboyson 37:793b39683406 3 extern bool ActionGetTracePart (int action);
andrewboyson 37:793b39683406 4
andrewboyson 37:793b39683406 5 #define DO_NOTHING 0
andrewboyson 37:793b39683406 6 #define UNICAST 1
andrewboyson 37:793b39683406 7 #define UNICAST_DNS 2
andrewboyson 37:793b39683406 8 #define UNICAST_DHCP 3
andrewboyson 37:793b39683406 9 #define UNICAST_NTP 4
andrewboyson 57:e0fb648acf48 10 #define UNICAST_TFTP 5
andrewboyson 57:e0fb648acf48 11 #define MULTICAST_NODE 6
andrewboyson 57:e0fb648acf48 12 #define MULTICAST_ROUTER 7
andrewboyson 57:e0fb648acf48 13 #define MULTICAST_MDNS 8
andrewboyson 57:e0fb648acf48 14 #define MULTICAST_LLMNR 9
andrewboyson 105:ef2dd21d808c 15 #define MULTICAST_NTP 10
andrewboyson 105:ef2dd21d808c 16 #define SOLICITED_NODE 11
andrewboyson 105:ef2dd21d808c 17 #define BROADCAST 12
andrewboyson 37:793b39683406 18
andrewboyson 37:793b39683406 19 /*
andrewboyson 37:793b39683406 20 If DO_NOTHING then no other flags may be set.
andrewboyson 37:793b39683406 21 This allows action to be checked for DO_NOTHING without stripping the flags.
andrewboyson 37:793b39683406 22 Flags must be stripped before using the destination part.
andrewboyson 37:793b39683406 23 */