Home
last modified time | relevance | path

Searched refs:sockindex (Results 1 – 25 of 47) sorted by relevance

12

/curl/lib/
H A Dcfilters.h288 int sockindex,
321 int sockindex);
401 void Curl_conn_close(struct Curl_easy *data, int sockindex);
415 int sockindex);
476 ssize_t Curl_cf_send(struct Curl_easy *data, int sockindex,
537 int sockindex);
542 void Curl_conn_get_host(struct Curl_easy *data, int sockindex,
552 int sockindex);
559 int sockindex);
572 CURLcode Curl_conn_recv(struct Curl_easy *data, int sockindex,
[all …]
H A Dcfilters.c194 cf = data->conn->cfilter[sockindex]; in Curl_conn_shutdown()
320 cf->sockindex = index; in Curl_conn_cf_add()
338 cf_new->sockindex = cf_at->sockindex; in Curl_conn_cf_insert_after()
417 cf = data->conn->cfilter[sockindex]; in Curl_conn_connect()
455 cf = conn->cfilter[sockindex]; in Curl_conn_is_connected()
463 cf = data->conn->cfilter[sockindex]; in Curl_conn_is_ip_connected()
512 cf = data->conn->cfilter[sockindex]; in Curl_conn_data_pending()
610 cf = data->conn->cfilter[sockindex]; in Curl_conn_get_host()
855 nread = data->conn->recv[sockindex](data, sockindex, buf, blen, &result); in Curl_conn_recv()
871 DEBUGASSERT(sockindex >= 0 && sockindex < 2); in Curl_conn_send()
[all …]
H A Dconnect.h45 void Curl_shutdown_start(struct Curl_easy *data, int sockindex,
50 timediff_t Curl_shutdown_timeleft(struct connectdata *conn, int sockindex,
58 void Curl_shutdown_clear(struct Curl_easy *data, int sockindex);
61 bool Curl_shutdown_started(struct Curl_easy *data, int sockindex);
138 int sockindex,
H A Dhttp2.h49 int sockindex);
52 int sockindex);
55 struct connectdata *conn, int sockindex);
60 struct connectdata *conn, int sockindex,
H A Dtransfer.c164 int sockindex; in xfer_recv_shutdown() local
176 int sockindex; in xfer_recv_shutdown_started() local
188 int sockindex; in Curl_xfer_send_shutdown() local
792 DEBUGASSERT((sockindex <= 1) && (sockindex >= -1)); in xfer_setup()
798 conn->sockfd = sockindex == -1 ? in xfer_setup()
800 conn->sock[sockindex]; in xfer_setup()
830 if(sockindex != -1) in xfer_setup()
920 int sockindex; in Curl_xfer_needs_flush() local
928 int sockindex; in Curl_xfer_flush() local
939 int sockindex; in Curl_xfer_send() local
[all …]
H A Dcf-https-connect.h40 int sockindex,
53 int sockindex,
H A Dkrb5.c477 result = Curl_conn_recv(data, sockindex, to_p, len, &nread); in socket_read()
526 result = socket_read(data, sockindex, &len, sizeof(len)); in read_data()
574 static ssize_t sec_recv(struct Curl_easy *data, int sockindex, in sec_recv() argument
601 if(read_data(data, sockindex, &conn->in_buffer)) in sec_recv()
653 socket_write(data, sockindex, enc, 4); in do_sec_send()
655 socket_write(data, sockindex, mic, 4); in do_sec_send()
657 socket_write(data, sockindex, cmd_buffer, cmd_size); in do_sec_send()
658 socket_write(data, sockindex, "\r\n", 2); in do_sec_send()
667 socket_write(data, sockindex, buffer, curlx_sitouz(bytes)); in do_sec_send()
692 static ssize_t sec_send(struct Curl_easy *data, int sockindex, in sec_send() argument
[all …]
H A Dconnect.c155 data->conn->shutdown.start[sockindex] = *nowp; in Curl_shutdown_start()
493 wcf->sockindex = cf->sockindex; in baller_initiate()
548 if(cf->sockindex == FIRSTSOCKET) { in baller_start_next()
1289 && !Curl_conn_is_ssl(cf->conn, cf->sockindex)) { in cf_setup_connect()
1312 if(Curl_conn_is_ssl(cf->conn, cf->sockindex)) { in cf_setup_connect()
1427 int sockindex, in cf_setup_add() argument
1439 Curl_conn_cf_add(data, conn, sockindex, cf); in cf_setup_add()
1479 int sockindex, in Curl_conn_setup() argument
1489 if(!conn->cfilter[sockindex] && in Curl_conn_setup()
1499 if(!conn->cfilter[sockindex]) { in Curl_conn_setup()
[all …]
H A Dcf-socket.h146 int sockindex,
154 int sockindex);
H A Dcurl_rtmp.c309 static ssize_t rtmp_recv(struct Curl_easy *data, int sockindex, char *buf, in rtmp_recv() argument
316 (void)sockindex; /* unused */ in rtmp_recv()
331 static ssize_t rtmp_send(struct Curl_easy *data, int sockindex, in rtmp_send() argument
338 (void)sockindex; /* unused */ in rtmp_send()
H A Dc-hyper.h34 int sockindex; member
H A Dpingpong.c258 int sockindex, in pingpong_read() argument
268 result = Curl_conn_recv(data, sockindex, buffer, buflen, nread); in pingpong_read()
282 int sockindex, in Curl_pp_readresp() argument
308 result = pingpong_read(data, sockindex, buffer, sizeof(buffer), in Curl_pp_readresp()
H A Dcf-socket.c1006 if(ctx->sock == cf->conn->sock[cf->sockindex]) in cf_socket_close()
1486 fdsave = cf->conn->sock[cf->sockindex]; in cf_socket_send()
1487 cf->conn->sock[cf->sockindex] = ctx->sock; in cf_socket_send()
1498 cf->conn->sock[cf->sockindex] = fdsave; in cf_socket_send()
1556 cf->conn->sock[cf->sockindex] = fdsave; in cf_socket_send()
1643 cf->conn->sock[cf->sockindex] = ctx->sock; in cf_socket_active()
1645 if(cf->sockindex == FIRSTSOCKET) { in cf_socket_active()
2158 cf->conn->sock[cf->sockindex] = ctx->sock; in cf_tcp_accept_connect()
2226 Curl_conn_cf_add(data, conn, sockindex, cf); in Curl_conn_tcp_listen_set()
2229 conn->sock[sockindex] = ctx->sock; in Curl_conn_tcp_listen_set()
[all …]
H A Durl.h65 int sockindex);
H A Dpingpong.h135 int sockindex,
H A Dcf-https-connect.c570 int sockindex, in cf_http_connect_add() argument
581 Curl_conn_cf_add(data, conn, sockindex, cf); in cf_http_connect_add()
588 int sockindex, in Curl_cf_https_setup() argument
594 (void)sockindex; in Curl_cf_https_setup()
614 result = cf_http_connect_add(data, conn, sockindex, remotehost, in Curl_cf_https_setup()
H A Dsocks.c122 if(SOCKET_READABLE(cf->conn->sock[cf->sockindex], timeout_ms) <= 0) { in Curl_blockread_all()
1135 int sockindex = cf->sockindex; in socks_proxy_cf_connect() local
1164 sockindex == SECONDARYSOCKET ? in socks_proxy_cf_connect()
1168 sockindex == SECONDARYSOCKET ? conn->secondary_port : in socks_proxy_cf_connect()
1178 Curl_verboseconnect(data, conn, cf->sockindex); in socks_proxy_cf_connect()
/curl/lib/vtls/
H A Dvtls.h205 CURLcode Curl_ssl_get_channel_binding(struct Curl_easy *data, int sockindex,
212 int sockindex);
218 int sockindex, bool send_shutdown);
239 void *Curl_ssl_get_internals(struct Curl_easy *data, int sockindex,
/curl/lib/vquic/
H A Dcurl_msh3.h42 int sockindex);
H A Dcurl_quiche.h46 int sockindex);
H A Dcurl_osslq.h48 int sockindex);
H A Dcurl_ngtcp2.h58 int sockindex);
H A Dvquic.h51 int sockindex);
H A Dvquic.c700 int sockindex) in Curl_conn_is_http3() argument
703 return Curl_conn_is_ngtcp2(data, conn, sockindex); in Curl_conn_is_http3()
705 return Curl_conn_is_osslq(data, conn, sockindex); in Curl_conn_is_http3()
707 return Curl_conn_is_quiche(data, conn, sockindex); in Curl_conn_is_http3()
709 return Curl_conn_is_msh3(data, conn, sockindex); in Curl_conn_is_http3()
/curl/lib/vssh/
H A Dwolfssh.c220 static ssize_t wscp_send(struct Curl_easy *data, int sockindex, in wscp_send() argument
226 (void)sockindex; /* we only support SCP on the fixed known primary socket */ in wscp_send()
235 static ssize_t wscp_recv(struct Curl_easy *data, int sockindex, in wscp_recv() argument
240 (void)sockindex; /* we only support SCP on the fixed known primary socket */ in wscp_recv()
249 static ssize_t wsftp_send(struct Curl_easy *data, int sockindex, in wsftp_send() argument
256 (void)sockindex; in wsftp_send()
294 static ssize_t wsftp_recv(struct Curl_easy *data, int sockindex, in wsftp_recv() argument
301 (void)sockindex; in wsftp_recv()

Completed in 52 milliseconds

12