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/ip6.h@47:73af5c0b0dc2, 2017-10-26 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Oct 26 14:50:24 2017 +0000
- Revision:
- 47:73af5c0b0dc2
- Parent:
- 44:83ce5ace337b
- Child:
- 48:952dddb74b8b
Replaced a number of temporary buffers with direct writes to the Log or HTTP.
Who changed what in which revision?
User | Revision | Line number | New 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 | 37:793b39683406 | 10 | extern int Ip6HandleReceivedPacket(void (*traceback)(void), char* pSrcMac, void* pPacket, int *pSize, char* pDstMac); |
andrewboyson | 37:793b39683406 | 11 | extern int Ip6PollForPacketToSend ( void* pPacket, int *pSize, char* pDstMac); |
andrewboyson | 10:f0854784e960 | 12 | |
andrewboyson | 11:c051adb70c5a | 13 | |
andrewboyson | 44:83ce5ace337b | 14 | extern void Ip6DstIpFromDest (int dest , char* pDstIp); |
andrewboyson | 44:83ce5ace337b | 15 | extern void Ip6SrcIpFromScope(int scope, char* pSrcIp); |
andrewboyson | 44:83ce5ace337b | 16 | |
andrewboyson | 44:83ce5ace337b | 17 | #define SCOPE_NONE 0 |
andrewboyson | 44:83ce5ace337b | 18 | #define SCOPE_LOCAL 1 |
andrewboyson | 44:83ce5ace337b | 19 | #define SCOPE_GLOBAL 2 |