Home
last modified time | relevance | path

Searched refs:saddr6 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/net/socket/getaddrinfo/src/
Dmain.c602 struct sockaddr_in6 *saddr6; in ZTEST() local
634 saddr6 = net_sin6(res->ai_addr); in ZTEST()
635 zassert_equal(saddr6->sin6_family, AF_INET6, ""); in ZTEST()
636 zassert_equal(saddr6->sin6_port, htons(80), ""); in ZTEST()
637 zassert_equal(0, memcmp(&saddr6->sin6_addr, &in6addr_any, sizeof(in6addr_any)), ""); in ZTEST()
649 saddr6 = (struct sockaddr_in6 *)res->ai_addr; in ZTEST()
650 zassert_equal(saddr6->sin6_family, AF_INET6, ""); in ZTEST()
651 zassert_equal(saddr6->sin6_port, htons(80), ""); in ZTEST()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c2541 struct sockaddr_in6 saddr6 = { in ZTEST() local
2641 server_sock = prepare_listen_sock_udp_v6(&saddr6); in ZTEST()
2648 (struct sockaddr *)&saddr6, sizeof(saddr6)); in ZTEST()
2656 addrlen = sizeof(saddr6); in ZTEST()
2658 0, (struct sockaddr *)&saddr6, &addrlen); in ZTEST()