Lines Matching refs:sockindex

141                      int sockindex)  in polarssl_connect_step1()  argument
144 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in polarssl_connect_step1()
335 net_recv, &conn->sock[sockindex], in polarssl_connect_step1()
336 net_send, &conn->sock[sockindex]); in polarssl_connect_step1()
404 int sockindex) in polarssl_connect_step2() argument
408 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in polarssl_connect_step2()
414 conn->recv[sockindex] = polarssl_recv; in polarssl_connect_step2()
415 conn->send[sockindex] = polarssl_send; in polarssl_connect_step2()
441 ssl_get_ciphersuite(&conn->ssl[sockindex].ssl) ); in polarssl_connect_step2()
443 ret = ssl_get_verify_result(&conn->ssl[sockindex].ssl); in polarssl_connect_step2()
558 int sockindex) in polarssl_connect_step3() argument
561 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in polarssl_connect_step3()
603 int sockindex, in polarssl_send() argument
610 ret = ssl_write(&conn->ssl[sockindex].ssl, in polarssl_send()
622 void Curl_polarssl_close(struct connectdata *conn, int sockindex) in Curl_polarssl_close() argument
624 rsa_free(&conn->ssl[sockindex].rsa); in Curl_polarssl_close()
625 x509_crt_free(&conn->ssl[sockindex].clicert); in Curl_polarssl_close()
626 x509_crt_free(&conn->ssl[sockindex].cacert); in Curl_polarssl_close()
627 x509_crl_free(&conn->ssl[sockindex].crl); in Curl_polarssl_close()
628 ssl_free(&conn->ssl[sockindex].ssl); in Curl_polarssl_close()
676 int sockindex, in polarssl_connect_common() argument
682 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in polarssl_connect_common()
683 curl_socket_t sockfd = conn->sock[sockindex]; in polarssl_connect_common()
703 result = polarssl_connect_step1(conn, sockindex); in polarssl_connect_common()
757 result = polarssl_connect_step2(conn, sockindex); in polarssl_connect_common()
767 result = polarssl_connect_step3(conn, sockindex); in polarssl_connect_common()
774 conn->recv[sockindex] = polarssl_recv; in polarssl_connect_common()
775 conn->send[sockindex] = polarssl_send; in polarssl_connect_common()
789 int sockindex, in Curl_polarssl_connect_nonblocking() argument
792 return polarssl_connect_common(conn, sockindex, TRUE, done); in Curl_polarssl_connect_nonblocking()
798 int sockindex) in Curl_polarssl_connect() argument
803 result = polarssl_connect_common(conn, sockindex, FALSE, &done); in Curl_polarssl_connect()