GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
#include "gnunet_common.h"
-/**
- * Generate debug-level log messages?
- */
-#define DEBUG_NSE GNUNET_EXTRA_LOGGING
+GNUNET_NETWORK_STRUCT_BEGIN
/**
* Network size estimate sent from the service
struct GNUNET_NSE_ClientMessage
{
/**
- * Type: GNUNET_MESSAGE_TYPE_NSE_UPDATE
+ * Type: GNUNET_MESSAGE_TYPE_NSE_ESTIMATE
*/
struct GNUNET_MessageHeader header;
/**
* For alignment.
*/
- uint32_t reserved;
+ uint32_t reserved GNUNET_PACKED;
/**
* Timestamp at which the server received the message.
/**
* 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;
};
-
+GNUNET_NETWORK_STRUCT_END
#endif