]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_mpls.h
replace packed attributes
[dpdk.git] / lib / librte_net / rte_mpls.h
index 32b6431219afb757d20559b29afe5bf848d4e984..db91707e6749ccc5a7eb2864f88fd06317f1906e 100644 (file)
@@ -33,7 +33,7 @@ struct rte_mpls_hdr {
        uint8_t tag_lsb:4;  /**< label(lsb) */
 #endif
        uint8_t  ttl;       /**< Time to live. */
-} __attribute__((__packed__));
+} __rte_packed;
 
 #ifdef __cplusplus
 }