DPDK
24.11.2
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Functions
_
g
r
t
Variables
c
r
Typedefs
a
c
d
e
h
l
m
p
r
s
t
Enumerations
d
r
Enumerator
c
e
f
r
s
w
Macros
_
b
c
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib
net
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__
31
struct
rte_tls_hdr
{
33
uint8_t
type
;
35
rte_be16_t
version
;
37
rte_be16_t
length
;
38
}
__rte_packed
;
39
40
#endif
/* RTE_TLS_H */
rte_byteorder.h
rte_be16_t
uint16_t rte_be16_t
Definition:
rte_byteorder.h:116
__rte_packed
#define __rte_packed
Definition:
rte_common.h:108
rte_tls_hdr
Definition:
rte_tls.h:31
rte_tls_hdr::type
uint8_t type
Definition:
rte_tls.h:33
rte_tls_hdr::length
rte_be16_t length
Definition:
rte_tls.h:37
rte_tls_hdr::version
rte_be16_t version
Definition:
rte_tls.h:35
Generated by
1.9.4