Home
last modified time | relevance | path

Searched refs:in_addr (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-3.6.0/components/mdns/
Dmdns_networking_socket.c134 static char* inet_ntoa_r(struct in_addr addr, char* ptr, size_t size) in inet_ntoa_r()
164 …*addr, const uint16_t port, const mdns_ip_protocol_t ip_protocol, struct sockaddr_storage *in_addr) in espaddr_to_inet() argument
167 memset(in_addr, 0, sizeof(struct sockaddr_storage)); in espaddr_to_inet()
169 in_addr->ss_family = PF_INET; in espaddr_to_inet()
171 in_addr->s2_len = sizeof(struct sockaddr_in); in espaddr_to_inet()
174 struct sockaddr_in *in_addr_ip4 = (struct sockaddr_in *) in_addr; in espaddr_to_inet()
180 memset(in_addr, 0, sizeof(struct sockaddr_storage)); in espaddr_to_inet()
181 in_addr->ss_family = PF_INET6; in espaddr_to_inet()
183 in_addr->s2_len = sizeof(struct sockaddr_in6); in espaddr_to_inet()
186 struct sockaddr_in6 * in_addr_ip6 = (struct sockaddr_in6 *)in_addr; in espaddr_to_inet()
[all …]
/hal_espressif-3.6.0/examples/protocols/sockets/udp_multicast/main/
Dudp_multicast_example_main.c59 struct in_addr iaddr = { 0 }; in socket_add_ipv4_multicast_group()
90 sizeof(struct in_addr)); in socket_add_ipv4_multicast_group()
/hal_espressif-3.6.0/examples/protocols/http_request/main/
Dhttp_request_example_main.c44 struct in_addr *addr; in http_get_task()
/hal_espressif-3.6.0/components/lwip/test/
Dtest_lwip_apps.c70 struct in_addr addr4 = ((struct sockaddr_in *)(res->ai_addr))->sin_addr;
/hal_espressif-3.6.0/examples/protocols/icmp_echo/main/
Decho_example_main.c128 struct in_addr addr4 = ((struct sockaddr_in *) (res->ai_addr))->sin_addr; in do_ping_cmd()
/hal_espressif-3.6.0/examples/protocols/mdns/main/
Dmdns_example_main.c304 …ESP_LOGI(TAG, "gethostbyname: %s resolved to: %s", host, inet_ntoa(*(struct in_addr *) (res->h_add… in query_mdns_host_with_gethostbyname()
/hal_espressif-3.6.0/docs/en/api-reference/protocols/
Dicmp_echo.rst74 struct in_addr addr4 = ((struct sockaddr_in *) (res->ai_addr))->sin_addr;
/hal_espressif-3.6.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c470 struct in_addr addr4 = ((struct sockaddr_in *) (pxAddrList->ai_addr))->sin_addr; in xMBTCPPortMasterCheckHost()
545 struct in_addr addr4 = ((struct sockaddr_in *) (pxCurAddr->ai_addr))->sin_addr; in xMBTCPPortMasterConnect()
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph_wifi_coex/main/
Dmain.c229 struct in_addr addr4 = ((struct sockaddr_in *) (res->ai_addr))->sin_addr; in do_ping_cmd()