Lines Matching refs:sockindex
150 struct connectdata *conn, int sockindex,
419 int sockindex) in schannel_acquire_credential_handle() argument
421 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_acquire_credential_handle()
754 int sockindex) in schannel_connect_step1() argument
757 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step1()
837 (void **)&old_cred, NULL, sockindex)) { in schannel_connect_step1()
851 result = schannel_acquire_credential_handle(data, conn, sockindex); in schannel_connect_step1()
994 result = Curl_write_plain(data, conn->sock[sockindex], outbuf.pvBuffer, in schannel_connect_step1()
1019 int sockindex) in schannel_connect_step2() argument
1023 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step2()
1090 result = Curl_read_plain(conn->sock[sockindex], in schannel_connect_step2()
1186 result = Curl_write_plain(data, conn->sock[sockindex], in schannel_connect_step2()
1283 result = pkp_pin_peer_pubkey(data, conn, sockindex, pubkey_ptr); in schannel_connect_step2()
1292 return Curl_verify_certificate(data, conn, sockindex); in schannel_connect_step2()
1360 int sockindex) in schannel_connect_step3() argument
1363 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step3()
1443 NULL, sockindex)); in schannel_connect_step3()
1456 sockindex); in schannel_connect_step3()
1507 int sockindex, bool nonblocking, bool *done) in schannel_connect_common() argument
1510 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_common()
1511 curl_socket_t sockfd = conn->sock[sockindex]; in schannel_connect_common()
1531 result = schannel_connect_step1(data, conn, sockindex); in schannel_connect_common()
1586 result = schannel_connect_step2(data, conn, sockindex); in schannel_connect_common()
1596 result = schannel_connect_step3(data, conn, sockindex); in schannel_connect_common()
1603 conn->recv[sockindex] = schannel_recv; in schannel_connect_common()
1604 conn->send[sockindex] = schannel_send; in schannel_connect_common()
1627 schannel_send(struct Curl_easy *data, int sockindex, in schannel_send() argument
1634 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_send()
1722 what = SOCKET_WRITABLE(conn->sock[sockindex], timeout_ms); in schannel_send()
1739 result = Curl_write_plain(data, conn->sock[sockindex], ptr + written, in schannel_send()
1770 schannel_recv(struct Curl_easy *data, int sockindex, in schannel_recv() argument
1776 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_recv()
1849 *err = Curl_read_plain(conn->sock[sockindex], in schannel_recv()
1986 *err = schannel_connect_common(data, conn, sockindex, FALSE, &done); in schannel_recv()
2095 int sockindex, bool *done) in schannel_connect_nonblocking() argument
2097 return schannel_connect_common(data, conn, sockindex, TRUE, done); in schannel_connect_nonblocking()
2101 struct connectdata *conn, int sockindex) in schannel_connect() argument
2106 result = schannel_connect_common(data, conn, sockindex, FALSE, &done); in schannel_connect()
2116 int sockindex) in schannel_data_pending() argument
2118 const struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_data_pending()
2128 int sockindex) in schannel_close() argument
2130 if(conn->ssl[sockindex].use) in schannel_close()
2132 Curl_ssl_shutdown(data, conn, sockindex); in schannel_close()
2148 int sockindex) in schannel_shutdown() argument
2153 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_shutdown()
2210 result = Curl_write_plain(data, conn->sock[sockindex], outbuf.pvBuffer, in schannel_shutdown()
2292 struct connectdata *conn, int sockindex, in pkp_pin_peer_pubkey() argument
2295 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in pkp_pin_peer_pubkey()