5feecc57d9
Aligning Mellanox SPDX copyrights to a single format. In addition replace to SPDX licence files which were missed. Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
33 lines
462 B
C
33 lines
462 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright 2016 Mellanox Technologies, Ltd
|
|
*/
|
|
|
|
#ifndef _RTE_ESP_H_
|
|
#define _RTE_ESP_H_
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* ESP-related defines
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* ESP Header
|
|
*/
|
|
struct esp_hdr {
|
|
rte_be32_t spi; /**< Security Parameters Index */
|
|
rte_be32_t seq; /**< packet sequence number */
|
|
} __attribute__((__packed__));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* RTE_ESP_H_ */
|