summaryrefslogtreecommitdiff
path: root/headers/arpa
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-11-02 13:08:34 -0700
committerDan Albert <danalbert@google.com>2016-11-02 13:10:25 -0700
commit5d7c97c63b29ab06061090c8dbd327c54990aeb4 (patch)
treeafc2c50c39423a5d308a1d3c42adc303c3ead96a /headers/arpa
parentb89405b3b8d3d57ebb867b4931e6e9bd955f2418 (diff)
downloadndk-5d7c97c63b29ab06061090c8dbd327c54990aeb4.tar.gz
Update bionic headers to 42eb0b2.
Test: make checkbuild Change-Id: I22d9edf1371f8069741ed7f810dccb8c5d0afce1
Diffstat (limited to 'headers/arpa')
-rw-r--r--headers/arpa/nameser_compat.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/headers/arpa/nameser_compat.h b/headers/arpa/nameser_compat.h
index 686887649..e4e933507 100644
--- a/headers/arpa/nameser_compat.h
+++ b/headers/arpa/nameser_compat.h
@@ -54,21 +54,6 @@
typedef struct {
unsigned id :16; /* query identification number */
-#if BYTE_ORDER == BIG_ENDIAN
- /* fields in third byte */
- unsigned qr: 1; /* response flag */
- unsigned opcode: 4; /* purpose of message */
- unsigned aa: 1; /* authoritive answer */
- unsigned tc: 1; /* truncated message */
- unsigned rd: 1; /* recursion desired */
- /* fields in fourth byte */
- unsigned ra: 1; /* recursion available */
- unsigned unused :1; /* unused bits (MBZ as of 4.9.3a3) */
- unsigned ad: 1; /* authentic data from named */
- unsigned cd: 1; /* checking disabled by resolver */
- unsigned rcode :4; /* response code */
-#endif
-#if BYTE_ORDER == LITTLE_ENDIAN || BYTE_ORDER == PDP_ENDIAN
/* fields in third byte */
unsigned rd :1; /* recursion desired */
unsigned tc :1; /* truncated message */
@@ -81,7 +66,6 @@ typedef struct {
unsigned ad: 1; /* authentic data from named */
unsigned unused :1; /* unused bits (MBZ as of 4.9.3a3) */
unsigned ra :1; /* recursion available */
-#endif
/* remaining bytes */
unsigned qdcount :16; /* number of question entries */
unsigned ancount :16; /* number of answer entries */