X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_net%2Frte_esp.h;h=464c513e2badea67a7aa0613351c29157d335031;hb=5b38d8cd4663;hp=c569b7906b9469685d9291ff3b7a9d6218f8574d;hpb=5ef2546767525c8a4a3c2bc60357b23c3dffcf6b;p=dpdk.git diff --git a/lib/librte_net/rte_esp.h b/lib/librte_net/rte_esp.h index c569b7906b..464c513e2b 100644 --- a/lib/librte_net/rte_esp.h +++ b/lib/librte_net/rte_esp.h @@ -23,15 +23,15 @@ extern "C" { struct rte_esp_hdr { rte_be32_t spi; /**< Security Parameters Index */ rte_be32_t seq; /**< packet sequence number */ -} __attribute__((__packed__)); +} __rte_packed; /** * ESP Trailer */ -struct esp_tail { +struct rte_esp_tail { uint8_t pad_len; /**< number of pad bytes (0-255) */ uint8_t next_proto; /**< IPv4 or IPv6 or next layer header */ -} __attribute__((__packed__)); +} __rte_packed; #ifdef __cplusplus }