diff options
author | Gabor X Toth <*@tg-x.net> | 2013-09-04 08:00:17 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-09-04 08:00:17 +0000 |
commit | 224ea9e3e94ce8762f9d1b081294d2d4cba0052b (patch) | |
tree | debb6e43ec46bdd8127daf4867609fd4d9ded00f /src/include/gnunet_multicast_service.h | |
parent | 626d3a3f51496e306a9e4e276957e0874c89a2dc (diff) | |
download | gnunet-224ea9e3e94ce8762f9d1b081294d2d4cba0052b.tar.gz gnunet-224ea9e3e94ce8762f9d1b081294d2d4cba0052b.zip |
multicast: revert packed struct syntax
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r-- | src/include/gnunet_multicast_service.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h index 4fdf60222..140e05e71 100644 --- a/src/include/gnunet_multicast_service.h +++ b/src/include/gnunet_multicast_service.h | |||
@@ -101,7 +101,7 @@ struct GNUNET_MULTICAST_MessageHeader | |||
101 | * unicast requests from members. Updated at each hop and thus not signed and | 101 | * unicast requests from members. Updated at each hop and thus not signed and |
102 | * not secure. | 102 | * not secure. |
103 | */ | 103 | */ |
104 | uint32_t hop_counter; | 104 | uint32_t hop_counter GNUNET_PACKED; |
105 | 105 | ||
106 | /** | 106 | /** |
107 | * ECC signature of the message fragment. | 107 | * ECC signature of the message fragment. |
@@ -118,19 +118,19 @@ struct GNUNET_MULTICAST_MessageHeader | |||
118 | /** | 118 | /** |
119 | * Number of the message fragment, monotonically increasing. | 119 | * Number of the message fragment, monotonically increasing. |
120 | */ | 120 | */ |
121 | uint64_t fragment_id; | 121 | uint64_t fragment_id GNUNET_PACKED; |
122 | 122 | ||
123 | /** | 123 | /** |
124 | * Byte offset of this @e fragment of the @e message. | 124 | * Byte offset of this @e fragment of the @e message. |
125 | */ | 125 | */ |
126 | uint64_t fragment_offset; | 126 | uint64_t fragment_offset GNUNET_PACKED; |
127 | 127 | ||
128 | /** | 128 | /** |
129 | * Number of the message this fragment belongs to. | 129 | * Number of the message this fragment belongs to. |
130 | * | 130 | * |
131 | * Set in GNUNET_MULTICAST_origin_to_all(). | 131 | * Set in GNUNET_MULTICAST_origin_to_all(). |
132 | */ | 132 | */ |
133 | uint64_t message_id; | 133 | uint64_t message_id GNUNET_PACKED; |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Counter that monotonically increases whenever a member parts the group. | 136 | * Counter that monotonically increases whenever a member parts the group. |
@@ -142,15 +142,15 @@ struct GNUNET_MULTICAST_MessageHeader | |||
142 | * is still the same before and after the missed messages, it means that no | 142 | * is still the same before and after the missed messages, it means that no |
143 | * @e join or @e part operations happened during the missed messages. | 143 | * @e join or @e part operations happened during the missed messages. |
144 | */ | 144 | */ |
145 | uint64_t group_generation; | 145 | uint64_t group_generation GNUNET_PACKED; |
146 | 146 | ||
147 | /** | 147 | /** |
148 | * Flags for this message fragment. | 148 | * Flags for this message fragment. |
149 | */ | 149 | */ |
150 | uint32_t flags; | 150 | uint32_t flags GNUNET_PACKED; |
151 | 151 | ||
152 | /* Followed by message body. */ | 152 | /* Followed by message body. */ |
153 | } GNUNET_PACKED; | 153 | }; |
154 | 154 | ||
155 | GNUNET_NETWORK_STRUCT_END | 155 | GNUNET_NETWORK_STRUCT_END |
156 | 156 | ||