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@49:1a6336f2b3f9, 2017-11-02 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Nov 02 08:10:55 2017 +0000
- Revision:
- 49:1a6336f2b3f9
- Child:
- 107:cc58b4c2090b
Separated the address handling parts of IP4 and IP6 from the protocol parts.
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 | 49:1a6336f2b3f9 | 5 | extern bool Ip6AddressIsSame (char* ipA, char* ipB); |
andrewboyson | 49:1a6336f2b3f9 | 6 | extern bool Ip6AddressIsEmpty(char* ip); |
andrewboyson | 49:1a6336f2b3f9 | 7 | extern void Ip6AddressCopy(char* ipTo, char* ipFrom); |
andrewboyson | 49:1a6336f2b3f9 | 8 | extern void Ip6AddressClear(char* ip); |
andrewboyson | 49:1a6336f2b3f9 | 9 | |
andrewboyson | 49:1a6336f2b3f9 | 10 | extern char Ip6AddressAllNodes []; |
andrewboyson | 49:1a6336f2b3f9 | 11 | extern char Ip6AddressAllRouters[]; |
andrewboyson | 49:1a6336f2b3f9 | 12 | extern char Ip6AddressMdns []; |
andrewboyson | 49:1a6336f2b3f9 | 13 | extern char Ip6AddressLlmnr []; |
andrewboyson | 49:1a6336f2b3f9 | 14 | |
andrewboyson | 49:1a6336f2b3f9 | 15 | extern void Ip6AddressFromDest (int dest , char* pDstIp); |
andrewboyson | 49:1a6336f2b3f9 | 16 | |
andrewboyson | 49:1a6336f2b3f9 | 17 | #define SCOPE_NONE 0 |
andrewboyson | 49:1a6336f2b3f9 | 18 | #define SCOPE_LOCAL 1 |
andrewboyson | 49:1a6336f2b3f9 | 19 | #define SCOPE_GLOBAL 2 |