DPDK
21.11.9
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
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
23
struct
rte_esp_hdr
{
24
rte_be32_t
spi
;
25
rte_be32_t
seq
;
26
}
__rte_packed
;
27
31
struct
rte_esp_tail
{
32
uint8_t
pad_len
;
33
uint8_t
next_proto
;
34
}
__rte_packed
;
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* RTE_ESP_H_ */
rte_byteorder.h
rte_be32_t
uint32_t rte_be32_t
Definition:
rte_byteorder.h:111
__rte_packed
#define __rte_packed
Definition:
rte_common.h:86
rte_esp_hdr
Definition:
rte_esp.h:23
rte_esp_hdr::seq
rte_be32_t seq
Definition:
rte_esp.h:25
rte_esp_hdr::spi
rte_be32_t spi
Definition:
rte_esp.h:24
rte_esp_tail
Definition:
rte_esp.h:31
rte_esp_tail::pad_len
uint8_t pad_len
Definition:
rte_esp.h:32
rte_esp_tail::next_proto
uint8_t next_proto
Definition:
rte_esp.h:33
Generated by
1.9.4