Lines Matching refs:sockindex
143 int sockindex) in cyassl_connect_step1() argument
148 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in cyassl_connect_step1()
150 curl_socket_t sockfd = conn->sock[sockindex]; in cyassl_connect_step1()
419 if(!Curl_ssl_getsessionid(conn, &ssl_sessionid, NULL, sockindex)) { in cyassl_connect_step1()
447 int sockindex) in cyassl_connect_step2() argument
451 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in cyassl_connect_step2()
460 conn->recv[sockindex] = cyassl_recv; in cyassl_connect_step2()
461 conn->send[sockindex] = cyassl_send; in cyassl_connect_step2()
627 int sockindex) in cyassl_connect_step3() argument
631 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cyassl_connect_step3()
644 sockindex)); in cyassl_connect_step3()
655 0 /* unknown size */, sockindex); in cyassl_connect_step3()
672 int sockindex, in cyassl_send() argument
677 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cyassl_send()
702 static void Curl_cyassl_close(struct connectdata *conn, int sockindex) in Curl_cyassl_close() argument
704 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_cyassl_close()
799 static int Curl_cyassl_shutdown(struct connectdata *conn, int sockindex) in Curl_cyassl_shutdown() argument
802 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_cyassl_shutdown()
814 int sockindex, in cyassl_connect_common() argument
820 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cyassl_connect_common()
821 curl_socket_t sockfd = conn->sock[sockindex]; in cyassl_connect_common()
841 result = cyassl_connect_step1(conn, sockindex); in cyassl_connect_common()
896 result = cyassl_connect_step2(conn, sockindex); in cyassl_connect_common()
905 result = cyassl_connect_step3(conn, sockindex); in cyassl_connect_common()
912 conn->recv[sockindex] = cyassl_recv; in cyassl_connect_common()
913 conn->send[sockindex] = cyassl_send; in cyassl_connect_common()
927 int sockindex, bool *done) in Curl_cyassl_connect_nonblocking() argument
929 return cyassl_connect_common(conn, sockindex, TRUE, done); in Curl_cyassl_connect_nonblocking()
933 static CURLcode Curl_cyassl_connect(struct connectdata *conn, int sockindex) in Curl_cyassl_connect() argument
938 result = cyassl_connect_common(conn, sockindex, FALSE, &done); in Curl_cyassl_connect()