aboutsummaryrefslogtreecommitdiff
path: root/src/include/block_dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/block_dns.h')
-rw-r--r--src/include/block_dns.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/block_dns.h b/src/include/block_dns.h
index 6be82b126..1c01754de 100644
--- a/src/include/block_dns.h
+++ b/src/include/block_dns.h
@@ -39,23 +39,23 @@ struct GNUNET_DNS_Record
39 * The descriptor for the service 39 * The descriptor for the service
40 * (a peer may provide more than one service) 40 * (a peer may provide more than one service)
41 */ 41 */
42 GNUNET_HashCode service_descriptor; 42 GNUNET_HashCode service_descriptor GNUNET_PACKED;
43 43
44 /** 44 /**
45 * When does this record expire? 45 * When does this record expire?
46 */ 46 */
47 struct GNUNET_TIME_Absolute expiration_time; 47 struct GNUNET_TIME_AbsoluteNBO expiration_time;
48 48
49 /** 49 /**
50 * Four TCP and UDP-Ports that are used by this service, big endian format 50 * Four TCP and UDP-Ports that are used by this service, big endian format
51 */ 51 */
52 uint64_t ports; 52 uint64_t ports GNUNET_PACKED;
53 53
54 /** 54 /**
55 * What connection-types (UDP, TCP, ...) are supported by the service. 55 * What connection-types (UDP, TCP, ...) are supported by the service.
56 * Contains an 'enum GNUNET_DNS_ServiceTypes' in big endian format. 56 * Contains an 'enum GNUNET_DNS_ServiceTypes' in big endian format.
57 */ 57 */
58 uint32_t service_type; 58 uint32_t service_type GNUNET_PACKED;
59}; 59};
60 60
61#endif 61#endif