diff options
author | David 'Digit' Turner <digit@android.com> | 2010-05-10 17:07:36 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-05-10 18:35:07 -0700 |
commit | 20894ae3fa98f82da925fbeb72e616eef509758a (patch) | |
tree | c55db026ddc60683434f48d6c58cf51677609074 /slirp-android | |
parent | 1368f99ba2c6f29a97ba057d30d4a0235c83a441 (diff) | |
download | external_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.zip external_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.tar.gz external_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.tar.bz2 |
Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNED
Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
Diffstat (limited to 'slirp-android')
-rw-r--r-- | slirp-android/ip.h | 6 | ||||
-rw-r--r-- | slirp-android/slirp_config.h | 2 | ||||
-rw-r--r-- | slirp-android/tcp.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/slirp-android/ip.h b/slirp-android/ip.h index c0ecc55..5b53c03 100644 --- a/slirp-android/ip.h +++ b/slirp-android/ip.h @@ -35,7 +35,7 @@ #include "helper.h" -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN # ifndef NTOHL # define NTOHL(d) # endif @@ -75,7 +75,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 */ u_int ip_hl:4; /* header length */ #else @@ -141,7 +141,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 diff --git a/slirp-android/slirp_config.h b/slirp-android/slirp_config.h index 8e95b7c..79cbc72 100644 --- a/slirp-android/slirp_config.h +++ b/slirp-android/slirp_config.h @@ -86,7 +86,7 @@ #undef HAVE_SYS_BITYPES_H /* Define if the machine is big endian */ -//#undef WORDS_BIGENDIAN +//#undef HOST_WORDS_BIGENDIAN /* Define if your sprintf returns char * instead of int */ #undef BAD_SPRINTF diff --git a/slirp-android/tcp.h b/slirp-android/tcp.h index ee02342..3883d80 100644 --- a/slirp-android/tcp.h +++ b/slirp-android/tcp.h @@ -58,7 +58,7 @@ struct tcphdr { port_t th_dport; /* destination port */ tcp_seq th_seq; /* sequence number */ tcp_seq th_ack; /* acknowledgement number */ -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN u_int th_off:4, /* data offset */ th_x2:4; /* (unused) */ #else |