Searched refs:server_fd (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/examples/protocols/https_mbedtls/main/ |
D | https_mbedtls_example_main.c | 76 mbedtls_net_context server_fd; in https_get_task() local 142 mbedtls_net_init(&server_fd); in https_get_task() 146 if ((ret = mbedtls_net_connect(&server_fd, WEB_SERVER, in https_get_task() 155 mbedtls_ssl_set_bio(&ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL); in https_get_task() 240 mbedtls_net_free(&server_fd); in https_get_task()
|
/hal_espressif-3.6.0/examples/protocols/smtp_client/main/ |
D | smtp_client_example_main.c | 264 mbedtls_net_context server_fd; in smtp_client_task() local 320 mbedtls_net_init(&server_fd); in smtp_client_task() 324 if ((ret = mbedtls_net_connect(&server_fd, MAIL_SERVER, in smtp_client_task() 332 mbedtls_ssl_set_bio(&ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL); in smtp_client_task() 341 ret = write_and_get_response(&server_fd, (unsigned char *) buf, 0); in smtp_client_task() 346 ret = write_and_get_response(&server_fd, (unsigned char *) buf, len); in smtp_client_task() 351 ret = write_and_get_response(&server_fd, (unsigned char *) buf, len); in smtp_client_task() 486 mbedtls_net_free(&server_fd); in smtp_client_task()
|
/hal_espressif-3.6.0/components/esp-tls/private_include/ |
D | esp_tls_mbedtls.h | 55 mbedtls_net_init(&tls->server_fd); in esp_mbedtls_net_init()
|
/hal_espressif-3.6.0/components/esp-tls/ |
D | esp_tls_mbedtls.c | 77 tls->server_fd.fd = tls->sockfd; in esp_create_mbedtls_handle() 124 mbedtls_ssl_set_bio(&tls->ssl, &tls->server_fd, mbedtls_net_send, mbedtls_net_recv, NULL); in esp_create_mbedtls_handle() 253 mbedtls_net_free(&tls->server_fd); in esp_mbedtls_conn_delete() 254 tls->sockfd = tls->server_fd.fd; in esp_mbedtls_conn_delete()
|
D | esp_tls.h | 307 …mbedtls_net_context server_fd; /*!< mbedTLS wrapper t… member
|