Lines Matching refs:off
633 int off = 0; in test_ipv4_mapped_to_ipv6_enabled() local
682 ret = zsock_setsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, sizeof(off)); in test_ipv4_mapped_to_ipv6_enabled()
685 ret = zsock_getsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, &optlen); in test_ipv4_mapped_to_ipv6_enabled()
687 zassert_equal(off, 0, "IPV6_V6ONLY option setting failed"); in test_ipv4_mapped_to_ipv6_enabled()
706 int off; in test_ipv4_mapped_to_ipv6_server() local
759 ret = zsock_getsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, &optlen); in test_ipv4_mapped_to_ipv6_server()
761 zassert_not_equal(off, 0, "IPV6_V6ONLY option setting failed"); in test_ipv4_mapped_to_ipv6_server()
766 off = 0; in test_ipv4_mapped_to_ipv6_server()
767 ret = zsock_setsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, sizeof(off)); in test_ipv4_mapped_to_ipv6_server()
770 ret = zsock_getsockopt(sock_s6, IPPROTO_IPV6, IPV6_V6ONLY, &off, &optlen); in test_ipv4_mapped_to_ipv6_server()
772 zassert_equal(off, 0, "IPV6_V6ONLY option setting failed, %d", off); in test_ipv4_mapped_to_ipv6_server()