summaryrefslogtreecommitdiff
path: root/slirp/ip.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:13:06 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:21 -0500
commite2542fe2bce6756948dffe2d233d154a9e25bd35 (patch)
tree187b840091116d420116fb2627e48afa25d59563 /slirp/ip.h
parentf0667e660720cf2aee4c58716a7a9337bc359a31 (diff)
downloadqemu-e2542fe2bce6756948dffe2d233d154a9e25bd35.tar.gz
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/ip.h')
-rw-r--r--slirp/ip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/slirp/ip.h b/slirp/ip.h
index 574fc019ae..5074e33129 100644
--- a/slirp/ip.h
+++ b/slirp/ip.h
@@ -33,7 +33,7 @@
#ifndef _IP_H_
#define _IP_H_
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
# ifndef NTOHL
# define NTOHL(d)
# endif
@@ -73,7 +73,7 @@ typedef u_int32_t n_long; /* long as received from the net */
* Structure of an internet header, naked of options.
*/
struct ip {
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
u_int ip_v:4, /* version */
ip_hl:4; /* header length */
#else
@@ -139,7 +139,7 @@ struct ip_timestamp {
u_int8_t ipt_code; /* IPOPT_TS */
u_int8_t ipt_len; /* size of structure (variable) */
u_int8_t ipt_ptr; /* index of current entry */
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
u_int ipt_oflw:4, /* overflow counter */
ipt_flg:4; /* flags, see below */
#else