]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_sctp.h
replace packed attributes
[dpdk.git] / lib / librte_net / rte_sctp.h
index ab38be76895b940dfe107917d24ac6336de9faac..965682dc2bf3a420ca520ba82ff879c21d99a58d 100644 (file)
@@ -30,7 +30,7 @@ struct rte_sctp_hdr {
        rte_be16_t dst_port; /**< Destin port. */
        rte_be32_t tag;      /**< Validation tag. */
        rte_be32_t cksum;    /**< Checksum. */
-} __attribute__((__packed__));
+} __rte_packed;
 
 #ifdef __cplusplus
 }