Lines Matching refs:sockindex
1006 if(ctx->sock == cf->conn->sock[cf->sockindex]) in cf_socket_close()
1007 cf->conn->sock[cf->sockindex] = CURL_SOCKET_BAD; in cf_socket_close()
1010 if(ctx->active && cf->sockindex == FIRSTSOCKET) 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()
1630 if(cf->connected && (cf->sockindex == FIRSTSOCKET)) { in cf_socket_update_data()
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()
2204 int sockindex, curl_socket_t *s) in Curl_conn_tcp_listen_set() argument
2211 Curl_conn_cf_discard_all(data, conn, sockindex); in Curl_conn_tcp_listen_set()
2212 DEBUGASSERT(conn->sock[sockindex] == CURL_SOCKET_BAD); in Curl_conn_tcp_listen_set()
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()
2244 int sockindex) in Curl_conn_is_tcp_listen() argument
2246 struct Curl_cfilter *cf = data->conn->cfilter[sockindex]; in Curl_conn_is_tcp_listen()