Lines Matching refs:sockfd
307 curl_socket_t sockfd; in curl_dbg_socket() local
312 sockfd = socket(domain, type, protocol); in curl_dbg_socket()
314 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_socket()
316 source, line, sockfd); in curl_dbg_socket()
318 return sockfd; in curl_dbg_socket()
321 SEND_TYPE_RETV curl_dbg_send(SEND_TYPE_ARG1 sockfd, in curl_dbg_send() argument
329 rc = send(sockfd, buf, len, flags); in curl_dbg_send()
336 RECV_TYPE_RETV curl_dbg_recv(RECV_TYPE_ARG1 sockfd, RECV_TYPE_ARG2 buf, in curl_dbg_recv() argument
343 rc = recv(sockfd, buf, len, flags); in curl_dbg_recv()
372 curl_socket_t sockfd = accept(s, addr, addrlen); in curl_dbg_accept() local
374 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_accept()
376 source, line, sockfd); in curl_dbg_accept()
378 return sockfd; in curl_dbg_accept()
382 void curl_dbg_mark_sclose(curl_socket_t sockfd, int line, const char *source) in curl_dbg_mark_sclose() argument
386 source, line, sockfd); in curl_dbg_mark_sclose()
390 int curl_dbg_sclose(curl_socket_t sockfd, int line, const char *source) in curl_dbg_sclose() argument
392 int res = sclose(sockfd); in curl_dbg_sclose()
393 curl_dbg_mark_sclose(sockfd, line, source); in curl_dbg_sclose()