slirp: Fix bit field types in IP header structs
commit1b930bfa098ebad8abfc5ceff5d943133e7513f4
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 6 Aug 2011 12:23:29 +0000 (6 14:23 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 15 Aug 2011 06:34:44 +0000 (14 23:34 -0700)
treefa1d472256fa73e208095c04533112c100f95f48
parent3b6ffe50300f13240e1b46420ad05da1116df410
slirp: Fix bit field types in IP header structs

-mms-bitfields prevents that the bitfields in current IP header structs
are packed into a single byte as it is required. Fix this by using
uint8_t as backing type.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
slirp/ip.h
slirp/tcp.h