Wiselib
|
00001 //enable switches from general to specific to more specific 00002 00003 00004 //general switches 00005 #define PLTT_OPT 00006 #define PLTT_METRICS 00007 #define PLTT_SECURE 00008 //#define PLTT_DEBUG 00009 //#define PLTT_TARGET_MINI_RUN 00010 //#define MARIOS_DEMO 00011 #define ISENSE_APP 00012 //#define SHAWN_APP 00013 //#define IOANNIS_VIS 00014 #define LUEBECK_DEMO 00015 00016 00017 //specific switches 00018 //debug 00019 #ifdef PLTT_DEBUG 00020 #define ISENSE_PLTT_PASSIVE_DEBUG 00021 //#define ISENSE_PLTT_TARGET_DEBUG 00022 //#define ISENSE_PLTT_TRACKER_DEBUG 00023 #endif 00024 //optimizations 00025 #ifdef PLTT_OPT 00026 #define OPT_SPREAD_RANDOM_RECEIVERS 00027 #define OPT_LQI_INHIBITION 00028 #define OPT_PATH_CORRECTION 00029 //#define OPT_TARGET_LIST_AGGREGATION 00030 #define OPT_NON_MERGED_TREE 00031 #define OPT_RELIABLE_TRACKING 00032 #endif 00033 00034 //metrics 00035 #ifdef PLTT_METRICS 00036 #define PLTT_TRACKING_METRICS 00037 //#define PLTT_SPREAD_METRICS 00038 #endif 00039 00040 //metrics dependencies 00041 #ifdef PLTT_TRACKING_METRICS 00042 //#define PLTT_PASSIVE_TRACKING_METRICS 00043 //#define PLTT_PASSIVE_TRACKING_METRICS_LIGHT 00044 #define PLTT_TRACKER_TRACKING_METRICS 00045 #define PLTT_AGENT_TRACKING_METRICS 00046 #endif 00047 #ifdef PLTT_SPREAD_METRICS 00048 //#define PLTT_PASSIVE_SPREAD_METRICS 00049 #define PLTT_PASSIVE_SPREAD_METRICS_LIGHT 00050 //#define PLTT_TARGET_SPREAD_METRICS 00051 #endif 00052 00053 //metrics debug dependencies 00054 #ifdef PLTT_METRICS 00055 #define ISENSE_PLTT_METRICS_DEBUG 00056 #endif 00057 #ifdef PLTT_SECURE 00058 #define ISENSE_PLTT_SECURE_DEBUG 00059 #endif 00060 00061 //more specific switches 00062 //debug 00063 #ifdef ISENSE_PLTT_PASSIVE_DEBUG 00064 //#define ISENSE_PLTT_PASSIVE_DEBUG_NEIGHBORHOOD_DISCOVERY 00065 //#define ISENSE_PLTT_PASSIVE_DEBUG_SPREAD 00066 //#define ISENSE_PLTT_PASSIVE_DEBUG_INHIBITION 00067 //#define ISENSE_PLTT_PASSIVE_DEBUG_TRACK_ECHO 00068 #define ISENSE_PLTT_PASSIVE_DEBUG_TRACK_QUERY 00069 #define ISENSE_PLTT_PASSIVE_DEBUG_TRACK_QUERY_REPORT 00070 //#define ISENSE_PLTT_PASSIVE_DEBUG_MISC 00071 #ifdef ISENSE_PLTT_SECURE_DEBUG 00072 #define ISENSE_PLTT_SECURE_PASSIVE_DEBUG 00073 #endif 00074 #ifdef ISENSE_PLTT_METRICS_DEBUG 00075 #define ISENSE_PLTT_METRICS_PASSIVE_DEBUG 00076 #endif 00077 #ifdef OPT_RELIABLE_TRACKING 00078 #define ISENSE_PLTT_PASSIVE_RELIABLE_TRACKING_DEBUG 00079 #endif 00080 #endif 00081 #ifdef ISENSE_PLTT_TARGET_DEBUG 00082 #define ISENSE_PLTT_TARGET_DEBUG_SEND 00083 #define ISENSE_PLTT_TARGET_DEBUG_MISC 00084 #ifdef ISENSE_PLTT_SECURE_DEBUG 00085 #define ISENSE_PLTT_SECURE_TARGET_DEBUG 00086 #endif 00087 #ifdef ISENSE_PLTT_METRICS_DEBUG 00088 #define ISENSE_PLTT_METRICS_TARGET_DEBUG 00089 #endif 00090 #endif 00091 #ifdef ISENSE_PLTT_TRACKER_DEBUG 00092 #define ISENSE_PLTT_TRACKER_DEBUG_REPORT 00093 #define ISENSE_PLTT_TRACKER_DEBUG_QUERY 00094 #define ISENSE_PLTT_TRACKER_DEBUG_MISC 00095 #ifdef ISENSE_PLTT_SECURE_DEBUG 00096 #define ISENSE_PLTT_SECURE_TRACKER_DEBUG 00097 #endif 00098 #ifdef ISENSE_PLTT_METRICS_DEBUG 00099 #define ISENSE_PLTT_METRICS_TRACKER_DEBUG 00100 #endif 00101 #endif 00102