Go to the source code of this file.
#define app_session_handle c_tls_ctx_id.app_session_handle |
Definition at line 61 of file tls.h.
#define listener_ctx_index c_tls_ctx_id.listener_ctx_index |
Definition at line 63 of file tls.h.
Definition at line 70 of file tls.h.
#define parent_app_index c_tls_ctx_id.parent_app_index |
Definition at line 60 of file tls.h.
#define tcp_is_ip4 c_tls_ctx_id.tcp_is_ip4 |
Definition at line 64 of file tls.h.
#define TLS_CA_CERT_PATH "/etc/ssl/certs/ca-certificates.crt" |
Definition at line 28 of file tls.h.
#define TLS_CHUNK_SIZE (1 << 14) |
Definition at line 27 of file tls.h.
#define tls_ctx_engine c_tls_ctx_id.tls_engine_id |
Definition at line 65 of file tls.h.
Definition at line 67 of file tls.h.
#define TLS_DBG |
( |
|
_lvl, |
|
|
|
_fmt, |
|
|
|
_args... |
|
) |
| |
Definition at line 35 of file tls.h.
Definition at line 23 of file tls.h.
#define TLS_DEBUG_LEVEL_CLIENT 0 |
Definition at line 24 of file tls.h.
#define TLS_DEBUG_LEVEL_SERVER 0 |
Definition at line 25 of file tls.h.
#define tls_session_handle c_tls_ctx_id.tls_session_handle |
Definition at line 62 of file tls.h.
#define tls_ssl_ctx c_tls_ctx_id.ssl_ctx |
Definition at line 66 of file tls.h.
Enumerator |
---|
TLS_ENGINE_NONE |
|
TLS_ENGINE_MBEDTLS |
|
TLS_ENGINE_OPENSSL |
|
TLS_N_ENGINES |
|
Definition at line 108 of file tls.h.
STATIC_ASSERT |
( |
sizeof(tls_ctx_id_t)<= |
42, |
|
|
"ctx id must be less than 42" |
|
|
) |
| |
Definition at line 62 of file tls.c.
Definition at line 78 of file tls.c.
Definition at line 54 of file tls.c.
Definition at line 70 of file tls.c.
int tls_notify_app_connected |
( |
tls_ctx_t * |
ctx, |
|
|
u8 |
is_failed |
|
) |
| |