]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_ether.h
replace packed attributes
[dpdk.git] / lib / librte_net / rte_ether.h
index 850c0fa387ce4c6fb7137f34591d41ec473324ca..0ae4e75b6c583c711b3140d22fcddd5aaeb3716a 100644 (file)
@@ -283,7 +283,7 @@ struct rte_ether_hdr {
 struct rte_vlan_hdr {
        uint16_t vlan_tci; /**< Priority (3) + CFI (1) + Identifier Code (12) */
        uint16_t eth_proto;/**< Ethernet type of encapsulated frame. */
-} __attribute__((__packed__));
+} __rte_packed;