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
ip6/ip6addr.h
- Committer:
- andrewboyson
- Date:
- 2019-01-15
- Revision:
- 107:cc58b4c2090b
- Parent:
- 49:1a6336f2b3f9
- Child:
- 136:8a65abb0dc63
File content as of revision 107:cc58b4c2090b:
extern int Ip6AddressToString(char* ip, int size, char* text); extern int Ip6AddressLog (char* ip); extern int Ip6AddressHttp (char* ip); extern bool Ip6AddressIsSame (const char* ipA, const char* ipB); extern bool Ip6AddressIsEmpty(const char* ip); extern void Ip6AddressCopy(char* ipTo, const char* ipFrom); extern void Ip6AddressClear(char* ip); extern const char Ip6AddressAllNodes []; extern const char Ip6AddressAllRouters[]; extern const char Ip6AddressMdns []; extern const char Ip6AddressLlmnr []; extern const char Ip6AddressNtp []; extern void Ip6AddressFromDest (int dest , char* pDstIp); #define SCOPE_NONE 0 #define SCOPE_LOCAL 1 #define SCOPE_GLOBAL 2