/curl/lib/vquic/ |
H A D | vquic.c | 160 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 D | cf-socket.c | 187 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 D | curl_setup_once.h | 301 #define SOCKERRNO ((int)WSAGetLastError()) macro 304 #define SOCKERRNO (errno) macro
|
H A D | tftp.c | 531 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 D | asyn-thread.c | 316 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 D | telnet.c | 318 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 D | hostip4.c | 258 h_errnop = SOCKERRNO; /* we do not deal with this, but set it anyway */ in Curl_ipv4_resolve_r()
|
H A D | select.c | 99 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 D | amigaos.c | 187 if((r == -1) && (SOCKERRNO == EINTR)) in Curl_amiga_select()
|
H A D | socketpair.c | 219 int sockerr = SOCKERRNO; in Curl_socketpair()
|
H A D | pingpong.c | 317 failf(data, "response reading failed (errno: %d)", SOCKERRNO); in Curl_pp_readresp()
|
H A D | ftp.c | 689 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 D | sws.c | 1189 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 D | mqttd.c | 769 } 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 D | socksd.c | 302 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 D | util.c | 153 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 D | rtspd.c | 714 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 D | sockfilt.c | 1196 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 D | tftpd.c | 662 error = SOCKERRNO; in main() 671 error = SOCKERRNO; in main() 697 error = SOCKERRNO; in main() 719 error = SOCKERRNO; in main()
|
/curl/tests/libtest/ |
H A D | test.h | 421 ec = SOCKERRNO; \
|
/curl/lib/vtls/ |
H A D | wolfssl.c | 1595 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 D | openssl.c | 1981 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 D | rustls.c | 889 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in cr_connect_common()
|
H A D | schannel.c | 1700 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 D | bearssl.c | 962 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in bearssl_connect_common()
|