Home
last modified time | relevance | path

Searched refs:setsockopt (Results 1 – 19 of 19) sorted by relevance

/curl/lib/
H A Dnonblock.c88 return setsockopt(sockfd, SOL_SOCKET, SO_NONBLOCK, &b, sizeof(b)); in curlx_nonblock()
H A Dcf-socket.c116 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 Dcurl_rtmp.c45 #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 Dsocketpair.c163 if(setsockopt(listener, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, in Curl_socketpair()
169 if(setsockopt(listener, SOL_SOCKET, SO_REUSEADDR, in Curl_socketpair()
H A Dcurl_config.h.cmake490 /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
/curl/tests/libtest/
H A Dlib1522.c42 setsockopt(curlfd, SOL_SOCKET, SO_SNDBUF, in sockopt_callback()
/curl/docs/libcurl/opts/
H A DCURLOPT_SOCKOPTDATA.md45 setsockopt((int)curlfd, SOL_SOCKET, SO_RCVBUF,
H A DCURLOPT_SOCKOPTFUNCTION.md59 additional setsockopt() calls can be done at the user's discretion.
H A DCURLOPT_OPENSOCKETFUNCTION.md62 additional *setsockopt(2)* calls can of course be done on the socket at
/curl/CMake/
H A DCurlTests.c300 if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) in main()
/curl/tests/server/
H A Dtftpd.c670 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 Dsws.c1318 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 Drtspd.c1173 if(0 != setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in main()
1304 if(setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in main()
H A Dmqttd.c807 rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in sockdaemon()
H A Dsocksd.c821 rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in sockdaemon()
H A Dsockfilt.c1227 rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in sockdaemon()
/curl/.github/scripts/
H A Dspellcheck.words738 setsockopt
/curl/src/
H A Dtool_operate.c200 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 Dcurl-confopts.m4439 tst_method="setsockopt SO_NONBLOCK"

Completed in 50 milliseconds