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
Diff: ip6/ip6addr.h
- Revision:
- 49:1a6336f2b3f9
- Child:
- 107:cc58b4c2090b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ip6/ip6addr.h Thu Nov 02 08:10:55 2017 +0000 @@ -0,0 +1,19 @@ +extern int Ip6AddressToString(char* ip, int size, char* text); +extern int Ip6AddressLog (char* ip); +extern int Ip6AddressHttp (char* ip); + +extern bool Ip6AddressIsSame (char* ipA, char* ipB); +extern bool Ip6AddressIsEmpty(char* ip); +extern void Ip6AddressCopy(char* ipTo, char* ipFrom); +extern void Ip6AddressClear(char* ip); + +extern char Ip6AddressAllNodes []; +extern char Ip6AddressAllRouters[]; +extern char Ip6AddressMdns []; +extern char Ip6AddressLlmnr []; + +extern void Ip6AddressFromDest (int dest , char* pDstIp); + +#define SCOPE_NONE 0 +#define SCOPE_LOCAL 1 +#define SCOPE_GLOBAL 2 \ No newline at end of file