Lines Matching refs:sockindex

194 set_ssl_version_min_max(struct connectdata *conn, int sockindex)  in set_ssl_version_min_max()  argument
197 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max()
239 int sockindex) in mbed_connect_step1() argument
242 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in mbed_connect_step1()
417 CURLcode result = set_ssl_version_min_max(conn, sockindex); in mbed_connect_step1()
431 mbedtls_ssl_set_bio(&BACKEND->ssl, &conn->sock[sockindex], in mbed_connect_step1()
454 if(!Curl_ssl_getsessionid(conn, &old_session, NULL, sockindex)) { in mbed_connect_step1()
532 int sockindex) in mbed_connect_step2() argument
536 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in mbed_connect_step2()
549 conn->recv[sockindex] = mbed_recv; in mbed_connect_step2()
550 conn->send[sockindex] = mbed_send; in mbed_connect_step2()
698 int sockindex) in mbed_connect_step3() argument
701 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mbed_connect_step3()
728 if(!Curl_ssl_getsessionid(conn, &old_ssl_sessionid, NULL, sockindex)) in mbed_connect_step3()
731 retcode = Curl_ssl_addsessionid(conn, our_ssl_sessionid, 0, sockindex); in mbed_connect_step3()
746 static ssize_t mbed_send(struct connectdata *conn, int sockindex, in mbed_send() argument
750 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mbed_send()
770 static void Curl_mbedtls_close(struct connectdata *conn, int sockindex) in Curl_mbedtls_close() argument
772 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_mbedtls_close()
880 int sockindex, in mbed_connect_common() argument
886 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mbed_connect_common()
887 curl_socket_t sockfd = conn->sock[sockindex]; in mbed_connect_common()
906 retcode = mbed_connect_step1(conn, sockindex); in mbed_connect_common()
961 retcode = mbed_connect_step2(conn, sockindex); in mbed_connect_common()
971 retcode = mbed_connect_step3(conn, sockindex); in mbed_connect_common()
978 conn->recv[sockindex] = mbed_recv; in mbed_connect_common()
979 conn->send[sockindex] = mbed_send; in mbed_connect_common()
992 int sockindex, bool *done) in Curl_mbedtls_connect_nonblocking() argument
994 return mbed_connect_common(conn, sockindex, TRUE, done); in Curl_mbedtls_connect_nonblocking()
998 static CURLcode Curl_mbedtls_connect(struct connectdata *conn, int sockindex) in Curl_mbedtls_connect() argument
1003 retcode = mbed_connect_common(conn, sockindex, FALSE, &done); in Curl_mbedtls_connect()
1027 int sockindex) in Curl_mbedtls_data_pending() argument
1029 const struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_mbedtls_data_pending()