Home
last modified time | relevance | path

Searched refs:clientfd (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_addr.c1137 int clientfd = -1; in run_bind_test_case() local
1152 clientfd = connect_to_server(test->type, &expected_addr, addr_len); in run_bind_test_case()
1153 if (clientfd == -1) in run_bind_test_case()
1160 close(clientfd); in run_bind_test_case()
1171 int clientfd = -1; in run_connect_test_case() local
1184 clientfd = connect_to_server(test->type, &requested_addr, addr_len); in run_connect_test_case()
1185 if (clientfd == -1) in run_connect_test_case()
1189 if (cmp_peer_addr(clientfd, &expected_addr)) in run_connect_test_case()
1192 if (cmp_local_ip(clientfd, &expected_src_addr)) in run_connect_test_case()
1197 clientfd = fastconnect_to_server(&requested_addr, addr_len); in run_connect_test_case()
[all …]
/external/curl/tests/server/
Dsws.c1469 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() local
1486 clientfd[CTRL] = *infdp; in http_connect()
1519 if((clientfd[DATA] == CURL_SOCKET_BAD) && in http_connect()
1533 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1536 FD_SET(clientfd[i], &input); in http_connect()
1537 if(clientfd[i] > maxfd) in http_connect()
1538 maxfd = clientfd[i]; in http_connect()
1543 FD_SET(clientfd[i], &output); in http_connect()
1544 if(clientfd[i] > maxfd) in http_connect()
1545 maxfd = clientfd[i]; in http_connect()
[all …]
/external/ppp/pppd/plugins/radius/
Dconfig.c455 FILE *clientfd; in rc_find_server() local
466 if ((clientfd = fopen (rc_conf_str("servers"), "r")) == (FILE *) NULL) in rc_find_server()
475 while (fgets (buffer, sizeof (buffer), clientfd) != (char *) NULL) in rc_find_server()
534 fclose (clientfd); in rc_find_server()
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dipcsocket.c43 int clientfd; in opensocket() local
77 clientfd = ret; in opensocket()
78 *sockfd = clientfd; in opensocket()