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:
143:8cec8f08dc54
Child:
171:f708d6776752
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 143:8cec8f08dc54 1 extern int Ip6AddressToString(const char* ip, int size, char* text);
andrewboyson 143:8cec8f08dc54 2 extern int Ip6AddressLog (const char* ip);
andrewboyson 143:8cec8f08dc54 3 extern int Ip6AddressHttp (const char* ip);
andrewboyson 49:1a6336f2b3f9 4
andrewboyson 107:cc58b4c2090b 5 extern bool Ip6AddressIsSame (const char* ipA, const char* ipB);
andrewboyson 107:cc58b4c2090b 6 extern bool Ip6AddressIsEmpty(const char* ip);
andrewboyson 143:8cec8f08dc54 7 extern void Ip6AddressCopy (char* ipTo, const char* ipFrom);
andrewboyson 143:8cec8f08dc54 8 extern void Ip6AddressClear (char* ip);
andrewboyson 49:1a6336f2b3f9 9
andrewboyson 143:8cec8f08dc54 10 extern bool Ip6AddrIsSolicited(const char* p);
andrewboyson 143:8cec8f08dc54 11 extern bool Ip6AddrIsMulticast(const char *p);
andrewboyson 143:8cec8f08dc54 12 extern bool Ip6AddrIsSameGroup(const char* pA, const char* pB);
andrewboyson 136:8a65abb0dc63 13
andrewboyson 107:cc58b4c2090b 14 extern const char Ip6AddressAllNodes [];
andrewboyson 107:cc58b4c2090b 15 extern const char Ip6AddressAllRouters[];
andrewboyson 107:cc58b4c2090b 16 extern const char Ip6AddressMdns [];
andrewboyson 107:cc58b4c2090b 17 extern const char Ip6AddressLlmnr [];
andrewboyson 107:cc58b4c2090b 18 extern const char Ip6AddressNtp [];
andrewboyson 49:1a6336f2b3f9 19
andrewboyson 49:1a6336f2b3f9 20 extern void Ip6AddressFromDest (int dest , char* pDstIp);
andrewboyson 49:1a6336f2b3f9 21
andrewboyson 49:1a6336f2b3f9 22 #define SCOPE_NONE 0
andrewboyson 49:1a6336f2b3f9 23 #define SCOPE_LOCAL 1
andrewboyson 49:1a6336f2b3f9 24 #define SCOPE_GLOBAL 2