Lines Matching refs:client_fd
108 mbedtls_net_context client_fd; member
126 mbedtls_net_context *client_fd = &thread_info->client_fd; in handle_ssl_connection() local
146 mbedtls_ssl_set_bio( &ssl, client_fd, mbedtls_net_send, mbedtls_net_recv, NULL ); in handle_ssl_connection()
267 mbedtls_net_free( client_fd ); in handle_ssl_connection()
275 static int thread_create( mbedtls_net_context *client_fd ) in thread_create() argument
304 memcpy( &threads[i].data.client_fd, client_fd, sizeof( mbedtls_net_context ) ); in thread_create()
318 mbedtls_net_context listen_fd, client_fd; in main() local
349 mbedtls_net_init( &client_fd ); in main()
480 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main()
490 if( ( ret = thread_create( &client_fd ) ) != 0 ) in main()
493 mbedtls_net_free( &client_fd ); in main()