Lines Matching full:bind
185 zassert_equal(ret, 0, "bind failed, %d", errno); in test_so_bindtodevice()
187 /* Bind server socket with interface 2. */ in test_so_bindtodevice()
194 /* Bind client socket with interface 1 and send a packet. */ in test_so_bindtodevice()
219 /* Bind client socket with interface 2 and send a packet. */ in test_so_bindtodevice()
258 /* Bind client socket with interface 1 again. */ in test_so_bindtodevice()
412 zassert_equal(ret, 0, "bind failed, %d", errno); in test_getpeername()
487 zassert_equal(ret, 0, "bind failed, %d", errno); in test_getsockname_tcp()
556 zassert_equal(ret, 0, "bind failed, %d", errno); in test_getsockname_udp()
613 zassert_equal(ret, 0, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_disabled()
622 zassert_equal(ret, 0, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_disabled()
663 zassert_equal(ret, 0, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_enabled()
672 /* Initially the IPV6_V6ONLY is set so the next bind is ok */ in test_ipv4_mapped_to_ipv6_enabled()
674 zassert_equal(ret, 0, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_enabled()
680 * will have same port space and the next bind should fail. in test_ipv4_mapped_to_ipv6_enabled()
692 /* Now v4 bind should fail */ in test_ipv4_mapped_to_ipv6_enabled()
694 zassert_equal(ret, -1, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_enabled()
695 zassert_equal(errno, EADDRINUSE, "bind failed"); in test_ipv4_mapped_to_ipv6_enabled()
775 zassert_equal(ret, 0, "bind failed, %d", errno); in test_ipv4_mapped_to_ipv6_server()