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:
Tue Oct 31 21:25:09 2017 +0000
Revision:
48:952dddb74b8b
Parent:
47:73af5c0b0dc2
Child:
49:1a6336f2b3f9
Split address resolution into AR4 and AR6. Corrected issue clearing a AR6 record.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 47:73af5c0b0dc2 1 extern int Ip6AddressToString(char* ip, int size, char* text);
andrewboyson 47:73af5c0b0dc2 2 extern int Ip6AddressLog (char* ip);
andrewboyson 47:73af5c0b0dc2 3 extern int Ip6AddressHttp (char* ip);
andrewboyson 47:73af5c0b0dc2 4
andrewboyson 35:93c39d260a83 5 extern bool Ip6IsSame (char* ipA, char* ipB);
andrewboyson 35:93c39d260a83 6 extern bool Ip6IsEmpty(char* ip);
andrewboyson 36:900e24b27bfb 7 extern void Ip6Copy(char* ipTo, char* ipFrom);
andrewboyson 36:900e24b27bfb 8 extern void Ip6Clear(char* ip);
andrewboyson 14:e75a59c1123d 9
andrewboyson 48:952dddb74b8b 10 extern bool Ip6Trace;
andrewboyson 10:f0854784e960 11
andrewboyson 48:952dddb74b8b 12 extern int Ip6HandleReceivedPacket(void (*traceback)(void), char* pSrcMac, void* pPacket, int *pSize, char* pDstMac);
andrewboyson 48:952dddb74b8b 13 extern int Ip6PollForPacketToSend ( void* pPacket, int *pSize, char* pDstMac);
andrewboyson 11:c051adb70c5a 14
andrewboyson 44:83ce5ace337b 15 extern void Ip6DstIpFromDest (int dest , char* pDstIp);
andrewboyson 44:83ce5ace337b 16 extern void Ip6SrcIpFromScope(int scope, char* pSrcIp);
andrewboyson 44:83ce5ace337b 17
andrewboyson 44:83ce5ace337b 18 #define SCOPE_NONE 0
andrewboyson 44:83ce5ace337b 19 #define SCOPE_LOCAL 1
andrewboyson 44:83ce5ace337b 20 #define SCOPE_GLOBAL 2