Searched refs:if_name (Results 1 – 10 of 10) sorted by relevance
/hal_espressif-3.5.0/components/tcp_transport/ |
D | transport_ssl.c | 420 void esp_transport_ssl_set_interface_name(esp_transport_handle_t t, struct ifreq *if_name) in esp_transport_ssl_set_interface_name() argument 423 ssl->cfg.if_name = if_name; in esp_transport_ssl_set_interface_name() 470 void esp_transport_tcp_set_interface_name(esp_transport_handle_t t, struct ifreq *if_name) in esp_transport_tcp_set_interface_name() argument 472 return esp_transport_ssl_set_interface_name(t, if_name); in esp_transport_tcp_set_interface_name()
|
/hal_espressif-3.5.0/components/esp_websocket_client/ |
D | esp_websocket_client.c | 124 struct ifreq *if_name; member 320 if (config->if_name) { in esp_websocket_client_init() 321 client->if_name = calloc(1, sizeof(struct ifreq) + 1); in esp_websocket_client_init() 322 ESP_WS_CLIENT_MEM_CHECK(TAG, client->if_name, goto _websocket_init_fail); in esp_websocket_client_init() 323 memcpy(client->if_name, config->if_name, sizeof(struct ifreq)); in esp_websocket_client_init() 341 esp_transport_tcp_set_interface_name(tcp, client->if_name); in esp_websocket_client_init() 457 if (client->if_name) { in esp_websocket_client_destroy() 458 free(client->if_name); in esp_websocket_client_destroy()
|
/hal_espressif-3.5.0/components/esp-tls/ |
D | esp_tls.c | 231 if (cfg->if_name) { in esp_tls_set_socket_options() 232 if (cfg->if_name->ifr_name[0] != 0) { in esp_tls_set_socket_options() 233 ESP_LOGD(TAG, "Bind [sock=%d] to interface %s", fd, cfg->if_name->ifr_name); in esp_tls_set_socket_options() 234 … if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, cfg->if_name, sizeof(struct ifreq)) != 0) { in esp_tls_set_socket_options() 235 … ESP_LOGE(TAG, "Bind [sock=%d] to interface %s fail", fd, cfg->if_name->ifr_name); in esp_tls_set_socket_options()
|
D | esp_tls.h | 182 …struct ifreq *if_name; /*!< The name of interface for data to go through. Use the… member
|
/hal_espressif-3.5.0/components/tcp_transport/include/ |
D | esp_transport_tcp.h | 41 void esp_transport_tcp_set_interface_name(esp_transport_handle_t t, struct ifreq *if_name);
|
D | esp_transport_ssl.h | 191 void esp_transport_ssl_set_interface_name(esp_transport_handle_t t, struct ifreq *if_name);
|
/hal_espressif-3.5.0/components/esp_http_client/ |
D | esp_http_client.c | 119 struct ifreq *if_name; member 607 if (config->if_name) { in esp_http_client_init() 608 client->if_name = calloc(1, sizeof(struct ifreq) + 1); in esp_http_client_init() 609 HTTP_MEM_CHECK(TAG, client->if_name, goto error); in esp_http_client_init() 610 memcpy(client->if_name, config->if_name, sizeof(struct ifreq)); in esp_http_client_init() 611 esp_transport_tcp_set_interface_name(tcp, client->if_name); in esp_http_client_init() 788 if (client->if_name) { in esp_http_client_cleanup() 789 free(client->if_name); in esp_http_client_cleanup()
|
/hal_espressif-3.5.0/components/esp_websocket_client/include/ |
D | esp_websocket_client.h | 104 …struct ifreq *if_name; /*!< The name of interface for data to go … member
|
/hal_espressif-3.5.0/examples/system/ota/simple_ota_example/main/ |
D | simple_ota_example.c | 92 .if_name = &ifr, in simple_ota_example_task()
|
/hal_espressif-3.5.0/components/esp_http_client/include/ |
D | esp_http_client.h | 138 …struct ifreq *if_name; /*!< The name of interface for data to go through… member
|