/Zephyr-latest/samples/net/sockets/echo_async/src/ |
D | socket_echo.c | 120 .s_addr = htonl(INADDR_ANY), in main()
|
/Zephyr-latest/samples/net/sockets/echo_async_select/src/ |
D | socket_echo_select.c | 105 .s_addr = htonl(INADDR_ANY),
|
/Zephyr-latest/tests/net/lib/http_server/tls/src/ |
D | main.c | 178 ret = zsock_inet_pton(AF_INET, MY_IPV4_ADDR, &sa.sin_addr.s_addr); in test_tls()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 1565 if ((htonl(server_addr->s_addr) >= htonl(base_addr->s_addr)) && in net_dhcpv4_server_start() 1566 (htonl(server_addr->s_addr) < in net_dhcpv4_server_start() 1567 htonl(base_addr->s_addr) + CONFIG_NET_DHCPV4_SERVER_ADDR_COUNT)) { in net_dhcpv4_server_start() 1643 server_ctx[slot].addr_pool[i].addr.s_addr = in net_dhcpv4_server_start() 1644 htonl(ntohl(base_addr->s_addr) + i); in net_dhcpv4_server_start()
|
D | dhcpv4.c | 697 iface->config.dhcpv4.server_id.s_addr = INADDR_ANY; in dhcpv4_enter_selecting() 698 iface->config.dhcpv4.requested_ip.s_addr = INADDR_ANY; in dhcpv4_enter_selecting()
|
/Zephyr-latest/subsys/net/ip/ |
D | connection.c | 304 if (net_sin(remote_addr)->sin_addr.s_addr) { in net_conn_change_remote() 376 if (net_sin(local_addr)->sin_addr.s_addr) { in net_conn_register() 526 if (net_sin(addr)->sin_addr.s_addr) { in conn_addr_cmp()
|
D | net_context.c | 743 addr4.sin_addr.s_addr = INADDR_ANY; in bind_default() 1003 } else if (UNALIGNED_GET(&addr4->sin_addr.s_addr) == INADDR_ANY) { in net_context_bind() 1438 if (addr4->sin_addr.s_addr) { in net_context_connect() 2335 if (!addr4->sin_addr.s_addr) { in context_sendto() 2358 if (net_sin(&context->remote)->sin_addr.s_addr == 0U && in context_sendto()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 1776 zassert_equal(net_sin(&addr)->sin_addr.s_addr, INADDR_ANY, "Source address set!"); in run_ancillary_recvmsg_test() 1832 zassert_equal(net_sin(&addr)->sin_addr.s_addr, in run_ancillary_recvmsg_test() 1833 net_sin(server_addr)->sin_addr.s_addr, in run_ancillary_recvmsg_test() 2762 mreqn.imr_address.s_addr = 0; in ZTEST() 2780 mreqn.imr_address.s_addr = 0; in ZTEST() 2833 mreqn.imr_address.s_addr = 0; in ZTEST() 2852 mreqn.imr_address.s_addr = ifaddr->address.in_addr.s_addr; in ZTEST() 2869 zexpect_equal(ifaddr->address.in_addr.s_addr, in ZTEST() 2870 addr.s_addr, in ZTEST() 2896 mreq.imr_interface.s_addr = ifaddr->address.in_addr.s_addr; in ZTEST()
|
/Zephyr-latest/samples/subsys/modbus/tcp_server/src/ |
D | main.c | 288 bind_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 92 ((struct sockaddr_in *)&addrm)->sin_addr.s_addr = INADDR_ANY; in tp_udp_init()
|
/Zephyr-latest/tests/boards/espressif/wifi/src/ |
D | main.c | 283 zassert_not_equal(gw_addr_4.s_addr, 0, "Gateway address is not set"); in ZTEST()
|
/Zephyr-latest/tests/net/lib/dns_sd/src/ |
D | main.c | 521 .s_addr = htonl(IP_ADDR(177, 5, 240, 13)), in ZTEST() 589 .s_addr = htonl(IP_ADDR(177, 5, 240, 13)), in ZTEST()
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 80 unsigned char *bytes = (unsigned char *)&in.s_addr; in inet_ntoa()
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp_udp.c | 183 addr4.sin_addr.s_addr = htonl(INADDR_ANY); in create_socket()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_tcp_receiver.c | 314 in4_addr->sin_addr.s_addr = INADDR_ANY; in zperf_tcp_receiver_init()
|
D | zperf_udp_receiver.c | 416 in4_addr_my->sin_addr.s_addr = INADDR_ANY; in zperf_udp_receiver_init()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_native_posix_adapt.c | 293 srv.sin_addr.s_addr = htonl(INADDR_ANY); in usbip_start()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 192 addr->sin_addr.s_addr = INADDR_ANY; in getaddrinfo_null_host()
|
D | sockets_inet.c | 1639 ((struct in_addr *)optval)->s_addr = INADDR_ANY; in ipv4_multicast_if() 1669 } else if (mreqn->imr_address.s_addr != INADDR_ANY) { in ipv4_multicast_if() 1681 if (mreq->imr_interface.s_addr != INADDR_ANY) { in ipv4_multicast_if() 2107 if (mreqn->imr_multiaddr.s_addr == INADDR_ANY) { in ipv4_multicast_group()
|
/Zephyr-latest/drivers/wifi/winc1500/ |
D | wifi_winc1500.c | 911 net_sin(&a_sd->context->remote)->sin_addr.s_addr = in handle_socket_msg_accept() 912 accept_msg->strAddr.sin_addr.s_addr; in handle_socket_msg_accept()
|
/Zephyr-latest/drivers/wifi/esp_at/ |
D | esp.c | 497 if (!addrs[i].sin_addr.s_addr) { in esp_dns_work() 528 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE() 539 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE()
|
D | esp_offload.c | 86 if ((net_sin(&dst)->sin_addr.s_addr == 0) && in _sock_connect()
|
/Zephyr-latest/drivers/net/ |
D | nsos_adapt.c | 298 addr_in->sin_addr.s_addr = addr_in_mid->sin_addr; in sockaddr_from_nsos_mid() 374 addr_in_mid->sin_addr = addr_in->sin_addr.s_addr; in sockaddr_to_nsos_mid()
|
D | nsos_sockets.c | 442 addr_in_mid->sin_addr = addr_in->sin_addr.s_addr; in sockaddr_to_nsos_mid() 529 addr_in.sin_addr.s_addr = addr_in_mid->sin_addr; in sockaddr_from_nsos_mid()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | llmnr_responder.c | 105 addr->sin_addr.s_addr = htonl(0xE00000FC); in create_ipv4_addr()
|