Lines Matching refs:sock
657 curl_socket_t sock; in Curl_conn_cf_get_socket() local
658 if(cf && !cf->cft->query(cf, data, CF_QUERY_SOCKET, NULL, &sock)) in Curl_conn_cf_get_socket()
659 return sock; in Curl_conn_cf_get_socket()
682 return data->conn ? data->conn->sock[sockindex] : CURL_SOCKET_BAD; in Curl_conn_get_socket()
692 fake_sclose(data->conn->sock[sockindex]); in Curl_conn_forget_socket()
693 data->conn->sock[sockindex] = CURL_SOCKET_BAD; in Curl_conn_forget_socket()
843 sockfd != CURL_SOCKET_BAD && sockfd == data->conn->sock[SECONDARYSOCKET]) in Curl_conn_sockindex()
911 struct easy_pollset *ps, curl_socket_t sock, in Curl_pollset_change() argument
917 DEBUGASSERT(VALID_SOCK(sock)); in Curl_pollset_change()
918 if(!VALID_SOCK(sock)) in Curl_pollset_change()
925 if(ps->sockets[i] == sock) { in Curl_pollset_change()
953 ps->sockets[i] = sock; in Curl_pollset_change()
961 struct easy_pollset *ps, curl_socket_t sock, in Curl_pollset_set() argument
964 Curl_pollset_change(data, ps, sock, in Curl_pollset_set()
1006 struct easy_pollset *ps, curl_socket_t sock, in Curl_pollset_check() argument
1012 DEBUGASSERT(VALID_SOCK(sock)); in Curl_pollset_check()
1014 if(ps->sockets[i] == sock) { in Curl_pollset_check()