Lines Matching defs:tls_context
127 __net_socket struct tls_context { struct
129 int sock;
132 bool is_used : 1;
135 bool is_initialized : 1;
138 bool is_listening : 1;
141 bool handshake_in_progress : 1;
144 bool session_closed : 1;
147 enum net_sock_type type;
150 enum net_ip_protocol_secure tls_version;
153 int flags;
156 int error;
159 struct k_sem tls_established;
162 struct k_mutex *lock;
165 struct {
210 } options;
214 struct dtls_timing_context dtls_timing;
217 mbedtls_ssl_cookie_ctx cookie;
220 struct sockaddr dtls_peer_addr;
223 socklen_t dtls_peer_addrlen;
249 static struct tls_context tls_contexts[CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS]; argument