]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_icmp.h
examples/fips_validation: fix buffer overflow
[dpdk.git] / lib / librte_net / rte_icmp.h
index e0aeed443e5925ab6299e4ce9fd050a124a393cc..4429e8e29f691c0d1073ba196357317e5a03d7b7 100644 (file)
@@ -31,7 +31,7 @@ struct rte_icmp_hdr {
        rte_be16_t icmp_cksum;  /* ICMP packet checksum. */
        rte_be16_t icmp_ident;  /* ICMP packet identifier. */
        rte_be16_t icmp_seq_nb; /* ICMP packet sequence number. */
-} __attribute__((__packed__));
+} __rte_packed;
 
 /* ICMP packet types */
 #define RTE_IP_ICMP_ECHO_REPLY   0