Go to the source code of this file.
|
static u32 | picotls_ctx_alloc (void) |
|
static void | picotls_ctx_free (tls_ctx_t *ctx) |
|
static u32 | picotls_listen_ctx_alloc (void) |
|
static void | picotls_listen_ctx_free (picotls_listen_ctx_t *lctx) |
|
tls_ctx_t * | picotls_ctx_get (u32 ctx_index) |
|
picotls_listen_ctx_t * | picotls_lctx_get (u32 lctx_index) |
|
static u8 | picotls_handshake_is_over (tls_ctx_t *ctx) |
|
static int | picotls_try_handshake_write (picotls_ctx_t *ptls_ctx, session_t *tls_session, ptls_buffer_t *buf) |
|
static int | picotls_start_listen (tls_ctx_t *lctx) |
|
static int | picotls_stop_listen (tls_ctx_t *lctx) |
|
static void | picotls_handle_handshake_failure (tls_ctx_t *ctx) |
|
static void | picotls_confirm_app_close (tls_ctx_t *ctx) |
|
static int | picotls_transport_close (tls_ctx_t *ctx) |
|
static int | picotls_app_close (tls_ctx_t *ctx) |
|
static int | picotls_do_handshake (picotls_ctx_t *ptls_ctx, session_t *tls_session, u8 *input, int input_len) |
|
static int | picotls_ctx_read (tls_ctx_t *ctx, session_t *tls_session) |
|
static int | picotls_content_process (picotls_ctx_t *ptls_ctx, svm_fifo_t *src_fifo, svm_fifo_t *dst_fifo, int content_len, int total_record_overhead, int is_no_copy) |
|
static int | picotls_ctx_write (tls_ctx_t *ctx, session_t *app_session, transport_send_params_t *sp) |
|
static int | picotls_ctx_init_server (tls_ctx_t *ctx) |
|
tls_ctx_t * | picotls_ctx_get_w_thread (u32 ctx_index, u8 thread_index) |
|
static clib_error_t * | tls_picotls_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
◆ MAX_QUEUE
◆ PTLS_MAX_PLAINTEXT_RECORD_SIZE
#define PTLS_MAX_PLAINTEXT_RECORD_SIZE 16384 |
◆ picotls_app_close()
static int picotls_app_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ picotls_confirm_app_close()
static void picotls_confirm_app_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ picotls_content_process()
static int picotls_content_process |
( |
picotls_ctx_t * |
ptls_ctx, |
|
|
svm_fifo_t * |
src_fifo, |
|
|
svm_fifo_t * |
dst_fifo, |
|
|
int |
content_len, |
|
|
int |
total_record_overhead, |
|
|
int |
is_no_copy |
|
) |
| |
|
inlinestatic |
◆ picotls_ctx_alloc()
static u32 picotls_ctx_alloc |
( |
void |
| ) |
|
|
static |
◆ picotls_ctx_free()
static void picotls_ctx_free |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ picotls_ctx_get()
◆ picotls_ctx_get_w_thread()
tls_ctx_t* picotls_ctx_get_w_thread |
( |
u32 |
ctx_index, |
|
|
u8 |
thread_index |
|
) |
| |
◆ picotls_ctx_init_server()
static int picotls_ctx_init_server |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ picotls_ctx_read()
◆ picotls_ctx_write()
There is no engough enqueue space for one record
Allowed to execute no-copy crypto operation
Definition at line 413 of file tls_picotls.c.
◆ picotls_do_handshake()
◆ picotls_handle_handshake_failure()
static void picotls_handle_handshake_failure |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ picotls_handshake_is_over()
◆ picotls_lctx_get()
◆ picotls_listen_ctx_alloc()
static u32 picotls_listen_ctx_alloc |
( |
void |
| ) |
|
|
static |
◆ picotls_listen_ctx_free()
◆ picotls_start_listen()
static int picotls_start_listen |
( |
tls_ctx_t * |
lctx | ) |
|
|
static |
◆ picotls_stop_listen()
static int picotls_stop_listen |
( |
tls_ctx_t * |
lctx | ) |
|
|
static |
◆ picotls_transport_close()
static int picotls_transport_close |
( |
tls_ctx_t * |
ctx | ) |
|
|
static |
◆ picotls_try_handshake_write()
static int picotls_try_handshake_write |
( |
picotls_ctx_t * |
ptls_ctx, |
|
|
session_t * |
tls_session, |
|
|
ptls_buffer_t * |
buf |
|
) |
| |
|
static |
◆ tls_picotls_init()
◆ VLIB_PLUGIN_REGISTER()
◆ picotls_engine
Initial value:= {
}
static int picotls_ctx_write(tls_ctx_t *ctx, session_t *app_session, transport_send_params_t *sp)
tls_ctx_t * picotls_ctx_get_w_thread(u32 ctx_index, u8 thread_index)
static int picotls_transport_close(tls_ctx_t *ctx)
static u8 picotls_handshake_is_over(tls_ctx_t *ctx)
static void picotls_ctx_free(tls_ctx_t *ctx)
static int picotls_ctx_read(tls_ctx_t *ctx, session_t *tls_session)
tls_ctx_t * picotls_ctx_get(u32 ctx_index)
static int picotls_app_close(tls_ctx_t *ctx)
static int picotls_stop_listen(tls_ctx_t *lctx)
static int picotls_start_listen(tls_ctx_t *lctx)
static int picotls_ctx_init_server(tls_ctx_t *ctx)
static u32 picotls_ctx_alloc(void)
Definition at line 550 of file tls_picotls.c.
◆ picotls_main