Home
last modified time | relevance | path

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

/external/curl/tests/server/
Dsws.c1327 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() local
1344 clientfd[CTRL] = *infdp; in http_connect()
1377 if((clientfd[DATA] == CURL_SOCKET_BAD) && in http_connect()
1391 if(clientfd[i] != CURL_SOCKET_BAD) { in http_connect()
1394 FD_SET(clientfd[i], &input); in http_connect()
1395 if(clientfd[i] > maxfd) in http_connect()
1396 maxfd = clientfd[i]; in http_connect()
1401 FD_SET(clientfd[i], &output); in http_connect()
1402 if(clientfd[i] > maxfd) in http_connect()
1403 maxfd = clientfd[i]; in http_connect()
[all …]
Dsocksd.c585 curl_socket_t clientfd; member
595 if(FD_ISSET(cp->clientfd, fds)) { in tunnel()
597 nread = recv(cp->clientfd, buffer, sizeof(buffer), 0); in tunnel()
612 nwrite = send(cp->clientfd, (char *)buffer, in tunnel()
668 curl_socket_t fd = c[i].clientfd; in incoming()
718 cp->clientfd = newfd; in incoming()
732 sclose(cp->clientfd); in incoming()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_addr.c1380 int clientfd = -1; in run_bind_test_case() local
1395 clientfd = connect_to_server(test->type, &expected_addr, addr_len); in run_bind_test_case()
1396 if (clientfd == -1) in run_bind_test_case()
1403 close(clientfd); in run_bind_test_case()
1414 int clientfd = -1; in run_connect_test_case() local
1427 clientfd = connect_to_server(test->type, &requested_addr, addr_len); in run_connect_test_case()
1428 if (clientfd == -1) in run_connect_test_case()
1432 if (cmp_peer_addr(clientfd, &expected_addr)) in run_connect_test_case()
1435 if (cmp_local_ip(clientfd, &expected_src_addr)) in run_connect_test_case()
1440 clientfd = fastconnect_to_server(&requested_addr, addr_len); in run_connect_test_case()
[all …]
/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()
/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()