Home
last modified time | relevance | path

Searched refs:SOCKERRNO (Results 1 – 25 of 31) sorted by relevance

12

/curl/lib/vquic/
H A Dvquic.c160 switch(SOCKERRNO) { in do_sendmsg()
173 SOCKERRNO); in do_sendmsg()
194 SOCKERRNO == EINTR) in do_sendmsg()
198 if(SOCKERRNO == EAGAIN || SOCKERRNO == EWOULDBLOCK) { in do_sendmsg()
203 if(SOCKERRNO != EMSGSIZE) { in do_sendmsg()
400 SOCKERRNO == EINTR) in recvmmsg_packets()
403 if(SOCKERRNO == EAGAIN || SOCKERRNO == EWOULDBLOCK) { in recvmmsg_packets()
492 SOCKERRNO == EINTR) in recvmsg_packets()
495 if(SOCKERRNO == EAGAIN || SOCKERRNO == EWOULDBLOCK) { in recvmsg_packets()
566 SOCKERRNO == EINTR) in recvfrom_packets()
[all …]
/curl/lib/
H A Dcf-socket.c187 sockfd, SOCKERRNO); in tcpkeepalive()
199 sockfd, SOCKERRNO); in tcpkeepalive()
207 sockfd, SOCKERRNO); in tcpkeepalive()
214 sockfd, SOCKERRNO); in tcpkeepalive()
867 err = SOCKERRNO; in verifyconnect()
893 *error = SOCKERRNO; in verifyconnect()
1084 int error = SOCKERRNO; in set_local_ip()
1226 ctx->error = SOCKERRNO; in cf_socket_open()
1347 error = SOCKERRNO; in cf_tcp_connect()
1539 int sockerr = SOCKERRNO; in cf_socket_send()
[all …]
H A Dcurl_setup_once.h301 #define SOCKERRNO ((int)WSAGetLastError()) macro
304 #define SOCKERRNO (errno) macro
H A Dtftp.c531 failf(data, "%s", Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tftp_send_first()
615 failf(data, "%s", Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tftp_rx()
640 failf(data, "%s", Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tftp_rx()
666 failf(data, "%s", Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tftp_rx()
743 failf(data, "%s", Curl_strerror(SOCKERRNO, in tftp_tx()
788 failf(data, "%s", Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tftp_tx()
814 failf(data, "%s", Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tftp_tx()
1036 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in tftp_connect()
1246 int error = SOCKERRNO; in tftp_multi_statemach()
H A Dasyn-thread.c316 tsd->sock_error = SOCKERRNO ? SOCKERRNO : rc; in getaddrinfo_thread()
342 tsd->sock_error = SOCKERRNO; in getaddrinfo_thread()
372 tsd->sock_error = SOCKERRNO; in gethostbyname_thread()
H A Dtelnet.c318 int err = SOCKERRNO; in send_negotiation()
948 err = SOCKERRNO; in suboption()
960 err = SOCKERRNO; in suboption()
992 err = SOCKERRNO; in suboption()
1046 err = SOCKERRNO; in sendsuboption()
1055 err = SOCKERRNO; in sendsuboption()
1346 failf(data, "WSACreateEvent failed (%d)", SOCKERRNO); in telnet_do()
1456 err = SOCKERRNO; in telnet_do()
1516 infof(data, "WSACloseEvent failed (%d)", SOCKERRNO); in telnet_do()
H A Dhostip4.c258 h_errnop = SOCKERRNO; /* we do not deal with this, but set it anyway */ in Curl_ipv4_resolve_r()
H A Dselect.c99 if((r == -1) && (SOCKERRNO == EINTR)) in Curl_wait_ms()
315 if((r == -1) && (SOCKERRNO == EINTR)) in Curl_poll()
363 if((r == -1) && (SOCKERRNO == EINTR)) in Curl_poll()
H A Damigaos.c187 if((r == -1) && (SOCKERRNO == EINTR)) in Curl_amiga_select()
H A Dsocketpair.c219 int sockerr = SOCKERRNO; in Curl_socketpair()
H A Dpingpong.c317 failf(data, "response reading failed (errno: %d)", SOCKERRNO); in Curl_pp_readresp()
H A Dftp.c689 SOCKERRNO); in Curl_GetFTPResponse()
985 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in ftp_state_use_port()
1026 error = SOCKERRNO; in ftp_state_use_port()
1054 error = SOCKERRNO; in ftp_state_use_port()
1065 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in ftp_state_use_port()
1095 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in ftp_state_use_port()
1105 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in ftp_state_use_port()
/curl/tests/server/
H A Dsws.c1189 if((EWOULDBLOCK == SOCKERRNO) || (EAGAIN == SOCKERRNO)) { in send_doc()
1316 error = SOCKERRNO; in connect_to()
1336 error = SOCKERRNO; in connect_to()
1383 error = SOCKERRNO; in connect_to()
1430 error = SOCKERRNO; in connect_to()
1912 error = SOCKERRNO; in accept_connection()
1923 error = SOCKERRNO; in accept_connection()
1932 error = SOCKERRNO; in accept_connection()
2237 error = SOCKERRNO; in main()
2245 error = SOCKERRNO; in main()
[all …]
H A Dmqttd.c769 } while((rc == -1) && ((error = SOCKERRNO) == EINTR)); in incoming()
780 error = SOCKERRNO; in incoming()
819 error = SOCKERRNO; in sockdaemon()
869 error = SOCKERRNO; in sockdaemon()
891 error = SOCKERRNO; in sockdaemon()
923 error = SOCKERRNO; in sockdaemon()
1051 error = SOCKERRNO; in main()
H A Dsocksd.c302 int error = SOCKERRNO; in socksconnect()
776 error = SOCKERRNO; in incoming()
847 error = SOCKERRNO; in sockdaemon()
904 error = SOCKERRNO; in sockdaemon()
934 error = SOCKERRNO; in sockdaemon()
966 error = SOCKERRNO; in sockdaemon()
1114 error = SOCKERRNO; in main()
H A Dutil.c153 int err = SOCKERRNO; in win32_perror()
855 if(0 != rc && SOCKERRNO == EADDRINUSE) { in bind_unix_socket()
861 unix_socket, SOCKERRNO, sstrerror(SOCKERRNO)); in bind_unix_socket()
866 error = SOCKERRNO; in bind_unix_socket()
H A Drtspd.c714 error = SOCKERRNO; in get_request()
1167 error = SOCKERRNO; in main()
1175 error = SOCKERRNO; in main()
1200 error = SOCKERRNO; in main()
1221 error = SOCKERRNO; in main()
1254 error = SOCKERRNO; in main()
1281 error = SOCKERRNO; in main()
H A Dsockfilt.c1196 error = SOCKERRNO; in juggle()
1260 error = SOCKERRNO; in sockdaemon()
1312 error = SOCKERRNO; in sockdaemon()
1334 error = SOCKERRNO; in sockdaemon()
1372 error = SOCKERRNO; in sockdaemon()
1520 error = SOCKERRNO; in main()
1555 error = SOCKERRNO; in main()
H A Dtftpd.c662 error = SOCKERRNO; in main()
671 error = SOCKERRNO; in main()
697 error = SOCKERRNO; in main()
719 error = SOCKERRNO; in main()
/curl/tests/libtest/
H A Dtest.h421 ec = SOCKERRNO; \
/curl/lib/vtls/
H A Dwolfssl.c1595 SOCKERRNO); in wolfssl_send()
1784 SOCKERRNO); in wolfssl_recv()
1896 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in wolfssl_connect_common()
H A Dopenssl.c1981 SOCKERRNO); in ossl_shutdown()
4262 int sockerr = SOCKERRNO;
4806 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO);
4926 int sockerr = SOCKERRNO;
4961 SSL_ERROR_to_str(err), SOCKERRNO);
5032 int sockerr = SOCKERRNO;
5056 int sockerr = SOCKERRNO;
H A Drustls.c889 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in cr_connect_common()
H A Dschannel.c1700 failf(data, "select/poll on SSL/TLS socket, errno: %d", SOCKERRNO); in schannel_connect_common()
1866 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in schannel_send()
H A Dbearssl.c962 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in bearssl_connect_common()

Completed in 116 milliseconds

12