/external/autotest/client/cros/netprotos/ |
D | interface_host.py | 123 self._recv_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 134 self._send_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
/external/strace/xlat/ |
D | sock_options.h | 14 #if defined(SO_REUSEADDR) || (defined(HAVE_DECL_SO_REUSEADDR) && HAVE_DECL_SO_REUSEADDR) 16 static_assert((SO_REUSEADDR) == (4), "SO_REUSEADDR != 4"); 19 # define SO_REUSEADDR 4 22 #if defined(SO_REUSEADDR) || (defined(HAVE_DECL_SO_REUSEADDR) && HAVE_DECL_SO_REUSEADDR) 24 static_assert((SO_REUSEADDR) == (2), "SO_REUSEADDR != 2"); 27 # define SO_REUSEADDR 2 1438 XLAT(SO_REUSEADDR), 1440 XLAT(SO_REUSEADDR),
|
/external/dnsmasq/src/ |
D | network.c | 254 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_ipv6_listener() 255 setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_ipv6_listener() 296 if (setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 302 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || !fix_fd(fd) || in create_wildcard_listeners() 368 setsockopt(new->fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener() 369 setsockopt(new->tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener() 525 setsockopt(new->fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners() 526 setsockopt(new->tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners()
|
/external/honggfuzz/examples/bind/ |
D | bind-9.13.5-W1.patch | 62 + if (setsockopt(myfd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)) == -1) { 63 + perror("setsockopt(SO_REUSEADDR)"); 162 + if (setsockopt(myfd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)) == -1) { 163 + perror("setsockopt(SO_REUSEADDR)");
|
D | bind-9.13.2.patch | 108 + if (setsockopt(myfd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)) == -1) { 109 + perror("setsockopt(SO_REUSEADDR)"); 206 + if (setsockopt(myfd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)) == -1) { 207 + perror("setsockopt(SO_REUSEADDR)");
|
/external/u-boot/tools/ |
D | ncb.c | 21 setsockopt (3, SOL_SOCKET, SO_REUSEADDR, &o, len); in main()
|
/external/oj-libjdwp/src/solaris/transport/socket/ |
D | socket_md.c | 218 } else if (cmd == SO_REUSEADDR) { in dbgsysSetSocketOption() 220 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, in dbgsysSetSocketOption()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | socket.h | 11 #define SO_REUSEADDR 2 macro
|
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.c | 116 #ifdef SO_REUSEADDR in main_thread() 118 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *) &i, sizeof i); in main_thread()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | socket.h | 23 #define SO_REUSEADDR 0x0004 /* Allow reuse of local addresses. */ macro
|
/external/syzkaller/sys/netbsd/ |
D | socket_amd64.const | 73 SO_REUSEADDR = 4
|
/external/grpc-grpc/src/php/tests/interop/ |
D | stress_client.php | 29 socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1);
|
/external/syzkaller/sys/freebsd/ |
D | socket_amd64.const | 91 SO_REUSEADDR = 4
|
/external/python/cpython2/Lib/plat-os2emx/ |
D | SOCKET.py | 16 SO_REUSEADDR = 0x0004 variable
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_common_posix.cc | 149 if (0 != setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val))) { in grpc_set_socket_reuse_addr() 152 if (0 != getsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &newval, &intlen)) { in grpc_set_socket_reuse_addr()
|
/external/tensorflow/tensorflow/core/platform/posix/ |
D | net.cc | 52 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) < 0) { in IsPortAvailable()
|
/external/python/cpython3/Tools/demo/ |
D | mcast.py | 60 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | reuseaddr_conflict.c | 62 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, in open_port()
|
/external/python/cpython2/Demo/sockets/ |
D | mcast.py | 58 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _reconnect_test.py | 41 return socket.SO_REUSEADDR
|
/external/ltp/testcases/network/multicast/mc_commo/ |
D | mc_recv.c | 69 if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) < 0) { in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/ |
D | server.cpp | 71 if (setsockopt(sockfd,SOL_SOCKET,SO_REUSEADDR,&yes,sizeof(int)) == -1) { in main()
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | socket_base.hpp | 316 ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_REUSEADDR)>
|
/external/grpc-grpc/third_party/nanopb/examples/network_server/ |
D | server.c | 119 setsockopt(listenfd, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(reuse)); in main()
|
/external/tensorflow/tensorflow/core/platform/windows/ |
D | net.cc | 54 int result = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in IsPortAvailable()
|