(no commit message)
[oweals/gnunet.git] / src / include / block_dns.h
index 6be82b126b83d1116dfb2bf7e5483824e4837dec..1c01754de8e0bc524841b1584d2c88a0f249d8ec 100644 (file)
@@ -39,23 +39,23 @@ struct GNUNET_DNS_Record
    * The descriptor for the service
    * (a peer may provide more than one service)
    */
-  GNUNET_HashCode service_descriptor;
+  GNUNET_HashCode service_descriptor GNUNET_PACKED;
 
   /**
    * When does this record expire?
    */
-  struct GNUNET_TIME_Absolute expiration_time;
+  struct GNUNET_TIME_AbsoluteNBO expiration_time;
 
   /**
    * Four TCP and UDP-Ports that are used by this service, big endian format
    */
-  uint64_t ports;
+  uint64_t ports GNUNET_PACKED;
 
   /**
    * What connection-types (UDP, TCP, ...) are supported by the service.
    * Contains an 'enum GNUNET_DNS_ServiceTypes' in big endian format.
    */
-  uint32_t service_type;
+  uint32_t service_type GNUNET_PACKED;
 };
 
 #endif