[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r22343 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r22343 - gnunet/src/include |
Date: |
Wed, 27 Jun 2012 13:49:24 +0200 |
Author: schanzen
Date: 2012-06-27 13:49:24 +0200 (Wed, 27 Jun 2012)
New Revision: 22343
Modified:
gnunet/src/include/gnunet_dnsparser_lib.h
Log:
-fix bigendian
Modified: gnunet/src/include/gnunet_dnsparser_lib.h
===================================================================
--- gnunet/src/include/gnunet_dnsparser_lib.h 2012-06-27 11:23:16 UTC (rev
22342)
+++ gnunet/src/include/gnunet_dnsparser_lib.h 2012-06-27 11:49:24 UTC (rev
22343)
@@ -132,55 +132,55 @@
#elif __BYTE_ORDER == __BIG_ENDIAN
/**
- * See GNUNET_DNSPARSER_RETURN_CODE_ defines.
+ * query:0, response:1
*/
- unsigned int return_code : 4 GNUNET_PACKED;
+ unsigned int query_or_response : 1 GNUNET_PACKED;
/**
- * See RFC 4035.
+ * See GNUNET_DNSPARSER_OPCODE_ defines.
*/
- unsigned int checking_disabled : 1 GNUNET_PACKED;
+ unsigned int opcode : 4 GNUNET_PACKED;
/**
- * Response has been cryptographically verified, RFC 4035.
+ * Set to 1 if this is an authoritative answer
*/
- unsigned int authenticated_data : 1 GNUNET_PACKED;
+ unsigned int authoritative_answer : 1 GNUNET_PACKED;
/**
- * Always zero.
+ * Set to 1 if message is truncated
*/
- unsigned int zero : 1 GNUNET_PACKED;
+ unsigned int message_truncated : 1 GNUNET_PACKED;
/**
- * Set to 1 if recursion is available (server -> client)
+ * Set to 1 if recursion is desired (client -> server)
*/
- unsigned int recursion_available : 1 GNUNET_PACKED;
+ unsigned int recursion_desired : 1 GNUNET_PACKED;
+
/**
- * Set to 1 if recursion is desired (client -> server)
+ * Set to 1 if recursion is available (server -> client)
*/
- unsigned int recursion_desired : 1 GNUNET_PACKED;
+ unsigned int recursion_available : 1 GNUNET_PACKED;
/**
- * Set to 1 if message is truncated
+ * Always zero.
*/
- unsigned int message_truncated : 1 GNUNET_PACKED;
+ unsigned int zero : 1 GNUNET_PACKED;
/**
- * Set to 1 if this is an authoritative answer
+ * Response has been cryptographically verified, RFC 4035.
*/
- unsigned int authoritative_answer : 1 GNUNET_PACKED;
+ unsigned int authenticated_data : 1 GNUNET_PACKED;
/**
- * See GNUNET_DNSPARSER_OPCODE_ defines.
+ * See RFC 4035.
*/
- unsigned int opcode : 4 GNUNET_PACKED;
+ unsigned int checking_disabled : 1 GNUNET_PACKED;
/**
- * query:0, response:1
- */
- unsigned int query_or_response : 1 GNUNET_PACKED;
-
+ * See GNUNET_DNSPARSER_RETURN_CODE_ defines.
+ */
+ unsigned int return_code : 4 GNUNET_PACKED;
#else
#error byteorder undefined
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r22343 - gnunet/src/include,
gnunet <=