summaryrefslogtreecommitdiffstats
path: root/slirp/tcp.h
diff options
context:
space:
mode:
authormalc2011-08-22 12:41:12 +0200
committermalc2011-08-22 12:41:12 +0200
commit1afa194a0a3384c5a8fd150e4335d332c22883cf (patch)
tree87d1ca2dbfb03128e628e344a713297131bad7f7 /slirp/tcp.h
parenttcg/ppc64: implement not_i32/64 and ext32u_i64 (diff)
parentMerge remote-tracking branch 'pmaydell/armhw-for-upstream' into staging (diff)
downloadqemu-1afa194a0a3384c5a8fd150e4335d332c22883cf.tar.gz
qemu-1afa194a0a3384c5a8fd150e4335d332c22883cf.tar.xz
qemu-1afa194a0a3384c5a8fd150e4335d332c22883cf.zip
Merge branch 'master' of git://git.qemu.org/qemu
Diffstat (limited to 'slirp/tcp.h')
-rw-r--r--slirp/tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/tcp.h b/slirp/tcp.h
index 9d06836626..b3817cb13c 100644
--- a/slirp/tcp.h
+++ b/slirp/tcp.h
@@ -51,10 +51,10 @@ struct tcphdr {
tcp_seq th_seq; /* sequence number */
tcp_seq th_ack; /* acknowledgement number */
#ifdef HOST_WORDS_BIGENDIAN
- u_int th_off:4, /* data offset */
+ uint8_t th_off:4, /* data offset */
th_x2:4; /* (unused) */
#else
- u_int th_x2:4, /* (unused) */
+ uint8_t th_x2:4, /* (unused) */
th_off:4; /* data offset */
#endif
uint8_t th_flags;