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
@ -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 New Issue
Block a user