]> The Tcpdump Group git mirrors - tcpdump/blobdiff - linux-include/netinet/ip.h
add AES and SHA2-*
[tcpdump] / linux-include / netinet / ip.h
index 93f98cdbc930c9674486c1ec1e9822b651e73dc1..9f00b22924efd8a7c75158caeb21980ea895648c 100644 (file)
@@ -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 */