Lines Matching refs:clientfd
1173 int clientfd = -1; in run_bind_test_case() local
1188 clientfd = connect_to_server(test->type, &expected_addr, addr_len); in run_bind_test_case()
1189 if (clientfd == -1) in run_bind_test_case()
1196 close(clientfd); in run_bind_test_case()
1207 int clientfd = -1; in run_connect_test_case() local
1220 clientfd = connect_to_server(test->type, &requested_addr, addr_len); in run_connect_test_case()
1221 if (clientfd == -1) in run_connect_test_case()
1225 if (cmp_peer_addr(clientfd, &expected_addr)) in run_connect_test_case()
1228 if (cmp_local_ip(clientfd, &expected_src_addr)) in run_connect_test_case()
1233 clientfd = fastconnect_to_server(&requested_addr, addr_len); in run_connect_test_case()
1234 if (clientfd == -1) in run_connect_test_case()
1238 if (cmp_peer_addr(clientfd, &expected_addr)) in run_connect_test_case()
1241 if (cmp_local_ip(clientfd, &expected_src_addr)) in run_connect_test_case()
1249 close(clientfd); in run_connect_test_case()
1261 int clientfd = -1; in run_xmsg_test_case() local
1278 if (clientfd >= 0) in run_xmsg_test_case()
1279 close(clientfd); in run_xmsg_test_case()
1281 clientfd = sendmsg_to_server(test->type, &sendmsg_addr, in run_xmsg_test_case()
1286 else if (clientfd == -1) in run_xmsg_test_case()
1312 close(clientfd); in run_xmsg_test_case()