X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f555c163f90c9de17ebcef8313f86404c5174ca9..80b630570892c1eb0e5686c80cc788d6cf9eb8f8:/linux-include/netinet/ip.h diff --git a/linux-include/netinet/ip.h b/linux-include/netinet/ip.h index 93f98cdb..9f00b229 100644 --- a/linux-include/netinet/ip.h +++ b/linux-include/netinet/ip.h @@ -68,7 +68,7 @@ struct ip { u_char ip_p; /* protocol */ u_short ip_sum; /* checksum */ struct in_addr ip_src,ip_dst; /* source and dest address */ -}; +} __attribute__ ((packed)); #define IP_MAXPACKET 65535 /* maximum packet size */ @@ -143,7 +143,7 @@ struct ip_timestamp { n_long ipt_time; } ipt_ta[1]; } ipt_timestamp; -}; +} __attribute__ ((packed)); /* flag bits for ipt_flg */ #define IPOPT_TS_TSONLY 0 /* timestamps only */