summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip.h
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-02-16 14:40:56 +0000
committerbms <bms@FreeBSD.org>2004-02-16 14:40:56 +0000
commit5770e21ae7592dfb58b9900e0ac4fe447673df4b (patch)
tree58771dedd94f5d40c3517dd347e5b3abc94cd064 /sys/netinet/ip.h
parent8c6bf9351ee74f1bace588099a012f60d9dcfc41 (diff)
downloadFreeBSD-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
Diffstat (limited to 'sys/netinet/ip.h')
-rw-r--r--sys/netinet/ip.h8
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
OpenPOWER on IntegriCloud