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
This commit is contained in:
Bruce M Simpson 2004-02-16 14:40:56 +00:00
parent 4f70638ec2
commit 91179f796d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125870

View File

@ -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