Home
last modified time | relevance | path

Searched refs:tls_sessions (Results 1 – 3 of 3) sorted by relevance

/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-session.c57 lws_dll2_get_head(&vh->tls_sessions)) { in __lws_tls_session_lookup_by_name()
106 lws_dll2_add_tail(&ts->list, &wsi->a.vhost->tls_sessions); in lws_tls_reuse_session()
141 lws_dll2_foreach_safe(&vh->tls_sessions, NULL, in lws_tls_session_vh_destroy()
150 struct lws_vhost, tls_sessions); in lws_tls_session_expiry_cb()
196 if (vh->tls_sessions.count == vh->tls_session_cache_max) { in lws_tls_session_new_mbedtls()
202 ts = lws_container_of(vh->tls_sessions.head, in lws_tls_session_new_mbedtls()
228 lws_dll2_add_tail(&ts->list, &vh->tls_sessions); in lws_tls_session_new_mbedtls()
249 lws_dll2_add_tail(&ts->list, &vh->tls_sessions); in lws_tls_session_new_mbedtls()
257 (unsigned int)vh->tls_sessions.count); in lws_tls_session_new_mbedtls()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-session.c60 lws_dll2_get_head(&vh->tls_sessions)) { in __lws_tls_session_lookup_by_name()
119 lws_dll2_add_tail(&ts->list, &wsi->a.vhost->tls_sessions); in lws_tls_reuse_session()
154 lws_dll2_foreach_safe(&vh->tls_sessions, NULL, in lws_tls_session_vh_destroy()
163 struct lws_vhost, tls_sessions); in lws_tls_session_expiry_cb()
178 if (vh->tls_sessions.count == (vh->tls_session_cache_max ? in lws_tls_session_add_entry()
185 ts = lws_container_of(vh->tls_sessions.head, in lws_tls_session_add_entry()
205 lws_dll2_add_tail(&ts->list, &vh->tls_sessions); in lws_tls_session_add_entry()
274 lws_dll2_add_tail(&ts->list, &vh->tls_sessions); in lws_tls_session_new_cb()
284 vh->tls_sessions.count); in lws_tls_session_new_cb()
/third_party/libwebsockets/lib/core-net/
Dprivate-lib-core-net.h439 lws_dll2_owner_t tls_sessions; /* vh lock */ member