Home
last modified time | relevance | path

Searched refs:SO_REUSEADDR (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/musl/libc-test/src/functionalext/supplement/network/
Daccept4.c46 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in ServerTaskOne()
87 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in ServerTaskTwo()
128 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in ServerTaskThree()
169 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in ServerTaskFive()
209 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in ServerTaskSix()
Dsend.c44 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in SampleServerTask()
102 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in SampleServerNullTask()
Dgetpeername.c51 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in SampleServerTask()
Drecv.c58 rets = setsockopt(sListen, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in SampleServerTask()
/third_party/rust/crates/rustix/src/backend/libc/
Dwinsock_c.rs21 pub(crate) const SO_REUSEADDR: i32 = WinSock::SO_REUSEADDR as _; constant
/third_party/pulseaudio/src/pulsecore/
Dsocket-server.c315 #ifdef SO_REUSEADDR in pa_socket_server_new_ipv4()
316 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const void *) &on, sizeof(on)) < 0) in pa_socket_server_new_ipv4()
402 #ifdef SO_REUSEADDR in pa_socket_server_new_ipv6()
404 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const void *) &on, sizeof(on)) < 0) in pa_socket_server_new_ipv6()
Dohos_socket-server.c335 #ifdef SO_REUSEADDR in pa_socket_server_new_ipv4()
336 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const void *) &on, sizeof(on)) < 0) in pa_socket_server_new_ipv4()
422 #ifdef SO_REUSEADDR in pa_socket_server_new_ipv6()
424 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const void *) &on, sizeof(on)) < 0) in pa_socket_server_new_ipv6()
/third_party/musl/arch/powerpc/bits/
Dsocket.h2 #define SO_REUSEADDR 2 macro
/third_party/musl/arch/powerpc64/bits/
Dsocket.h2 #define SO_REUSEADDR 2 macro
/third_party/musl/arch/mips/bits/
Dsocket.h8 #define SO_REUSEADDR 0x0004 macro
/third_party/musl/arch/mipsn32/bits/
Dsocket.h8 #define SO_REUSEADDR 0x0004 macro
/third_party/musl/arch/mips64/bits/
Dsocket.h6 #define SO_REUSEADDR 0x0004 macro
/third_party/lame/frontend/
Drtp.c117 iRet = setsockopt(iSocket, SOL_SOCKET, SO_REUSEADDR, &iLoop, sizeof(int)); in rtp_socket()
269 error = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &True, sizeof(True)); in rtp_socket()
/third_party/libcoap/src/
Dcoap_tcp.c110 …if (setsockopt(sock->fd, SOL_SOCKET, SO_REUSEADDR, OPTVAL_T(&on), sizeof(on)) == COAP_SOCKET_ERROR)
238 if (setsockopt(sock->fd, SOL_SOCKET, SO_REUSEADDR, OPTVAL_T(&on),
/third_party/cups/
Dcups-freebind.patch6 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, CUPS_SOCAST &val, sizeof(val));
/third_party/python/Tools/demo/
Dmcast.py60 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dc.rs27 SO_PASSCRED, SO_RCVTIMEO_NEW, SO_RCVTIMEO_OLD, SO_REUSEADDR, SO_SNDTIMEO_NEW, SO_SNDTIMEO_OLD,
/third_party/ltp/testcases/network/multicast/mc_commo/
Dmc_recv.c69 if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) < 0) { in main()
/third_party/lwip/
D0017-support-REUSEPOR-option.patch18 case SO_REUSEADDR:
/third_party/ltp/testcases/kernel/syscalls/accept/
Daccept02.c53 SAFE_SETSOCKOPT(server_sockfd, SOL_SOCKET, SO_REUSEADDR, &op, op_len); in server_thread()
/third_party/curl/lib/
Dsocketpair.c99 if(setsockopt(listener, SOL_SOCKET, SO_REUSEADDR, in Curl_socketpair()
/third_party/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c60 SAFE_SETSOCKOPT(lfd, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)); in create_listening_socket()
/third_party/musl/libc-test/src/api/
Dsys_socket.c72 C(SO_REUSEADDR) in f()
/third_party/python/Lib/test/
Dmock_socket.py163 SO_REUSEADDR = None variable
/third_party/openssl/crypto/bio/
Dbio_sock2.c165 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in BIO_bind()

1234567