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@107:cc58b4c2090b, 2019-01-15 (annotated)
- Committer:
- andrewboyson
- Date:
- Tue Jan 15 16:46:57 2019 +0000
- Revision:
- 107:cc58b4c2090b
- Parent:
- 49:1a6336f2b3f9
- Child:
- 136:8a65abb0dc63
Added multicast NTP IP 4 and 6 addresses
Who changed what in which revision?
User | Revision | Line number | New 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 |