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
action.cpp@41:db727df5f98b, 2017-10-06 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Oct 06 10:18:01 2017 +0000
- Revision:
- 41:db727df5f98b
- Parent:
- 40:a94674b4f5a2
Changed DNS order between IPv4 and IPv6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 41:db727df5f98b | 1 | int ActionMakeFromDestAndTrace(int dest, bool trace) |
andrewboyson | 41:db727df5f98b | 2 | { |
andrewboyson | 41:db727df5f98b | 3 | if (trace) return dest | 0x8000; |
andrewboyson | 41:db727df5f98b | 4 | else return dest & 0x7FFF; |
andrewboyson | 41:db727df5f98b | 5 | } |
andrewboyson | 41:db727df5f98b | 6 | int ActionGetDestPart (int action) { return action & 0x7FFF; } |
andrewboyson | 41:db727df5f98b | 7 | bool ActionGetTracePart(int action) { return action & 0x8000; } |