Lines Matching refs:sockindex

470 socket_read(struct Curl_easy *data, int sockindex, void *to, size_t len)  in socket_read()  argument
477 result = Curl_conn_recv(data, sockindex, to_p, len, &nread); in socket_read()
496 socket_write(struct Curl_easy *data, int sockindex, const void *to, in socket_write() argument
504 result = Curl_conn_send(data, sockindex, to_p, len, FALSE, &written); in socket_write()
518 static CURLcode read_data(struct Curl_easy *data, int sockindex, in read_data() argument
526 result = socket_read(data, sockindex, &len, sizeof(len)); in read_data()
543 result = socket_read(data, sockindex, buffer, (size_t)nread); in read_data()
574 static ssize_t sec_recv(struct Curl_easy *data, int sockindex, in sec_recv() argument
586 *err = Curl_conn_recv(data, sockindex, buffer, len, &nread); in sec_recv()
601 if(read_data(data, sockindex, &conn->in_buffer)) in sec_recv()
619 int sockindex, const char *from, int length) in do_sec_send() argument
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()
666 socket_write(data, sockindex, &htonl_bytes, sizeof(htonl_bytes)); in do_sec_send()
667 socket_write(data, sockindex, buffer, curlx_sitouz(bytes)); in do_sec_send()
673 int sockindex, const char *buffer, size_t length) in sec_write() argument
683 do_sec_send(data, conn, sockindex, buffer, curlx_sztosi(len)); in sec_write()
692 static ssize_t sec_send(struct Curl_easy *data, int sockindex, in sec_send() argument
699 return sec_write(data, conn, sockindex, buffer, len); in sec_send()