/curl/lib/ |
H A D | nonblock.c | 88 return setsockopt(sockfd, SOL_SOCKET, SO_NONBLOCK, &b, sizeof(b)); in curlx_nonblock()
|
H A D | cf-socket.c | 116 if(setsockopt(sockfd, level, TCP_NODELAY, (void *)&onoff, in tcpnodelay() 183 if(setsockopt(sockfd, SOL_SOCKET, SO_KEEPALIVE, in tcpkeepalive() 195 if(setsockopt(sockfd, IPPROTO_TCP, TCP_KEEPIDLE, in tcpkeepalive() 203 if(setsockopt(sockfd, IPPROTO_TCP, TCP_KEEPINTVL, in tcpkeepalive() 210 if(setsockopt(sockfd, IPPROTO_TCP, TCP_KEEPCNT, in tcpkeepalive() 236 if(setsockopt(sockfd, IPPROTO_TCP, TCP_KEEPIDLE, in tcpkeepalive() 246 if(setsockopt(sockfd, IPPROTO_TCP, TCP_KEEPALIVE, in tcpkeepalive() 266 if(setsockopt(sockfd, IPPROTO_TCP, TCP_KEEPINTVL, in tcpkeepalive() 295 if(setsockopt(sockfd, IPPROTO_TCP, TCP_KEEPCNT, in tcpkeepalive() 625 if(setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE, in bindlocal() [all …]
|
H A D | curl_rtmp.c | 45 #define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e) macro 251 setsockopt(r->m_sb.sb_socket, SOL_SOCKET, SO_RCVTIMEO, in rtmp_connect()
|
H A D | socketpair.c | 163 if(setsockopt(listener, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, in Curl_socketpair() 169 if(setsockopt(listener, SOL_SOCKET, SO_REUSEADDR, in Curl_socketpair()
|
H A D | curl_config.h.cmake | 490 /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
|
/curl/tests/libtest/ |
H A D | lib1522.c | 42 setsockopt(curlfd, SOL_SOCKET, SO_SNDBUF, in sockopt_callback()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_SOCKOPTDATA.md | 45 setsockopt((int)curlfd, SOL_SOCKET, SO_RCVBUF,
|
H A D | CURLOPT_SOCKOPTFUNCTION.md | 59 additional setsockopt() calls can be done at the user's discretion.
|
H A D | CURLOPT_OPENSOCKETFUNCTION.md | 62 additional *setsockopt(2)* calls can of course be done on the socket at
|
/curl/CMake/ |
H A D | CurlTests.c | 300 if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) in main()
|
/curl/tests/server/ |
H A D | tftpd.c | 670 if(0 != setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in main() 990 setsockopt(peer, SOL_SOCKET, SO_RCVTIMEO, in do_tftp() 1001 setsockopt(peer, SOL_SOCKET, SO_RCVTIMEO, in do_tftp()
|
H A D | sws.c | 1318 if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY, in connect_to() 1580 if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, in http_connect() 1878 if(0 != setsockopt(msgsock, SOL_SOCKET, SO_KEEPALIVE, in accept_connection() 1908 if(0 != setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in accept_connection() 2191 if(0 != setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in main()
|
H A D | rtspd.c | 1173 if(0 != setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in main() 1304 if(setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in main()
|
H A D | mqttd.c | 807 rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in sockdaemon()
|
H A D | socksd.c | 821 rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in sockdaemon()
|
H A D | sockfilt.c | 1227 rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in sockdaemon()
|
/curl/.github/scripts/ |
H A D | spellcheck.words | 738 setsockopt
|
/curl/src/ |
H A D | tool_operate.c | 200 result = setsockopt(curlfd, SOL_IP, IP_TOS, (void *)&tos, sizeof(tos)); in sockopt_callback() 205 result = setsockopt(curlfd, IPPROTO_IPV6, IPV6_TCLASS, in sockopt_callback() 221 if(setsockopt(curlfd, SOL_SOCKET, SO_PRIORITY, in sockopt_callback()
|
/curl/m4/ |
H A D | curl-confopts.m4 | 439 tst_method="setsockopt SO_NONBLOCK"
|