Home
last modified time | relevance | path

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

123

/external/dnsmasq/src/
Dnetwork.c291 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_ipv6_listener()
292 setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_ipv6_listener()
341 if (setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
348 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
422 setsockopt(new->fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener()
423 setsockopt(new->tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener()
472 setsockopt(new->tftpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listener()
560 setsockopt(new->fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners()
561 setsockopt(new->tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners()
611 setsockopt(new->tftpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || in create_bound_listeners()
/external/kernel-headers/original/asm-arm/
Dsocket.h10 #define SO_REUSEADDR 2 macro
/external/kernel-headers/original/asm-generic/
Dsocket.h10 #define SO_REUSEADDR 2 macro
/external/kernel-headers/original/asm-mips/
Dsocket.h22 #define SO_REUSEADDR 0x0004 /* Allow reuse of local addresses. */ macro
/external/valgrind/main/none/tests/
Dfdleak_ipv4.c23 DO( setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(int)) ); in server()
/external/chromium_org/chrome/test/pyautolib/
Dremote_host.py27 listening_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/external/chromium_org/net/socket/
Dtcp_listen_socket.cc56 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in CreateAndBind()
/external/qemu/
Dqemu-sockets.c183 setsockopt(slisten,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on)); in inet_listen_opts()
287 setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on)); in inet_connect_opts()
380 setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on)); in inet_dgram_opts()
Dmigration-tcp.c195 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (const char *)&val, sizeof(val)); in tcp_start_incoming_migration()
/external/v8/src/
Dplatform-posix.cc365 int ret = setsockopt(socket_, SOL_SOCKET, SO_REUSEADDR, in POSIXSocket()
489 int status = setsockopt(socket_, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)); in SetReuseAddress()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dmount_node_socket.cc236 case SO_REUSEADDR: in GetSockOpt()
278 case SO_REUSEADDR: { in SetSockOpt()
/external/libppp/src/
Dserver.c268 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &s, sizeof s); in server_LocalOpen()
356 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &s, sizeof s); in server_TcpOpen()
/external/openssl/apps/
Ds_socket.c352 #if defined SOL_SOCKET && defined SO_REUSEADDR in init_server_long()
355 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, in init_server_long()
/external/chromium_org/third_party/openssl/openssl/apps/
Ds_socket.c352 #if defined SOL_SOCKET && defined SO_REUSEADDR in init_server_long()
355 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, in init_server_long()
/external/chromium_org/v8/src/platform/
Dsocket.cc205 int result = ::setsockopt(native_handle_, SOL_SOCKET, SO_REUSEADDR, in SetReuseAddress()
/external/chromium_org/third_party/openssl/openssl/crypto/bio/
Db_sock.c748 #ifdef SO_REUSEADDR in BIO_get_accept_socket()
753 ret=setsockopt(s,SOL_SOCKET,SO_REUSEADDR,(char *)&i,sizeof(i)); in BIO_get_accept_socket()
759 #ifdef SO_REUSEADDR in BIO_get_accept_socket()
/external/openssl/crypto/bio/
Db_sock.c748 #ifdef SO_REUSEADDR in BIO_get_accept_socket()
753 ret=setsockopt(s,SOL_SOCKET,SO_REUSEADDR,(char *)&i,sizeof(i)); in BIO_get_accept_socket()
759 #ifdef SO_REUSEADDR in BIO_get_accept_socket()
/external/chromium_org/tools/measure_page_load_time/ie_bho/
DMeasurePageLoadTimeBHO.cpp111 if (setsockopt(m_sockListen, SOL_SOCKET, SO_REUSEADDR, in ProcessPageTimeRequests()
/external/chromium_org/net/tools/flip_server/
Dcreate_listener.cc148 SO_REUSEADDR, in CreateListeningSocket()
/external/chromium/net/tools/flip_server/
Dcreate_listener.cc154 rc = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in CreateListeningSocket()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/
Dhttp_server_base.py205 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
/external/valgrind/main/auxprogs/
Dvalgrind-listener.c275 if (setsockopt(main_sd, SOL_SOCKET, SO_REUSEADDR, in main()
/external/chromium/net/base/
Dlisten_socket.cc113 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in Listen()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h81 #define SO_REUSEADDR 0x0004 /* allow local address reuse */ macro
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
Ddata_socket.cc286 setsockopt(socket_, SOL_SOCKET, SO_REUSEADDR, in Listen()

123