DPDK
19.11.14
lib
librte_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
} __attribute__((__packed__));
27
31
struct
rte_esp_tail
{
32
uint8_t
pad_len
;
33
uint8_t
next_proto
;
34
} __attribute__((__packed__));
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* RTE_ESP_H_ */
rte_byteorder.h
rte_esp_hdr::seq
rte_be32_t seq
Definition:
rte_esp.h:25
rte_be32_t
uint32_t rte_be32_t
Definition:
rte_byteorder.h:111
rte_esp_hdr::spi
rte_be32_t spi
Definition:
rte_esp.h:24
rte_esp_tail::pad_len
uint8_t pad_len
Definition:
rte_esp.h:32
rte_esp_hdr
Definition:
rte_esp.h:23
rte_esp_tail
Definition:
rte_esp.h:31
rte_esp_tail::next_proto
uint8_t next_proto
Definition:
rte_esp.h:33
Generated by
1.8.13