add statistic to track estimated network diameter
[oweals/gnunet.git] / src / nse / nse.h
index 536834573c9492c087932db04dd4e652f61e9b92..91b629657c0829dddfd2300feca5cc233853e3d7 100644 (file)
@@ -52,7 +52,7 @@ struct GNUNET_NSE_ClientMessage
   /**
    * For alignment.
    */
-  uint32_t reserved;
+  uint32_t reserved GNUNET_PACKED;
 
   /**
    * Timestamp at which the server received the message.
@@ -62,14 +62,14 @@ struct GNUNET_NSE_ClientMessage
   /**
    * The current estimated network size.
    */
-  double size_estimate;
+  double size_estimate GNUNET_PACKED;
 
   /**
    * The standard deviation (rounded down
    * to the nearest integer) of size
    * estimations.
    */
-  double std_deviation;
+  double std_deviation GNUNET_PACKED;
 };