diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-05 08:34:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-05 08:34:36 +0000 |
commit | 2e1efb58832578c2460a5586181b0ba321a341c3 (patch) | |
tree | 3b9e87252f8261530625d302e4d250b4a712d101 /src/nse | |
parent | c6c55c8756e73a6560a2513f2071ca6afa3c40eb (diff) | |
download | gnunet-2e1efb58832578c2460a5586181b0ba321a341c3.tar.gz gnunet-2e1efb58832578c2460a5586181b0ba321a341c3.zip |
add GNUNET_PACKED
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index d1d559b77..e70d6c29e 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -148,7 +148,7 @@ struct GNUNET_NSE_FloodMessage | |||
148 | /** | 148 | /** |
149 | * Number of hops this message has taken so far. | 149 | * Number of hops this message has taken so far. |
150 | */ | 150 | */ |
151 | uint32_t hop_count; | 151 | uint32_t hop_count GNUNET_PACKED; |
152 | 152 | ||
153 | /** | 153 | /** |
154 | * Purpose. | 154 | * Purpose. |
@@ -166,7 +166,7 @@ struct GNUNET_NSE_FloodMessage | |||
166 | * of timestamp and the initiator's public | 166 | * of timestamp and the initiator's public |
167 | * key. | 167 | * key. |
168 | */ | 168 | */ |
169 | uint32_t matching_bits; | 169 | uint32_t matching_bits GNUNET_PACKED; |
170 | 170 | ||
171 | /** | 171 | /** |
172 | * Public key of the originator. | 172 | * Public key of the originator. |
@@ -176,7 +176,7 @@ struct GNUNET_NSE_FloodMessage | |||
176 | /** | 176 | /** |
177 | * Proof of work, causing leading zeros when hashed with pkey. | 177 | * Proof of work, causing leading zeros when hashed with pkey. |
178 | */ | 178 | */ |
179 | uint64_t proof_of_work; | 179 | uint64_t proof_of_work GNUNET_PACKED; |
180 | 180 | ||
181 | /** | 181 | /** |
182 | * Signature (over range specified in purpose). | 182 | * Signature (over range specified in purpose). |