/hal_espressif-3.5.0/components/esp_netif/include/ |
D | esp_netif_ip_addr.h | 81 #define ESP_IP4ADDR_INIT(a, b, c, d) { .type = ESP_IPADDR_TYPE_V4, .u_addr = { .ip4 = { .addr = ES… 82 #define ESP_IP6ADDR_INIT(a, b, c, d) { .type = ESP_IPADDR_TYPE_V6, .u_addr = { .ip6 = { .addr = { … 101 } u_addr; member 133 dest->u_addr.ip6.addr[0] = src->u_addr.ip6.addr[0]; in esp_netif_ip_addr_copy() 134 dest->u_addr.ip6.addr[1] = src->u_addr.ip6.addr[1]; in esp_netif_ip_addr_copy() 135 dest->u_addr.ip6.addr[2] = src->u_addr.ip6.addr[2]; in esp_netif_ip_addr_copy() 136 dest->u_addr.ip6.addr[3] = src->u_addr.ip6.addr[3]; in esp_netif_ip_addr_copy() 137 dest->u_addr.ip6.zone = src->u_addr.ip6.zone; in esp_netif_ip_addr_copy() 139 dest->u_addr.ip4.addr = src->u_addr.ip4.addr; in esp_netif_ip_addr_copy() 140 dest->u_addr.ip6.addr[1] = 0; in esp_netif_ip_addr_copy() [all …]
|
/hal_espressif-3.5.0/components/mdns/ |
D | mdns_networking_lwip.c | 103 if (mld6_joingroup_netif(netif, &(multicast_addr.u_addr.ip6))) { in _udp_join_group() 107 if (mld6_leavegroup_netif(netif, &(multicast_addr.u_addr.ip6))) { in _udp_join_group() 142 memcpy(&packet->src.u_addr, &raddr->u_addr, sizeof(raddr->u_addr)); 145 memcpy(&packet->src.u_addr.ip4, &raddr->addr, sizeof(ip_addr_t)); 152 packet->dest.u_addr.ip4.addr = iphdr->dest.addr; 153 packet->multicast = ip4_addr_ismulticast(&(packet->dest.u_addr.ip4)); 159 memcpy(&packet->dest.u_addr.ip6.addr, (uint8_t *)ip6hdr->dest.addr, 16); 160 packet->multicast = ip6_addr_ismulticast(&(packet->dest.u_addr.ip6)); 173 …if ((packet->src.u_addr.ip4.addr & netif->netmask.u_addr.ip4.addr) != (netif->ip_addr.u_addr.ip4.a… 175 …if ((packet->src.u_addr.ip4.addr & netif->netmask.addr) != (netif->ip_addr.addr & netif->netmask.a…
|
D | mdns_networking_socket.c | 176 in_addr_ip4->sin_addr.s_addr = addr->u_addr.ip4.addr; in espaddr_to_inet() 189 u32_addr[0] = addr->u_addr.ip6.addr[0]; in espaddr_to_inet() 190 u32_addr[1] = addr->u_addr.ip6.addr[1]; in espaddr_to_inet() 191 u32_addr[2] = addr->u_addr.ip6.addr[2]; in espaddr_to_inet() 192 u32_addr[3] = addr->u_addr.ip6.addr[3]; in espaddr_to_inet() 224 addr->u_addr.ip4.addr = in_addr_ip4->sin_addr.s_addr; in inet_to_espaddr() 236 addr->u_addr.ip4.addr = u32_addr[3]; in inet_to_espaddr() 239 addr->u_addr.ip6.addr[0] = u32_addr[0]; in inet_to_espaddr() 240 addr->u_addr.ip6.addr[1] = u32_addr[1]; in inet_to_espaddr() 241 addr->u_addr.ip6.addr[2] = u32_addr[2]; in inet_to_espaddr() [all …]
|
D | mdns.c | 1017 …_mdns_append_a_record(packet, index, host->hostname, addr->addr.u_addr.ip4.addr, flush, bye) <= 0)… in _mdns_append_host_answer() 1022 …dns_append_aaaa_record(packet, index, host->hostname, (uint8_t *)addr->addr.u_addr.ip6.addr, flush, in _mdns_append_host_answer() 1175 _mdns_dbg_printf("To: " IPSTR ":%u, ", IP2STR(&p->dst.u_addr.ip4), p->port); in _mdns_dispatch_tx_packet() 1177 _mdns_dbg_printf("To: " IPV6STR ":%u, ", IPV62STR(p->dst.u_addr.ip6), p->port); in _mdns_dispatch_tx_packet() 3047 …TR ":%u, To: " IPSTR ", ", IP2STR(&packet->src.u_addr.ip4), packet->src_port, IP2STR(&packet->dest… in mdns_parse_packet() 3049 …":%u, To: " IPV6STR ", ", IPV62STR(packet->src.u_addr.ip6), packet->src_port, IPV62STR(packet->des… in mdns_parse_packet() 3398 memcpy(ip6.u_addr.ip6.addr, data_ptr, MDNS_ANSWER_AAAA_SIZE); in mdns_parse_packet() 3417 col = _mdns_check_aaaa_collision(&(ip6.u_addr.ip6), packet->tcpip_if); in mdns_parse_packet() 3448 memcpy(&(ip.u_addr.ip4.addr), data_ptr, 4); in mdns_parse_packet() 3467 col = _mdns_check_a_collision(&(ip.u_addr.ip4), packet->tcpip_if); in mdns_parse_packet() [all …]
|
D | mdns_console.c | 46 printf(" AAAA: " IPV6STR "\n", IPV62STR(a->addr.u_addr.ip6)); in mdns_print_results() 48 printf(" A : " IPSTR "\n", IP2STR(&(a->addr.u_addr.ip4))); in mdns_print_results()
|
/hal_espressif-3.5.0/examples/protocols/mdns/main/ |
D | mdns_example_main.c | 67 esp_netif_str_to_ip4("10.0.0.1", &addr4.addr.u_addr.ip4); in initialise_mdns() 69 esp_netif_str_to_ip6("fd11:22::1", &addr6.addr.u_addr.ip6); in initialise_mdns() 115 printf(" AAAA: " IPV6STR "\n", IPV62STR(a->addr.u_addr.ip6)); in mdns_print_results() 117 printf(" A : " IPSTR "\n", IP2STR(&(a->addr.u_addr.ip4))); in mdns_print_results() 160 printf(" AAAA: " IPV6STR "\n", IPV62STR(a->addr.u_addr.ip6)); in check_and_print_result() 162 printf(" A : " IPSTR "\n", IP2STR(&(a->addr.u_addr.ip4))); in check_and_print_result()
|
/hal_espressif-3.5.0/examples/protocols/pppos_client/components/modem/src/ |
D | esp_modem_compat.c | 54 ipinfo.ns1.addr = dns_info.ip.u_addr.ip4.addr; in on_ip_event() 55 ipinfo.ns2.addr = dns_info.ip.u_addr.ip4.addr; in on_ip_event()
|
/hal_espressif-3.5.0/components/lwip/test/ |
D | test_lwip_apps.c | 27 recv_len, inet_ntoa(target_addr.u_addr.ip4), seqno, ttl, elapsed_time); in test_on_ping_success() 36 printf("From %s icmp_seq=%d timeout\n", inet_ntoa(target_addr.u_addr.ip4), seqno); in test_on_ping_timeout()
|
/hal_espressif-3.5.0/docs/zh_CN/api-reference/protocols/ |
D | mdns.rst | 131 printf(" AAAA: " IPV6STR "\n", IPV62STR(a->addr.u_addr.ip6)); 133 printf(" A : " IPSTR "\n", IP2STR(&(a->addr.u_addr.ip4)));
|
/hal_espressif-3.5.0/examples/protocols/pppos_client/main/ |
D | pppos_client_main.c | 198 ESP_LOGI(TAG, "Name Server1: " IPSTR, IP2STR(&dns_info.ip.u_addr.ip4)); in on_ip_event() 200 ESP_LOGI(TAG, "Name Server2: " IPSTR, IP2STR(&dns_info.ip.u_addr.ip4)); in on_ip_event()
|
/hal_espressif-3.5.0/docs/en/api-reference/protocols/ |
D | icmp_echo.rst | 41 recv_len, inet_ntoa(target_addr.u_addr.ip4), seqno, ttl, elapsed_time); 50 printf("From %s icmp_seq=%d timeout\n", inet_ntoa(target_addr.u_addr.ip4), seqno);
|
D | mdns.rst | 131 printf(" AAAA: " IPV6STR "\n", IPV62STR(a->addr.u_addr.ip6)); 133 printf(" A : " IPSTR "\n", IP2STR(&(a->addr.u_addr.ip4)));
|
/hal_espressif-3.5.0/examples/bluetooth/nimble/bleprph_wifi_coex/main/ |
D | main.c | 172 recv_len, inet_ntoa(target_addr.u_addr.ip4), seqno, ttl, elapsed_time); in cmd_ping_on_ping_success() 181 printf("From %s icmp_seq=%d timeout\n", inet_ntoa(target_addr.u_addr.ip4), seqno); in cmd_ping_on_ping_timeout()
|
/hal_espressif-3.5.0/components/mdns/test/ |
D | test_mdns.c | 48 addr.addr.u_addr.ip4.addr = esp_ip4addr_aton("127.0.0.1");
|
/hal_espressif-3.5.0/components/esp_netif/lwip/ |
D | esp_netif_lwip.c | 1474 if (ip4_addr_isany_val(dns->ip.u_addr.ip4)) { in esp_netif_set_ip_info() 1479 ESP_LOGD(TAG, "set dns if=%p type=%d dns=%x", esp_netif, type, dns->ip.u_addr.ip4.addr); in esp_netif_set_ip_info() 1533 memcpy(&dns->ip.u_addr.ip4, &dns_ip, sizeof(ip4_addr_t)); in esp_netif_get_dns_info_api() 1556 memcpy(&dns->ip.u_addr.ip4, &dns_ip->u_addr.ip4, sizeof(ip4_addr_t)); in esp_netif_get_dns_info() 1558 memcpy(&dns->ip.u_addr.ip4, &dns_ip->addr, sizeof(ip4_addr_t)); in esp_netif_get_dns_info()
|
D | esp_netif_lwip_ppp.c | 110 ESP_LOGI(TAG, "Got IPv6 address " IPV6STR, IPV62STR(pppif->ip6_addr[0].u_addr.ip6)); in on_ppp_status_changed()
|
/hal_espressif-3.5.0/examples/protocols/static_ip/main/ |
D | static_ip_example_main.c | 58 dns.ip.u_addr.ip4.addr = addr; in example_set_dns_server()
|
/hal_espressif-3.5.0/components/lwip/port/esp32/debug/ |
D | lwip_debug.c | 27 …_LWIP_IP_SHOW(info, ip) ESP_LWIP_LOGI("%s type=%d ip=%x", (info), (ip).type, (ip).u_addr.ip4.addr)
|
/hal_espressif-3.5.0/examples/protocols/modbus/tcp/mb_tcp_master/main/ |
D | tcp_master.c | 273 if (-1 == asprintf(&slave_ip_str, IPV6STR, IPV62STR(a->addr.u_addr.ip6))) { in master_get_slave_ip_str() 277 if (-1 == asprintf(&slave_ip_str, IPSTR, IP2STR(&(a->addr.u_addr.ip4)))) { in master_get_slave_ip_str()
|
/hal_espressif-3.5.0/examples/mesh/ip_internal_network/main/ |
D | mesh_main.c | 378 mesh_netif_start_root_ap(esp_mesh_is_root(), dns.ip.u_addr.ip4.addr); in ip_event_handler()
|
D | mesh_netif.c | 64 dns.ip.u_addr.ip4.addr = addr; in set_dhcps_dns()
|