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.c
00001 #include <stdbool.h> 00002 00003 int ActionMakeFromDestAndTrace(int dest, bool trace) 00004 { 00005 if (trace) return dest | 0x8000; 00006 else return dest & 0x7FFF; 00007 } 00008 int ActionGetDestPart (int action) { return action & 0x7FFF; } 00009 bool ActionGetTracePart(int action) { return action & 0x8000; }
Generated on Tue Jul 12 2022 18:53:40 by 1.7.2