DPDK 23.11.2
Loading...
Searching...
No Matches
rte_tls.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2023 Marvell.
3 */
4
5#ifndef RTE_TLS_H
6#define RTE_TLS_H
7
14#include <rte_byteorder.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#define RTE_TLS_TYPE_INVALID 0
21#define RTE_TLS_TYPE_CHANGE_CIPHER_SPEC 20
22#define RTE_TLS_TYPE_ALERT 21
23#define RTE_TLS_TYPE_HANDSHAKE 22
24#define RTE_TLS_TYPE_APPDATA 23
25#define RTE_TLS_TYPE_HEARTBEAT 24
26#define RTE_TLS_TYPE_MAX 255
28#define RTE_TLS_VERSION_1_2 0x0303
29#define RTE_TLS_VERSION_1_3 0x0304
34__extension__
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* RTE_TLS_H */
uint16_t rte_be16_t
#define __rte_packed
Definition rte_common.h:89
uint8_t type
Definition rte_tls.h:37
rte_be16_t length
Definition rte_tls.h:41
rte_be16_t version
Definition rte_tls.h:39