Lines Matching refs:clientfd
1398 int clientfd = -1; in run_bind_test_case() local
1413 clientfd = connect_to_server(test->type, &expected_addr, addr_len); in run_bind_test_case()
1414 if (clientfd == -1) in run_bind_test_case()
1421 close(clientfd); in run_bind_test_case()
1432 int clientfd = -1; in run_connect_test_case() local
1445 clientfd = connect_to_server(test->type, &requested_addr, addr_len); in run_connect_test_case()
1446 if (clientfd == -1) in run_connect_test_case()
1450 if (cmp_peer_addr(clientfd, &expected_addr)) in run_connect_test_case()
1453 if (cmp_local_ip(clientfd, &expected_src_addr)) in run_connect_test_case()
1458 clientfd = fastconnect_to_server(&requested_addr, addr_len); in run_connect_test_case()
1459 if (clientfd == -1) in run_connect_test_case()
1463 if (cmp_peer_addr(clientfd, &expected_addr)) in run_connect_test_case()
1466 if (cmp_local_ip(clientfd, &expected_src_addr)) in run_connect_test_case()
1474 close(clientfd); in run_connect_test_case()
1486 int clientfd = -1; in run_xmsg_test_case() local
1503 if (clientfd >= 0) in run_xmsg_test_case()
1504 close(clientfd); in run_xmsg_test_case()
1506 clientfd = sendmsg_to_server(test->type, &sendmsg_addr, in run_xmsg_test_case()
1511 else if (clientfd == -1) in run_xmsg_test_case()
1537 close(clientfd); in run_xmsg_test_case()