DPDK 25.03.0-rc0
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#define RTE_TLS_TYPE_INVALID 0
17#define RTE_TLS_TYPE_CHANGE_CIPHER_SPEC 20
18#define RTE_TLS_TYPE_ALERT 21
19#define RTE_TLS_TYPE_HANDSHAKE 22
20#define RTE_TLS_TYPE_APPDATA 23
21#define RTE_TLS_TYPE_HEARTBEAT 24
22#define RTE_TLS_TYPE_MAX 255
24#define RTE_TLS_VERSION_1_2 0x0303
25#define RTE_TLS_VERSION_1_3 0x0304
30__extension__
33 uint8_t type;
39
40#endif /* RTE_TLS_H */
uint16_t rte_be16_t
#define __rte_packed
Definition: rte_common.h:108
uint8_t type
Definition: rte_tls.h:33
rte_be16_t length
Definition: rte_tls.h:37
rte_be16_t version
Definition: rte_tls.h:35