/hal_espressif-3.6.0/examples/protocols/icmp_echo/main/ |
D | echo_example_main.c | 28 ip_addr_t target_addr; in cmd_ping_on_ping_success() local 31 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in cmd_ping_on_ping_success() 35 recv_len, ipaddr_ntoa((ip_addr_t*)&target_addr), seqno, ttl, elapsed_time); in cmd_ping_on_ping_success() 41 ip_addr_t target_addr; in cmd_ping_on_ping_timeout() local 43 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in cmd_ping_on_ping_timeout() 44 printf("From %s icmp_seq=%d timeout\n",ipaddr_ntoa((ip_addr_t*)&target_addr), seqno); in cmd_ping_on_ping_timeout() 49 ip_addr_t target_addr; in cmd_ping_on_ping_end() local 55 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in cmd_ping_on_ping_end() 58 if (IP_IS_V4(&target_addr)) { in cmd_ping_on_ping_end() 59 printf("\n--- %s ping statistics ---\n", inet_ntoa(*ip_2_ip4(&target_addr))); in cmd_ping_on_ping_end() [all …]
|
/hal_espressif-3.6.0/components/lwip/test/ |
D | test_lwip_apps.c | 20 ip_addr_t target_addr; in test_on_ping_success() local 23 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in test_on_ping_success() 27 recv_len, inet_ntoa(target_addr.u_addr.ip4), seqno, ttl, elapsed_time); in test_on_ping_success() 33 ip_addr_t target_addr; in test_on_ping_timeout() local 35 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in test_on_ping_timeout() 36 printf("From %s icmp_seq=%d timeout\n", inet_ntoa(target_addr.u_addr.ip4), seqno); in test_on_ping_timeout() 63 ip_addr_t target_addr; variable 67 memset(&target_addr, 0, sizeof(target_addr)); 71 inet_addr_to_ip4addr(ip_2_ip4(&target_addr), &addr4); 76 ping_config.target_addr = target_addr;
|
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph_wifi_coex/main/ |
D | main.c | 165 ip_addr_t target_addr; in cmd_ping_on_ping_success() local 168 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in cmd_ping_on_ping_success() 172 recv_len, inet_ntoa(target_addr.u_addr.ip4), seqno, ttl, elapsed_time); in cmd_ping_on_ping_success() 178 ip_addr_t target_addr; in cmd_ping_on_ping_timeout() local 180 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in cmd_ping_on_ping_timeout() 181 printf("From %s icmp_seq=%d timeout\n", inet_ntoa(target_addr.u_addr.ip4), seqno); in cmd_ping_on_ping_timeout() 187 ip_addr_t target_addr; in cmd_ping_on_ping_end() local 193 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); in cmd_ping_on_ping_end() 196 if (IP_IS_V4(&target_addr)) { in cmd_ping_on_ping_end() 197 printf("\n--- %s ping statistics ---\n", inet_ntoa(*ip_2_ip4(&target_addr))); in cmd_ping_on_ping_end() [all …]
|
/hal_espressif-3.6.0/docs/en/api-reference/protocols/ |
D | icmp_echo.rst | 34 ip_addr_t target_addr; 37 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); 41 recv_len, inet_ntoa(target_addr.u_addr.ip4), seqno, ttl, elapsed_time); 47 ip_addr_t target_addr; 49 esp_ping_get_profile(hdl, ESP_PING_PROF_IPADDR, &target_addr, sizeof(target_addr)); 50 printf("From %s icmp_seq=%d timeout\n", inet_ntoa(target_addr.u_addr.ip4), seqno); 68 ip_addr_t target_addr; 72 memset(&target_addr, 0, sizeof(target_addr)); 75 inet_addr_to_ip4addr(ip_2_ip4(&target_addr), &addr4); 79 ping_config.target_addr = target_addr; // target IP address
|
/hal_espressif-3.6.0/components/lwip/apps/ping/ |
D | ping_sock.c | 57 struct sockaddr_storage target_addr; member 88 (struct sockaddr *)&ep->target_addr, sizeof(ep->target_addr)); in esp_ping_send() 241 ep->recv_addr = config->target_addr; in esp_ping_new_session() 258 if (IP_IS_V4(&config->target_addr) in esp_ping_new_session() 260 || ip6_addr_isipv4mappedipv6(ip_2_ip6(&config->target_addr)) in esp_ping_new_session() 293 if (IP_IS_V4(&config->target_addr)) { in esp_ping_new_session() 294 struct sockaddr_in *to4 = (struct sockaddr_in *)&ep->target_addr; in esp_ping_new_session() 296 inet_addr_from_ip4addr(&to4->sin_addr, ip_2_ip4(&config->target_addr)); in esp_ping_new_session() 300 if (IP_IS_V6(&config->target_addr)) { in esp_ping_new_session() 301 struct sockaddr_in6 *to6 = (struct sockaddr_in6 *)&ep->target_addr; in esp_ping_new_session() [all …]
|
D | ping.c | 285 config.target_addr = ipaddr; in ping_init()
|
/hal_espressif-3.6.0/components/lwip/include/apps/ping/ |
D | ping_sock.h | 71 ip_addr_t target_addr; /*!< Target IP address, either IPv4 or IPv6 */ member 88 .target_addr = *(IP_ANY_TYPE), \
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble_adv_filter.c | 518 tBLE_BD_ADDR *p_bd_addr = p_cond ? &p_cond->target_addr : NULL; in btm_ble_update_srvc_data_change() 722 tBLE_BD_ADDR *p_addr = (p_cond == NULL) ? NULL : &p_cond->target_addr; in btm_ble_update_addr_filter() 900 tBLE_BD_ADDR *p_target = (p_cond == NULL) ? NULL : &p_cond->target_addr; in btm_ble_clear_scan_pf_filter()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btm/include/ |
D | btm_ble_int.h | 459 void btm_write_dir_conn_wl(BD_ADDR target_addr);
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/ |
D | btm_ble_api.h | 859 tBLE_BD_ADDR target_addr; member
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_api.h | 606 tBLE_BD_ADDR target_addr; member
|