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.h@37:793b39683406, 2017-10-04 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Oct 04 07:51:02 2017 +0000
- Revision:
- 37:793b39683406
- Child:
- 57:e0fb648acf48
Added trace back and trace forward to log messages
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 37:793b39683406 | 1 | extern int ActionMakeFromDestAndTrace(int dest, bool trace); |
andrewboyson | 37:793b39683406 | 2 | extern int ActionGetDestPart (int action); |
andrewboyson | 37:793b39683406 | 3 | extern bool ActionGetTracePart (int action); |
andrewboyson | 37:793b39683406 | 4 | |
andrewboyson | 37:793b39683406 | 5 | #define DO_NOTHING 0 |
andrewboyson | 37:793b39683406 | 6 | #define UNICAST 1 |
andrewboyson | 37:793b39683406 | 7 | #define UNICAST_DNS 2 |
andrewboyson | 37:793b39683406 | 8 | #define UNICAST_DHCP 3 |
andrewboyson | 37:793b39683406 | 9 | #define UNICAST_NTP 4 |
andrewboyson | 37:793b39683406 | 10 | #define MULTICAST_NODE 5 |
andrewboyson | 37:793b39683406 | 11 | #define MULTICAST_ROUTER 6 |
andrewboyson | 37:793b39683406 | 12 | #define MULTICAST_MDNS 7 |
andrewboyson | 37:793b39683406 | 13 | #define MULTICAST_LLMNR 8 |
andrewboyson | 37:793b39683406 | 14 | #define SOLICITED_NODE 9 |
andrewboyson | 37:793b39683406 | 15 | #define BROADCAST 10 |
andrewboyson | 37:793b39683406 | 16 | |
andrewboyson | 37:793b39683406 | 17 | /* |
andrewboyson | 37:793b39683406 | 18 | If DO_NOTHING then no other flags may be set. |
andrewboyson | 37:793b39683406 | 19 | This allows action to be checked for DO_NOTHING without stripping the flags. |
andrewboyson | 37:793b39683406 | 20 | Flags must be stripped before using the destination part. |
andrewboyson | 37:793b39683406 | 21 | */ |