mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 17:25:09 +00:00
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:
parent
4f70638ec2
commit
91179f796d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125870
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue