]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd/l3fwd_em.c
replace packed attributes
[dpdk.git] / examples / l3fwd / l3fwd_em.c
index 122670910604af01c93d9dce486e34fc0cdefa7b..7dab29952637eb96ef6f83f15645c89636df0e81 100644 (file)
@@ -48,7 +48,7 @@ struct ipv4_5tuple {
        uint16_t port_dst;
        uint16_t port_src;
        uint8_t  proto;
-} __attribute__((__packed__));
+} __rte_packed;
 
 union ipv4_5tuple_host {
        struct {
@@ -71,7 +71,7 @@ struct ipv6_5tuple {
        uint16_t port_dst;
        uint16_t port_src;
        uint8_t  proto;
-} __attribute__((__packed__));
+} __rte_packed;
 
 union ipv6_5tuple_host {
        struct {