diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-29 12:50:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-29 12:50:51 +0000 |
commit | 5191f087de98461a0b7bfa4ec36e0d980f2f3206 (patch) | |
tree | 03da7e00df3469defb48c5acbfc756976b36101a /src/include/gnunet_tun_lib.h | |
parent | a74f95cb209906901dc44cff013fa9200c4e2e4e (diff) | |
download | gnunet-5191f087de98461a0b7bfa4ec36e0d980f2f3206.tar.gz gnunet-5191f087de98461a0b7bfa4ec36e0d980f2f3206.zip |
LRN: Enforce GCC bitfield layout for some structs on W32
Diffstat (limited to 'src/include/gnunet_tun_lib.h')
-rw-r--r-- | src/include/gnunet_tun_lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_tun_lib.h b/src/include/gnunet_tun_lib.h index dac11d6a8..3bb1ea359 100644 --- a/src/include/gnunet_tun_lib.h +++ b/src/include/gnunet_tun_lib.h | |||
@@ -119,7 +119,7 @@ struct GNUNET_TUN_IPv4Header | |||
119 | * Destination of the packet. | 119 | * Destination of the packet. |
120 | */ | 120 | */ |
121 | struct in_addr destination_address GNUNET_PACKED; | 121 | struct in_addr destination_address GNUNET_PACKED; |
122 | }; | 122 | } GNUNET_GCC_STRUCT_LAYOUT; |
123 | 123 | ||
124 | 124 | ||
125 | /** | 125 | /** |
@@ -163,7 +163,7 @@ struct GNUNET_TUN_IPv6Header | |||
163 | * Destination of the packet. | 163 | * Destination of the packet. |
164 | */ | 164 | */ |
165 | struct in6_addr destination_address GNUNET_PACKED; | 165 | struct in6_addr destination_address GNUNET_PACKED; |
166 | }; | 166 | } GNUNET_GCC_STRUCT_LAYOUT; |
167 | 167 | ||
168 | 168 | ||
169 | /** | 169 | /** |
@@ -224,7 +224,7 @@ struct GNUNET_TUN_TcpHeader | |||
224 | * Urgent pointer. | 224 | * Urgent pointer. |
225 | */ | 225 | */ |
226 | uint16_t urgent_pointer GNUNET_PACKED; | 226 | uint16_t urgent_pointer GNUNET_PACKED; |
227 | }; | 227 | } GNUNET_GCC_STRUCT_LAYOUT; |
228 | 228 | ||
229 | 229 | ||
230 | /** | 230 | /** |