Lines Matching refs:sockindex
64 cr_data_pending(const struct connectdata *conn, int sockindex) in cr_data_pending() argument
66 const struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cr_data_pending()
74 int sockindex UNUSED_PARAM) in cr_connect()
115 cr_recv(struct Curl_easy *data, int sockindex, in cr_recv() argument
119 struct ssl_connect_data *const connssl = &conn->ssl[sockindex]; in cr_recv()
130 &conn->sock[sockindex], &tls_bytes_read); in cr_recv()
208 cr_send(struct Curl_easy *data, int sockindex, in cr_send() argument
212 struct ssl_connect_data *const connssl = &conn->ssl[sockindex]; in cr_send()
240 &conn->sock[sockindex], &tlswritten); in cr_send()
384 int sockindex, bool *done) in cr_connect_nonblocking() argument
386 struct ssl_connect_data *const connssl = &conn->ssl[sockindex]; in cr_connect_nonblocking()
387 curl_socket_t sockfd = conn->sock[sockindex]; in cr_connect_nonblocking()
424 conn->recv[sockindex] = cr_recv; in cr_connect_nonblocking()
425 conn->send[sockindex] = cr_send; in cr_connect_nonblocking()
453 cr_send(data, sockindex, NULL, 0, &tmperr); in cr_connect_nonblocking()
466 cr_recv(data, sockindex, NULL, 0, &tmperr); in cr_connect_nonblocking()
519 int sockindex) in cr_close() argument
521 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cr_close()
528 n = cr_send(data, sockindex, NULL, 0, &tmperr); in cr_close()