DPDK
24.11.0-rc3
lib
net
rte_esp.h
Go to the documentation of this file.
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
14
#include <
rte_byteorder.h
>
15
19
struct
rte_esp_hdr
{
20
rte_be32_t
spi
;
21
rte_be32_t
seq
;
22
}
__rte_packed
;
23
27
struct
rte_esp_tail
{
28
uint8_t
pad_len
;
29
uint8_t
next_proto
;
30
}
__rte_packed
;
31
32
#endif
/* RTE_ESP_H_ */
rte_byteorder.h
rte_esp_hdr::seq
rte_be32_t seq
Definition:
rte_esp.h:21
rte_be32_t
uint32_t rte_be32_t
Definition:
rte_byteorder.h:117
rte_esp_hdr::spi
rte_be32_t spi
Definition:
rte_esp.h:20
__rte_packed
#define __rte_packed
Definition:
rte_common.h:108
rte_esp_tail::pad_len
uint8_t pad_len
Definition:
rte_esp.h:28
rte_esp_hdr
Definition:
rte_esp.h:19
rte_esp_tail
Definition:
rte_esp.h:27
rte_esp_tail::next_proto
uint8_t next_proto
Definition:
rte_esp.h:29
Generated by
1.8.13