aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_sensor_util_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_sensor_util_lib.h')
-rw-r--r--src/include/gnunet_sensor_util_lib.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/gnunet_sensor_util_lib.h b/src/include/gnunet_sensor_util_lib.h
index 87ae564fa..897fbbaad 100644
--- a/src/include/gnunet_sensor_util_lib.h
+++ b/src/include/gnunet_sensor_util_lib.h
@@ -189,6 +189,26 @@ struct GNUNET_SENSOR_SensorInfo
189 189
190}; 190};
191 191
192/**
193 * Anomaly report received and stored by sensor dashboard.
194 * Sensor name and peer id are not included because they are part of the
195 * peerstore key.
196 */
197struct GNUNET_SENSOR_DashboardAnomalyEntry
198{
199
200 /**
201 * New anomaly status
202 */
203 uint16_t anomalous;
204
205 /**
206 * Percentage of neighbors reported the same anomaly
207 */
208 float anomalous_neighbors;
209
210};
211
192GNUNET_NETWORK_STRUCT_BEGIN 212GNUNET_NETWORK_STRUCT_BEGIN
193 213
194/** 214/**