1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright 2016 Mellanox Technologies, Ltd 3 */ 4 5 #ifndef _RTE_ESP_H_ 6 #define _RTE_ESP_H_ 7 8 /** 9 * @file 10 * 11 * ESP-related defines 12 */ 13 14 #include <stdint.h> 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 /** 21 * ESP Header 22 */ 23 struct esp_hdr { 24 rte_be32_t spi; /**< Security Parameters Index */ 25 rte_be32_t seq; /**< packet sequence number */ 26 } __attribute__((__packed__)); 27 28 #ifdef __cplusplus 29 } 30 #endif 31 32 #endif /* RTE_ESP_H_ */ 33