Home
last modified time | relevance | path

Searched refs:ifr (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/tcp_transport/test/
Dtest_transport_connect.c12 struct ifreq ifr; \
13 ifr.ifr_name[0] = 'l'; \
14 ifr.ifr_name[1] = 'o'; \
15 ifr.ifr_name[2] = '\0';
82 esp_transport_tcp_set_interface_name(tcp, &ifr);
112 esp_transport_ssl_set_interface_name(ssl, &ifr);
142 esp_transport_ssl_set_interface_name(tcp, &ifr);
171 esp_transport_ssl_set_interface_name(ssl, &ifr);
/hal_espressif-3.6.0/examples/system/ota/simple_ota_example/main/
Dsimple_ota_example.c82 struct ifreq ifr; in simple_ota_example_task() local
83 esp_netif_get_netif_impl_name(netif, ifr.ifr_name); in simple_ota_example_task()
84 ESP_LOGI(TAG, "Bind interface name is %s", ifr.ifr_name); in simple_ota_example_task()
92 .if_name = &ifr, in simple_ota_example_task()
/hal_espressif-3.6.0/examples/protocols/sockets/tcp_client_multi_net/main/
Dtcp_client_multiple.c49 struct ifreq ifr; in app_multiple_handle() local
51 esp_netif_get_netif_impl_name(esp_netif, ifr.ifr_name); in app_multiple_handle()
53 if_indextoname(esp_netif_get_netif_impl_index(esp_netif), ifr.ifr_name); in app_multiple_handle()
55 int ret = setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, (void*)&ifr, sizeof(struct ifreq)); in app_multiple_handle()
/hal_espressif-3.6.0/components/mdns/
Dmdns_networking_socket.c429 struct ifreq ifr; in create_socket() local
430 esp_netif_get_netif_impl_name(netif, ifr.ifr_name); in create_socket()
431 int ret = setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, (void*)&ifr, sizeof(struct ifreq)); in create_socket()