Home
last modified time | relevance | path

Searched refs:s_addr (Results 26 – 50 of 54) sorted by relevance

123

/Zephyr-latest/samples/net/sockets/echo_async/src/
Dsocket_echo.c120 .s_addr = htonl(INADDR_ANY), in main()
/Zephyr-latest/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c105 .s_addr = htonl(INADDR_ANY),
/Zephyr-latest/tests/net/lib/http_server/tls/src/
Dmain.c178 ret = zsock_inet_pton(AF_INET, MY_IPV4_ADDR, &sa.sin_addr.s_addr); in test_tls()
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4_server.c1565 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()
Ddhcpv4.c697 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/
Dconnection.c304 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()
Dnet_context.c743 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/
Dmain.c1776 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/
Dmain.c288 bind_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c92 ((struct sockaddr_in *)&addrm)->sin_addr.s_addr = INADDR_ANY; in tp_udp_init()
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c283 zassert_not_equal(gw_addr_4.s_addr, 0, "Gateway address is not set"); in ZTEST()
/Zephyr-latest/tests/net/lib/dns_sd/src/
Dmain.c521 .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/
Dnet.c80 unsigned char *bytes = (unsigned char *)&in.s_addr; in inet_ntoa()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_udp.c183 addr4.sin_addr.s_addr = htonl(INADDR_ANY); in create_socket()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_tcp_receiver.c314 in4_addr->sin_addr.s_addr = INADDR_ANY; in zperf_tcp_receiver_init()
Dzperf_udp_receiver.c416 in4_addr_my->sin_addr.s_addr = INADDR_ANY; in zperf_udp_receiver_init()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_native_posix_adapt.c293 srv.sin_addr.s_addr = htonl(INADDR_ANY); in usbip_start()
/Zephyr-latest/subsys/net/lib/sockets/
Dgetaddrinfo.c192 addr->sin_addr.s_addr = INADDR_ANY; in getaddrinfo_null_host()
Dsockets_inet.c1639 ((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/
Dwifi_winc1500.c911 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/
Desp.c497 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()
Desp_offload.c86 if ((net_sin(&dst)->sin_addr.s_addr == 0) && in _sock_connect()
/Zephyr-latest/drivers/net/
Dnsos_adapt.c298 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()
Dnsos_sockets.c442 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/
Dllmnr_responder.c105 addr->sin_addr.s_addr = htonl(0xE00000FC); in create_ipv4_addr()

123