diff options
author | bms <bms@FreeBSD.org> | 2004-02-16 14:40:56 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-02-16 14:40:56 +0000 |
commit | 5770e21ae7592dfb58b9900e0ac4fe447673df4b (patch) | |
tree | 58771dedd94f5d40c3517dd347e5b3abc94cd064 | |
parent | 8c6bf9351ee74f1bace588099a012f60d9dcfc41 (diff) | |
download | FreeBSD-src-5770e21ae7592dfb58b9900e0ac4fe447673df4b.zip FreeBSD-src-5770e21ae7592dfb58b9900e0ac4fe447673df4b.tar.gz |
Spell types consistently throughout this file. Do not use the __packed attribute, as we are often #include'd from userland without <sys/cdefs.h> in front of us, and it is not strictly necessary.
Noticed by: Sascha Blank
-rw-r--r-- | sys/netinet/ip.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index aca0432..b5ebb21 100644 --- a/sys/netinet/ip.h +++ b/sys/netinet/ip.h @@ -201,8 +201,8 @@ struct ip_timestamp { struct ippseudo { struct in_addr ippseudo_src; /* source internet address */ struct in_addr ippseudo_dst; /* destination internet address */ - u_int8_t ippseudo_pad; /* pad, must be zero */ - u_int8_t ippseudo_p; /* protocol */ - u_int16_t ippseudo_len; /* protocol length */ -} __packed; + u_char ippseudo_pad; /* pad, must be zero */ + u_char ippseudo_p; /* protocol */ + u_short ippseudo_len; /* protocol length */ +}; #endif |