Home
last modified time | relevance | path

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

1234

/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Dwebsocket_unittest.py47 ws.sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR), 0)
57 ws.sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR), 0)
Dwebsocket.py22 sockopt.append((socket.SOL_SOCKET, socket.SO_REUSEADDR, 1))
/external/autotest/client/cros/netprotos/
Dinterface_host.py123 self._recv_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
134 self._send_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/external/dnsmasq/src/
Dnetwork.c304 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_ipv6_listener()
305 setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_ipv6_listener()
355 if (setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
362 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
437 setsockopt(new->fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener()
438 setsockopt(new->tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener()
489 setsockopt(new->tftpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener()
622 setsockopt(new->fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners()
623 setsockopt(new->tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners()
673 setsockopt(new->tftpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners()
/external/strace/xlat/
Dsockoptions.h14 #if defined(SO_REUSEADDR) || (defined(HAVE_DECL_SO_REUSEADDR) && HAVE_DECL_SO_REUSEADDR)
15 XLAT(SO_REUSEADDR),
Dsockoptions.in2 SO_REUSEADDR
/external/kernel-headers/original/uapi/asm-generic/
Dsocket.h10 #define SO_REUSEADDR 2 macro
/external/kernel-headers/original/uapi/asm-mips/asm/
Dsocket.h22 #define SO_REUSEADDR 0x0004 /* Allow reuse of local addresses. */ macro
/external/valgrind/none/tests/
Dfdleak_ipv4.c23 (void) DO( setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(int)) ); in server()
/external/parameter-framework/asio-1.10.6/include/asio/
Dsocket_base.hpp316 ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_REUSEADDR)>
/external/nanopb-c/examples/network_server/
Dserver.c95 setsockopt(listenfd, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(reuse)); in main()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_types.hpp119 # define ASIO_OS_DEF_SO_REUSEADDR SO_REUSEADDR
/external/jetty/src/resources/org/eclipse/jetty/server/jmx/
DAbstractConnector-mbean.properties12 reuseAddress: Whether the server socket will be opened in SO_REUSEADDR mode.
/external/chromium-trace/catapult/devil/devil/android/
Dports.py97 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dutil.py112 self._temp_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/external/autotest/site_utils/rpm_control_system/
Drpm_dispatcher.py228 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/external/xmlrpcpp/src/
DXmlRpcSocket.cpp105 return (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const char *)&sflag, sizeof(sflag)) == 0); in setReuseAddr()
/external/libvncserver/libvncserver/
Dsockets.c869 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in rfbListenOnTCPPort()
929 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *)&one, sizeof(one)) < 0) { in rfbListenOnTCP6Port()
1051 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in rfbListenOnUDPPort()
/external/toybox/toys/other/
Dnetcat.c117 setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &temp, sizeof(temp)); in netcat_main()
/external/libvncserver/libvncclient/
Dsockets.c528 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in ListenAtTcpPortAndAddress()
577 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *)&one, sizeof(one)) < 0) { in ListenAtTcpPortAndAddress()
/external/autotest/client/site_tests/platform_TLSDateActual/
Dplatform_TLSDateActual.py95 transformer.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/external/android-clat/
Dclatd_microbenchmark.c169 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) == -1) die("SO_REUSEADDR"); in open_socket()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c1171 #if defined(SO_REUSEADDR) in SetupSockets()
1172 err = setsockopt(self->tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1185 #if defined(SO_REUSEADDR) in SetupSockets()
1186 err = setsockopt(self->udpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1210 #if defined(SO_REUSEADDR) in SetupSockets()
1211 err = setsockopt(self->llq_tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1224 #if defined(SO_REUSEADDR) in SetupSockets()
1225 err = setsockopt(self->llq_udpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1253 #if defined(SO_REUSEADDR) in SetupSockets()
1254 err = setsockopt(self->tlssd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
/external/webrtc/webrtc/examples/peerconnection/server/
Ddata_socket.cc269 setsockopt(socket_, SOL_SOCKET, SO_REUSEADDR, in Listen()
/external/valgrind/auxprogs/
Dvalgrind-listener.c306 if (setsockopt(main_sd, SOL_SOCKET, SO_REUSEADDR, in main()

1234