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/ip6hdr.h@151:bde6f7da1755, 2019-07-19 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Jul 19 17:48:06 2019 +0000
- Revision:
- 151:bde6f7da1755
- Parent:
- 136:8a65abb0dc63
Removed private key and certificate from semihost storage as found to be unreliable (though secure) and moved it into flash storage (reliable, simple, but visible on mbed.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 136:8a65abb0dc63 | 1 | #include <stdbool.h> |
andrewboyson | 136:8a65abb0dc63 | 2 | #include <stdint.h> |
andrewboyson | 136:8a65abb0dc63 | 3 | |
andrewboyson | 136:8a65abb0dc63 | 4 | extern char* Ip6HdrPtrVersionTrafficFlow (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 5 | extern char* Ip6HdrPtrPayloadLength (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 6 | extern char* Ip6HdrPtrProtocol (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 7 | extern char* Ip6HdrPtrHopLimit (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 8 | extern char* Ip6HdrPtrSrc (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 9 | extern char* Ip6HdrPtrDst (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 10 | extern const int IP6_HEADER_LENGTH; |
andrewboyson | 136:8a65abb0dc63 | 11 | |
andrewboyson | 136:8a65abb0dc63 | 12 | extern int Ip6HdrGetVersion (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 13 | extern int Ip6HdrGetPayloadLen(char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 14 | extern int Ip6HdrGetProtocol (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 15 | extern int Ip6HdrGetHopLimit (char* pPacket); |
andrewboyson | 136:8a65abb0dc63 | 16 | |
andrewboyson | 136:8a65abb0dc63 | 17 | extern void Ip6HdrSetVersion (char* pPacket, int value); |
andrewboyson | 136:8a65abb0dc63 | 18 | extern void Ip6HdrSetPayloadLen(char* pPacket, int value); |
andrewboyson | 136:8a65abb0dc63 | 19 | extern void Ip6HdrSetProtocol (char* pPacket, int value); |
andrewboyson | 136:8a65abb0dc63 | 20 | extern void Ip6HdrSetHopLimit (char* pPacket, int value); |