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
00001 #include <stdbool.h> 00002 00003 extern int ActionMakeFromDestAndTrace(int dest, bool trace); 00004 extern int ActionGetDestPart (int action); 00005 extern bool ActionGetTracePart (int action); 00006 00007 #define DO_NOTHING 0 00008 #define UNICAST 1 00009 #define UNICAST_DNS 2 00010 #define UNICAST_DHCP 3 00011 #define UNICAST_NTP 4 00012 #define UNICAST_TFTP 5 00013 #define UNICAST_USER 6 00014 #define MULTICAST_NODE 7 00015 #define MULTICAST_ROUTER 8 00016 #define MULTICAST_MDNS 9 00017 #define MULTICAST_LLMNR 10 00018 #define MULTICAST_NTP 11 00019 #define SOLICITED_NODE 12 00020 #define BROADCAST 13 00021 00022 /* 00023 If DO_NOTHING then no other flags may be set. 00024 This allows action to be checked for DO_NOTHING without stripping the flags. 00025 Flags must be stripped before using the destination part. 00026 */
Generated on Tue Jul 12 2022 18:53:40 by 1.7.2