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 Feb 22 11:26:55 2019 +0000
Revision:
125:8c84daac38ab
Parent:
107:cc58b4c2090b
Child:
136:8a65abb0dc63
tidied up ntp data types for calculating ms from clktime.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 49:1a6336f2b3f9 1 extern int Ip6AddressToString(char* ip, int size, char* text);
andrewboyson 49:1a6336f2b3f9 2 extern int Ip6AddressLog (char* ip);
andrewboyson 49:1a6336f2b3f9 3 extern int Ip6AddressHttp (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 107:cc58b4c2090b 7 extern void Ip6AddressCopy(char* ipTo, const char* ipFrom);
andrewboyson 49:1a6336f2b3f9 8 extern void Ip6AddressClear(char* ip);
andrewboyson 49:1a6336f2b3f9 9
andrewboyson 107:cc58b4c2090b 10 extern const char Ip6AddressAllNodes [];
andrewboyson 107:cc58b4c2090b 11 extern const char Ip6AddressAllRouters[];
andrewboyson 107:cc58b4c2090b 12 extern const char Ip6AddressMdns [];
andrewboyson 107:cc58b4c2090b 13 extern const char Ip6AddressLlmnr [];
andrewboyson 107:cc58b4c2090b 14 extern const char Ip6AddressNtp [];
andrewboyson 49:1a6336f2b3f9 15
andrewboyson 49:1a6336f2b3f9 16 extern void Ip6AddressFromDest (int dest , char* pDstIp);
andrewboyson 49:1a6336f2b3f9 17
andrewboyson 49:1a6336f2b3f9 18 #define SCOPE_NONE 0
andrewboyson 49:1a6336f2b3f9 19 #define SCOPE_LOCAL 1
andrewboyson 49:1a6336f2b3f9 20 #define SCOPE_GLOBAL 2