Searched refs:in_addr (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-3.6.0/components/mdns/ |
D | mdns_networking_socket.c | 134 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/ |
D | udp_multicast_example_main.c | 59 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/ |
D | http_request_example_main.c | 44 struct in_addr *addr; in http_get_task()
|
/hal_espressif-3.6.0/components/lwip/test/ |
D | test_lwip_apps.c | 70 struct in_addr addr4 = ((struct sockaddr_in *)(res->ai_addr))->sin_addr;
|
/hal_espressif-3.6.0/examples/protocols/icmp_echo/main/ |
D | echo_example_main.c | 128 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/ |
D | mdns_example_main.c | 304 …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/ |
D | icmp_echo.rst | 74 struct in_addr addr4 = ((struct sockaddr_in *) (res->ai_addr))->sin_addr;
|
/hal_espressif-3.6.0/components/freemodbus/tcp_master/port/ |
D | port_tcp_master.c | 470 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/ |
D | main.c | 229 struct in_addr addr4 = ((struct sockaddr_in *) (res->ai_addr))->sin_addr; in do_ping_cmd()
|