/Zephyr-Core-3.5.0/tests/net/socket/poll/src/ |
D | main.c | 42 struct sockaddr_in6 s_addr; in ZTEST() local 50 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_addr); in ZTEST() 52 prepare_sock_tcp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock_tcp, &s_addr); in ZTEST() 54 res = bind(s_sock, (struct sockaddr *)&s_addr, sizeof(s_addr)); in ZTEST() 57 res = connect(c_sock, (struct sockaddr *)&s_addr, sizeof(s_addr)); in ZTEST() 122 res = connect(c_sock, (const struct sockaddr *)&s_addr, in ZTEST() 123 sizeof(s_addr)); in ZTEST() 139 res = bind(s_sock_tcp, (struct sockaddr *)&s_addr, sizeof(s_addr)); in ZTEST() 144 res = connect(c_sock_tcp, (const struct sockaddr *)&s_addr, in ZTEST() 145 sizeof(s_addr)); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/net/socket/select/src/ |
D | main.c | 74 struct sockaddr_in6 s_addr; in ZTEST_USER() local 82 prepare_sock_udp_v6(MY_IPV6_ADDR, SERVER_PORT, &s_sock, &s_addr); in ZTEST_USER() 84 res = bind(s_sock, (struct sockaddr *)&s_addr, sizeof(s_addr)); in ZTEST_USER() 87 res = connect(c_sock, (struct sockaddr *)&s_addr, sizeof(s_addr)); in ZTEST_USER()
|
/Zephyr-Core-3.5.0/subsys/net/l2/ppp/ |
D | ipcp.c | 36 net_pkt_write_u8(pkt, 1 + 1 + sizeof(addr->s_addr)); in ipcp_add_address() 37 return net_pkt_write(pkt, &addr->s_addr, sizeof(addr->s_addr)); in ipcp_add_address() 164 if (data->addr.s_addr == INADDR_ANY) { in ipcp_dns_address_parse() 190 if (data->addr.s_addr == INADDR_ANY) { in ipcp_ip_address_parse() 332 if (!dns1.sin_addr.s_addr) { in ipcp_set_dns_servers() 336 if (!dns2.sin_addr.s_addr) { in ipcp_set_dns_servers() 363 if (!ctx->ipcp.my_options.address.s_addr) { in ipcp_config_info_nack() 431 if (ctx->ipcp.my_options.address.s_addr) { in ipcp_down()
|
/Zephyr-Core-3.5.0/tests/net/ip-addr/src/ |
D | main.c | 428 zassert_equal(out->s_addr, addr4.s_addr, in ZTEST() 440 zassert_equal(out->s_addr, lladdr4.s_addr, in ZTEST() 452 zassert_equal(out->s_addr, addr4.s_addr, in ZTEST() 464 zassert_equal(out->s_addr, addr4.s_addr, in ZTEST()
|
/Zephyr-Core-3.5.0/samples/net/sockets/tcp/src/ |
D | main.c | 56 sin.sin_addr.s_addr = htonl(INADDR_ANY); in udp()
|
/Zephyr-Core-3.5.0/tests/posix/headers/src/ |
D | netinet_in_h.c | 27 zassert_not_equal(-1, offsetof(struct in_addr, s_addr)); in ZTEST()
|
/Zephyr-Core-3.5.0/scripts/coredump/gdbstubs/ |
D | gdbstub.py | 133 s_addr = int(b'0x' + str_addr, 16) 138 addr = s_addr
|
/Zephyr-Core-3.5.0/samples/net/sockets/echo/src/ |
D | socket_echo.c | 41 bind_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | net_ip.h | 156 uint32_t s_addr; /* In big endian, for POSIX compatibility. */ member 712 return UNALIGNED_GET(&addr->s_addr) == 0; in net_ipv4_is_addr_unspecified() 724 return (ntohl(UNALIGNED_GET(&addr->s_addr)) & 0xF0000000) == 0xE0000000; in net_ipv4_is_addr_mcast() 736 return (ntohl(UNALIGNED_GET(&addr->s_addr)) & 0xFFFF0000) == 0xA9FE0000; in net_ipv4_is_ll_addr() 785 return UNALIGNED_GET(&addr1->s_addr) == UNALIGNED_GET(&addr2->s_addr); in net_ipv4_addr_cmp()
|
/Zephyr-Core-3.5.0/tests/net/socket/getnameinfo/src/ |
D | main.c | 34 saddr.sin_addr.s_addr = htonl(0x7f000001); in ZTEST_USER()
|
/Zephyr-Core-3.5.0/samples/net/sockets/dumb_http_server/src/ |
D | socket_dumb_http.c | 54 bind_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
|
/Zephyr-Core-3.5.0/samples/net/mdns_responder/src/ |
D | service.c | 70 net_sin(&server_addr)->sin_addr.s_addr = htonl(INADDR_ANY); in service()
|
/Zephyr-Core-3.5.0/samples/subsys/modbus/tcp_gateway/src/ |
D | main.c | 110 bind_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
|
/Zephyr-Core-3.5.0/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 353 sl_addr_in->sin_addr.s_addr = in translate_z_to_sl_addrs() 354 z_sockaddr_in->sin_addr.s_addr; in translate_z_to_sl_addrs() 390 z_sockaddr_in->sin_addr.s_addr = in translate_sl_to_z_addr() 391 sl_addr_in->sin_addr.s_addr; in translate_sl_to_z_addr() 1028 net_sin(ai_addr)->sin_addr.s_addr = sl_addr->sin_addr.s_addr; in set_addr_info()
|
/Zephyr-Core-3.5.0/tests/net/socket/tls_ext/src/ |
D | main.c | 275 sa.sin_addr.s_addr = INADDR_ANY; in test_common() 354 r = inet_pton(AF_INET, MY_IPV4_ADDR, &sa.sin_addr.s_addr); in test_common()
|
/Zephyr-Core-3.5.0/samples/net/sockets/echo_async/src/ |
D | socket_echo.c | 118 .s_addr = htonl(INADDR_ANY), in main()
|
/Zephyr-Core-3.5.0/samples/net/sockets/echo_async_select/src/ |
D | socket_echo_select.c | 104 .s_addr = htonl(INADDR_ANY),
|
/Zephyr-Core-3.5.0/subsys/net/ip/ |
D | connection.c | 307 if (net_sin(remote_addr)->sin_addr.s_addr) { in net_conn_register() 334 if (net_sin(local_addr)->sin_addr.s_addr) { in net_conn_register() 476 if (net_sin(addr)->sin_addr.s_addr) { in conn_addr_cmp()
|
D | net_context.c | 588 addr4.sin_addr.s_addr = INADDR_ANY; in bind_default() 784 } else if (addr4->sin_addr.s_addr == INADDR_ANY) { in net_context_bind() 1201 if (addr4->sin_addr.s_addr) { in net_context_connect() 1750 if (!addr4->sin_addr.s_addr) { in context_sendto() 1761 if (net_sin(&context->remote)->sin_addr.s_addr == 0U && in context_sendto()
|
/Zephyr-Core-3.5.0/samples/subsys/modbus/tcp_server/src/ |
D | main.c | 288 bind_addr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
|
/Zephyr-Core-3.5.0/tests/net/lib/dns_sd/src/ |
D | main.c | 520 .s_addr = htonl(IP_ADDR(177, 5, 240, 13)), in ZTEST() 588 .s_addr = htonl(IP_ADDR(177, 5, 240, 13)), in ZTEST()
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/src/ |
D | smp_udp.c | 191 addr4.sin_addr.s_addr = htonl(INADDR_ANY); in create_socket()
|
/Zephyr-Core-3.5.0/drivers/wifi/esp_at/ |
D | esp.c | 341 if (!addrs[i].sin_addr.s_addr) { in esp_dns_work() 372 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE() 383 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE()
|
/Zephyr-Core-3.5.0/drivers/usb/device/ |
D | usb_dc_native_posix_adapt.c | 289 srv.sin_addr.s_addr = htonl(INADDR_ANY); in usbip_start()
|
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 157 addr->sin_addr.s_addr = INADDR_ANY; in getaddrinfo_null_host()
|