• Home
  • Raw
  • Download

Lines Matching refs:sockindex

298                                       struct connectdata *conn, int sockindex)  in bearssl_connect_step1()  argument
300 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_step1()
374 &session, NULL, sockindex)) { in bearssl_connect_step1()
429 struct connectdata *conn, int sockindex, in bearssl_run_until() argument
432 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_run_until()
434 curl_socket_t sockfd = conn->sock[sockindex]; in bearssl_run_until()
507 struct connectdata *conn, int sockindex) in bearssl_connect_step2() argument
509 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_step2()
513 ret = bearssl_run_until(data, conn, sockindex, in bearssl_connect_step2()
528 struct connectdata *conn, int sockindex) in bearssl_connect_step3() argument
530 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_step3()
571 &oldsession, NULL, sockindex)); in bearssl_connect_step3()
576 session, 0, sockindex); in bearssl_connect_step3()
589 static ssize_t bearssl_send(struct Curl_easy *data, int sockindex, in bearssl_send() argument
593 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_send()
599 *err = bearssl_run_until(data, conn, sockindex, BR_SSL_SENDAPP); in bearssl_send()
622 static ssize_t bearssl_recv(struct Curl_easy *data, int sockindex, in bearssl_recv() argument
626 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_recv()
631 *err = bearssl_run_until(data, conn, sockindex, BR_SSL_RECVAPP); in bearssl_recv()
647 int sockindex, in bearssl_connect_common() argument
652 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_common()
653 curl_socket_t sockfd = conn->sock[sockindex]; in bearssl_connect_common()
664 ret = bearssl_connect_step1(data, conn, sockindex); in bearssl_connect_common()
717 ret = bearssl_connect_step2(data, conn, sockindex); in bearssl_connect_common()
726 ret = bearssl_connect_step3(data, conn, sockindex); in bearssl_connect_common()
733 conn->recv[sockindex] = bearssl_recv; in bearssl_connect_common()
734 conn->send[sockindex] = bearssl_send; in bearssl_connect_common()
780 struct connectdata *conn, int sockindex) in bearssl_connect() argument
785 ret = bearssl_connect_common(data, conn, sockindex, FALSE, &done); in bearssl_connect()
796 int sockindex, bool *done) in bearssl_connect_nonblocking() argument
798 return bearssl_connect_common(data, conn, sockindex, TRUE, done); in bearssl_connect_nonblocking()
809 struct connectdata *conn, int sockindex) in bearssl_close() argument
811 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_close()
817 (void)bearssl_run_until(data, conn, sockindex, BR_SSL_CLOSED); in bearssl_close()