Lines Matching full:bind
157 zassert_equal(ret, 0, "bind() failed with error %d", errno); in test_bind_success()
165 zassert_equal(ret, -1, "bind() succeeded incorrectly"); in test_bind_fail()
167 zassert_equal(errno, EADDRINUSE, "bind() returned unexpected errno (%d)", errno); in test_bind_fail()
313 /* Bind the first socket */ in test_reuseaddr_unspecified_specified_common()
316 /* Try to bind the second socket, should fail */ in test_reuseaddr_unspecified_specified_common()
322 /* Try to bind the second socket again */ in test_reuseaddr_unspecified_specified_common()
396 /* Bind the first socket */ in test_reuseaddr_tcp_listening_common()
405 /* Try to bind the second socket, should fail */ in test_reuseaddr_tcp_listening_common()
458 /* Bind the server socket */ in test_reuseaddr_tcp_tcp_time_wait_common()
482 /* Bind the server socket, should fail */ in test_reuseaddr_tcp_tcp_time_wait_common()
488 /* Try to bind the new server socket again, should work now */ in test_reuseaddr_tcp_tcp_time_wait_common()
595 /* Bind the first socket */ in test_reuseport_unspecified_specified_common()
598 /* Try to bind the second socket, should fail */ in test_reuseport_unspecified_specified_common()
604 /* Try to bind the second socket again */ in test_reuseport_unspecified_specified_common()
772 /* Make sure we can bind to the address:port */ in test_reuseport_udp_server_client_common()
777 /* Bind server socket */ in test_reuseport_udp_server_client_common()
780 /* Bind client socket (on a random port) */ in test_reuseport_udp_server_client_common()
799 /* Make sure we can bind to the address:port */ in test_reuseport_udp_server_client_common()
804 /* Try to bind new client socket */ in test_reuseport_udp_server_client_common()
931 /* Bind server socket */ in test_reuseport_tcp_identical_clients_common()
937 /* Bind the client sockets */ in test_reuseport_tcp_identical_clients_common()