[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19530 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19530 - gnunet/src/include |
Date: |
Mon, 30 Jan 2012 13:31:32 +0100 |
Author: grothoff
Date: 2012-01-30 13:31:32 +0100 (Mon, 30 Jan 2012)
New Revision: 19530
Modified:
gnunet/src/include/gnunet_tun_lib.h
Log:
-adding a few more packed statments
Modified: gnunet/src/include/gnunet_tun_lib.h
===================================================================
--- gnunet/src/include/gnunet_tun_lib.h 2012-01-30 12:27:14 UTC (rev 19529)
+++ gnunet/src/include/gnunet_tun_lib.h 2012-01-30 12:31:32 UTC (rev 19530)
@@ -56,12 +56,12 @@
/**
* Some flags (unused).
*/
- uint16_t flags;
+ uint16_t flags GNUNET_PACKED;
/**
* Here we get an ETH_P_-number.
*/
- uint16_t proto;
+ uint16_t proto GNUNET_PACKED;
};
@@ -179,35 +179,35 @@
struct GNUNET_TUN_IcmpHeader {
uint8_t type;
uint8_t code;
- uint16_t crc;
+ uint16_t crc GNUNET_PACKED;
union {
/**
* ICMP Echo (request/reply)
*/
struct {
- uint16_t identifier;
- uint16_t sequence_number;
+ uint16_t identifier GNUNET_PACKED;
+ uint16_t sequence_number GNUNET_PACKED;
} echo;
/**
* ICMP Destination Unreachable (RFC 1191)
*/
struct ih_pmtu {
- uint16_t empty;
- uint16_t next_hop_mtu;
+ uint16_t empty GNUNET_PACKED;
+ uint16_t next_hop_mtu GNUNET_PACKED;
/* followed by original IP header + first 8 bytes of original IP
datagram */
} destination_unreachable;
/**
* ICMP Redirect
*/
- struct in_addr redirect_gateway_address;
+ struct in_addr redirect_gateway_address GNUNET_PACKED;
/**
* MTU for packets that are too big (IPv6).
*/
- uint32_t packet_too_big_mtu;
+ uint32_t packet_too_big_mtu GNUNET_PACKED;
} quench;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19530 - gnunet/src/include,
gnunet <=