aboutsummaryrefslogtreecommitdiffstats
path: root/lib/librte_net/rte_esp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_net/rte_esp.h')
-rw-r--r--lib/librte_net/rte_esp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librte_net/rte_esp.h b/lib/librte_net/rte_esp.h
index e228af09..148c06e0 100644
--- a/lib/librte_net/rte_esp.h
+++ b/lib/librte_net/rte_esp.h
@@ -49,8 +49,8 @@ extern "C" {
* ESP Header
*/
struct esp_hdr {
- uint32_t spi; /**< Security Parameters Index */
- uint32_t seq; /**< packet sequence number */
+ rte_be32_t spi; /**< Security Parameters Index */
+ rte_be32_t seq; /**< packet sequence number */
} __attribute__((__packed__));
#ifdef __cplusplus