FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
tls_picotls.h
Go to the documentation of this file.
1
#ifndef __included_tls_picotls_h__
2
#define __included_tls_picotls_h__
3
4
#include <picotls.h>
5
#include <picotls/openssl.h>
6
#include <
vnet/plugin/plugin.h
>
7
#include <
vnet/tls/tls.h
>
8
#include <vpp/app/version.h>
9
10
typedef
struct
tls_ctx_picotls_
11
{
12
tls_ctx_t
ctx
;
13
u32
ptls_ctx_idx
;
14
ptls_t *
tls
;
15
u8
*
rx_content
;
16
int
rx_offset
;
17
int
rx_len
;
18
}
picotls_ctx_t
;
19
20
typedef
struct
tls_listen_ctx_picotls_
21
{
22
u32
ptls_lctx_index
;
23
ptls_context_t *
ptls_ctx
;
24
}
picotls_listen_ctx_t
;
25
26
typedef
struct
picotls_main_
27
{
28
picotls_ctx_t
***
ctx_pool
;
29
picotls_listen_ctx_t
*
lctx_pool
;
30
}
picotls_main_t
;
31
32
#endif
/* __included_quic_certs_h__ */
33
34
/*
35
* fd.io coding-style-patch-verification: ON
36
*
37
* Local Variables:
38
* eval: (c-set-style "gnu")
39
* End:
40
*/
tls.h
picotls_main_t
struct picotls_main_ picotls_main_t
picotls_ctx_t
struct tls_ctx_picotls_ picotls_ctx_t
tls_ctx_picotls_::rx_len
int rx_len
Definition:
tls_picotls.h:17
u8
unsigned char u8
Definition:
types.h:56
tls_ctx_picotls_::ptls_ctx_idx
u32 ptls_ctx_idx
Definition:
tls_picotls.h:13
plugin.h
tls_ctx_picotls_::ctx
tls_ctx_t ctx
Definition:
tls_picotls.h:12
picotls_main_::lctx_pool
picotls_listen_ctx_t * lctx_pool
Definition:
tls_picotls.h:29
u32
unsigned int u32
Definition:
types.h:88
picotls_listen_ctx_t
struct tls_listen_ctx_picotls_ picotls_listen_ctx_t
picotls_main_::ctx_pool
picotls_ctx_t *** ctx_pool
Definition:
tls_picotls.h:28
tls_ctx_
Definition:
tls.h:58
tls_ctx_picotls_::rx_offset
int rx_offset
Definition:
tls_picotls.h:16
tls_ctx_picotls_
Definition:
tls_picotls.h:10
tls_listen_ctx_picotls_::ptls_lctx_index
u32 ptls_lctx_index
Definition:
tls_picotls.h:22
tls_listen_ctx_picotls_::ptls_ctx
ptls_context_t * ptls_ctx
Definition:
tls_picotls.h:23
tls_ctx_picotls_::tls
ptls_t * tls
Definition:
tls_picotls.h:14
tls_listen_ctx_picotls_
Definition:
tls_picotls.h:20
picotls_main_
Definition:
tls_picotls.h:26
tls_ctx_picotls_::rx_content
u8 * rx_content
Definition:
tls_picotls.h:15
src
plugins
tlspicotls
tls_picotls.h
Generated on Wed Sep 9 2020 00:04:12 for FD.io VPP by
1.8.13