Home
last modified time | relevance | path

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

12345678910

/external/strace/tests/
Dip_mreq.expected1 setsockopt\(0, SOL_IP, IP_ADD_MEMBERSHIP, "\\340", 1\) = -1 EINVAL .*
2 setsockopt\(0, SOL_IP, IP_DROP_MEMBERSHIP, "\\340", 1\) = -1 EINVAL .*
3 setsockopt\(0, SOL_IP, IP_ADD_MEMBERSHIP, \{imr_multiaddr=inet_addr\("224\.0\.0\.3"\), imr_interfac…
4 setsockopt\(0, SOL_IP, IP_DROP_MEMBERSHIP, \{imr_multiaddr=inet_addr\("224\.0\.0\.3"\), imr_interfa…
5 setsockopt\(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, "\\377", 1\) = -1 ENOPROTOOPT .*
6 setsockopt\(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, "\\377", 1\) = -1 ENOPROTOOPT .*
7 setsockopt\(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_int…
8 setsockopt\(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_in…
9 setsockopt\(0, SOL_IPV6, IPV6_JOIN_ANYCAST, "\\377", 1\) = -1 ENOPROTOOPT .*
10 setsockopt\(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, "\\377", 1\) = -1 ENOPROTOOPT .*
[all …]
Dip_mreq.c53 assert(setsockopt(0, SOL_IP, IP_ADD_MEMBERSHIP, &m4, 1) == -1); in main()
54 assert(setsockopt(0, SOL_IP, IP_DROP_MEMBERSHIP, &m4, 1) == -1); in main()
55 if (setsockopt(0, SOL_IP, IP_ADD_MEMBERSHIP, &m4, sizeof(m4)) || in main()
56 setsockopt(0, SOL_IP, IP_DROP_MEMBERSHIP, &m4, sizeof(m4))) in main()
59 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, 1) == -1); in main()
60 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, 1) == -1); in main()
61 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, sizeof(m6)) == -1); in main()
62 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, sizeof(m6)) == -1); in main()
64 assert(setsockopt(0, SOL_IPV6, IPV6_JOIN_ANYCAST, &m6, 1) == -1); in main()
65 assert(setsockopt(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, &m6, 1) == -1); in main()
[all …]
/external/avahi/avahi-core/
Dsocket.c133 setsockopt(fd, IPPROTO_IP, IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq)); in avahi_mdns_mcast_join_ipv4()
135 …if (setsockopt(fd, IPPROTO_IP, join ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq))… in avahi_mdns_mcast_join_ipv4()
157 setsockopt(fd, IPPROTO_IPV6, IPV6_DROP_MEMBERSHIP, &mreq6, sizeof(mreq6)); in avahi_mdns_mcast_join_ipv6()
159 …if (setsockopt(fd, IPPROTO_IPV6, join ? IPV6_ADD_MEMBERSHIP : IPV6_DROP_MEMBERSHIP, &mreq6, sizeof… in avahi_mdns_mcast_join_ipv6()
171 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) < 0) { in reuseaddr()
178 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes)) < 0) { in reuseaddr()
229 if (setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
237 if (setsockopt (fd, IPPROTO_IP, IP_RECVINTERFACE, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
243 if (setsockopt (fd, IPPROTO_IP, IP_RECVIF, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
251 if (setsockopt (fd, IPPROTO_IP, IP_RECVDSTADDR, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
[all …]
/external/iputils/
Dtracepath6.c480 if (setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)) && in main()
482 setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)))) { in main()
487 if (setsockopt(fd, SOL_IPV6, IPV6_RECVERR, &on, sizeof(on))) { in main()
493 setsockopt(fd, SOL_IPV6, IPV6_HOPLIMIT, &on, sizeof(on)) && in main()
494 setsockopt(fd, SOL_IPV6, IPV6_2292HOPLIMIT, &on, sizeof(on)) in main()
496 setsockopt(fd, SOL_IPV6, IPV6_HOPLIMIT, &on, sizeof(on)) in main()
514 if (setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &on, sizeof(on))) { in main()
519 if (setsockopt(fd, SOL_IP, IP_RECVERR, &on, sizeof(on))) { in main()
523 if (setsockopt(fd, SOL_IP, IP_RECVTTL, &on, sizeof(on))) { in main()
542 if (setsockopt(fd, SOL_IPV6, IPV6_UNICAST_HOPS, &on, sizeof(on))) { in main()
[all …]
Dtraceroute6.c500 setsockopt(icmp_sock, SOL_IPV6, IPV6_RECVPKTINFO, &on, sizeof(on)); in main()
501 setsockopt(icmp_sock, SOL_IPV6, IPV6_2292PKTINFO, &on, sizeof(on)); in main()
503 setsockopt(icmp_sock, SOL_IPV6, IPV6_PKTINFO, &on, sizeof(on)); in main()
507 setsockopt(icmp_sock, SOL_SOCKET, SO_DEBUG, in main()
510 setsockopt(icmp_sock, SOL_SOCKET, SO_DONTROUTE, in main()
515 if (setsockopt(icmp_sock, SOL_RAW, IPV6_CHECKSUM, &on, sizeof(on)) < 0) { in main()
528 if (setsockopt(sndsock, SOL_SOCKET, SO_SNDBUF, (char *)&datalen, in main()
536 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
539 (void) setsockopt(sndsock, SOL_SOCKET, SO_DONTROUTE, in main()
551 if (setsockopt(probe_fd, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device)+1) == -1) in main()
[all …]
Dping.c163 (setsockopt(icmp_sock, IPPROTO_IP, IP_TOS, in main()
333 rc = setsockopt(probe_fd, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device)+1); in main()
345 if (setsockopt(probe_fd, SOL_IP, IP_MULTICAST_IF, &imr, sizeof(imr)) == -1) { in main()
357 setsockopt(probe_fd, IPPROTO_IP, IP_TOS, (char *)&settos, sizeof(int)) < 0) in main()
373 if (setsockopt(probe_fd, SOL_SOCKET, SO_BROADCAST, in main()
458 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
478 if (setsockopt(icmp_sock, SOL_RAW, ICMP_FILTER, (char*)&filt, sizeof(filt)) == -1) in main()
483 if (setsockopt(icmp_sock, SOL_IP, IP_RECVERR, (char *)&hold, sizeof(hold))) in main()
486 if (setsockopt(icmp_sock, SOL_IP, IP_RECVTTL, (char *)&hold, sizeof(hold))) in main()
488 if (setsockopt(icmp_sock, SOL_IP, IP_RETOPTS, (char *)&hold, sizeof(hold))) in main()
[all …]
Dping6.c982 setsockopt(probe_fd, IPPROTO_IPV6, IPV6_PKTINFO, &ipi, sizeof(ipi)) == -1 && in main()
984 setsockopt(probe_fd, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device)+1) == -1) { in main()
1073 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
1097 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_RECVERR, (char *)&hold, sizeof(hold))) { in main()
1113 err = setsockopt(icmp_sock, SOL_RAW, IPV6_CHECKSUM, in main()
1142 err = setsockopt(icmp_sock, IPPROTO_ICMPV6, ICMP6_FILTER, in main()
1153 if (setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, in main()
1160 if (setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, in main()
1165 if (setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, in main()
1176 setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, in main()
[all …]
Dtracepath.c395 if (setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &on, sizeof(on)) && in main()
397 setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &on, sizeof(on)))) { in main()
402 if (setsockopt(fd, SOL_IP, IP_RECVERR, &on, sizeof(on))) { in main()
406 if (setsockopt(fd, SOL_IP, IP_RECVTTL, &on, sizeof(on))) { in main()
422 if (setsockopt(fd, SOL_IP, IP_TTL, &on, sizeof(on))) { in main()
Dping_common.c596 setsockopt(icmp_sock, SOL_SOCKET, SO_SNDBUF, (char *)&sndbuf, sizeof(sndbuf)); in sock_setbufs()
601 setsockopt(icmp_sock, SOL_SOCKET, SO_RCVBUF, (char *)&hold, sizeof(hold)); in sock_setbufs()
614 ret = setsockopt(icmp_sock, SOL_SOCKET, SO_MARK, &mark, sizeof(mark)); in sock_setmark()
650 setsockopt(icmp_sock, SOL_SOCKET, SO_DEBUG, (char *)&hold, sizeof(hold)); in setup()
652 setsockopt(icmp_sock, SOL_SOCKET, SO_DONTROUTE, (char *)&hold, sizeof(hold)); in setup()
657 if (setsockopt(icmp_sock, SOL_SOCKET, SO_TIMESTAMP, &on, sizeof(on))) in setup()
674 setsockopt(icmp_sock, SOL_SOCKET, SO_SNDTIMEO, (char*)&tv, sizeof(tv)); in setup()
680 if (setsockopt(icmp_sock, SOL_SOCKET, SO_RCVTIMEO, (char*)&tv, sizeof(tv))) in setup()
/external/toybox/toys/pending/
Dtraceroute.c132 res = setsockopt(TT.snd_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); in send_probe4()
151 if (setsockopt(TT.snd_sock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, in send_probe6()
164 if ((toys.optflags & FLAG_d) && (setsockopt(sock,SOL_SOCKET, SO_DEBUG, in set_flag_dr()
167 if ((toys.optflags & FLAG_r) && (setsockopt(sock, SOL_SOCKET, SO_DONTROUTE, in set_flag_dr()
176 if (setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &ifr, sizeof(ifr))) in bind_to_interface()
515 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_RECVPKTINFO, &set, in traceroute_main()
517 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_2292PKTINFO, &set, in traceroute_main()
520 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_PKTINFO, &set, sizeof(set)); in traceroute_main()
523 if (setsockopt(TT.recv_sock, SOL_RAW, IPV6_CHECKSUM, &two, in traceroute_main()
553 if (setsockopt(TT.snd_sock, IPPROTO_IP, IP_OPTIONS, in traceroute_main()
[all …]
/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()
306 setsockopt(fd, IPV6_LEVEL, IPV6_V6ONLY, &opt, sizeof(opt)) == -1 || in create_ipv6_listener()
307 setsockopt(tcpfd, IPV6_LEVEL, IPV6_V6ONLY, &opt, sizeof(opt)) == -1 || in create_ipv6_listener()
311 setsockopt(fd, IPV6_LEVEL, IPV6_RECVPKTINFO, &opt, sizeof(opt)) == -1 || in create_ipv6_listener()
313 setsockopt(fd, IPV6_LEVEL, IPV6_PKTINFO, &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()
365 setsockopt(fd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
367 setsockopt(fd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
[all …]
/external/libnl/lib/
Dsocket.c306 err = setsockopt(sk->s_fd, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, in nl_socket_add_memberships()
350 err = setsockopt(sk->s_fd, SOL_NETLINK, NETLINK_DROP_MEMBERSHIP, in nl_socket_drop_memberships()
516 err = setsockopt(sk->s_fd, SOL_SOCKET, SO_SNDBUF, in nl_socket_set_buffer_size()
521 err = setsockopt(sk->s_fd, SOL_SOCKET, SO_RCVBUF, in nl_socket_set_buffer_size()
545 err = setsockopt(sk->s_fd, SOL_SOCKET, SO_PASSCRED, in nl_socket_set_passcred()
572 err = setsockopt(sk->s_fd, SOL_NETLINK, NETLINK_PKTINFO, in nl_socket_recv_pktinfo()
/external/autotest/client/cros/netprotos/
Dinterface_host.py123 self._recv_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
124 self._recv_sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP,
134 self._send_sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
135 self._send_sock.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_TTL,
/external/libmicrohttpd/src/microspdy/
Dio_raw.c76 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_NODELAY, &val, (socklen_t)sizeof(val)); in SPDYF_raw_new_session()
168 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_CORK, &val, (socklen_t)sizeof(val)); in SPDYF_raw_before_write()
187 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_CORK, &val, (socklen_t)sizeof(val)); in SPDYF_raw_after_write()
/external/netcat/
Dnetcat.c606 if (setsockopt(s, SOL_SOCKET, SO_RTABLE, &rtableid, in remote_connect()
618 setsockopt(s, SOL_SOCKET, SO_BINDANY, &on, sizeof(on)); in remote_connect()
721 if (setsockopt(s, IPPROTO_IP, SO_RTABLE, &rtableid, in local_listen()
728 ret = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &x, sizeof(x)); in local_listen()
730 ret = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof(x)); in local_listen()
955 if (setsockopt(s, IPPROTO_TCP, TCP_MD5SIG, in set_common_sockopts()
961 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()
967 if (setsockopt(s, SOL_SOCKET, SO_JUMBO, in set_common_sockopts()
972 if (setsockopt(s, IPPROTO_IP, IP_TOS, in set_common_sockopts()
978 if (setsockopt(s, SOL_SOCKET, SO_RCVBUF, in set_common_sockopts()
[all …]
/external/android-clat/
Dring.c40 if (setsockopt(packetsock, SOL_PACKET, PACKET_VERSION, (void *) &ver, sizeof(ver))) { in ring_create()
46 if (setsockopt(packetsock, SOL_PACKET, PACKET_LOSS, (void *) &on, sizeof(on))) { in ring_create()
62 if (setsockopt(packetsock, SOL_PACKET, PACKET_RX_RING, &req, sizeof(req)) < 0) { in ring_create()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c651 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEPORT, &kOn, sizeof(kOn)); in SetupSocket()
653 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSocket()
668 err = setsockopt(*sktPtr, IPPROTO_IP, IP_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
672 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVDSTADDR, &kOn, sizeof(kOn)); in SetupSocket()
678 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVIF, &kOn, sizeof(kOn)); in SetupSocket()
689 setsockopt(*sktPtr, IPPROTO_IP, IP_RECVTTL, &kOn, sizeof(kOn)); in SetupSocket()
699 err = setsockopt(*sktPtr, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imr, sizeof(imr)); in SetupSocket()
706 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_IF, &((struct sockaddr_in*)intfAddr)->sin_addr,… in SetupSocket()
713 err = setsockopt(*sktPtr, IPPROTO_IP, IP_TTL, &kIntTwoFiveFive, sizeof(kIntTwoFiveFive)); in SetupSocket()
721 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_TTL, &kByteTwoFiveFive, sizeof(kByteTwoFiveFive… in SetupSocket()
[all …]
/external/libvncserver/libvncclient/
Dsockets.c348 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in ConnectClientToTcpAddr()
403 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in ConnectClientToTcpAddr6()
528 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in ListenAtTcpPortAndAddress()
569 …if (p->ai_family == AF_INET6 && setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof(o… in ListenAtTcpPortAndAddress()
577 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *)&one, sizeof(one)) < 0) { in ListenAtTcpPortAndAddress()
629 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in AcceptTcpConnection()
700 if(setsockopt(sock, level, cmd, (void*)&dscp, sizeof(dscp)) != 0) {
/external/iproute2/tc/
Dq_atm.c156 if (setsockopt(s,SOL_ATM,SO_ATMQOS,&qos,sizeof(qos)) < 0) { in atm_parse_class_opt()
161 if (setsockopt(s,SOL_SOCKET,SO_SNDBUF,&sndbuf,sizeof(sndbuf)) < 0) { in atm_parse_class_opt()
165 if (addr.sas_family == AF_ATMSVC && setsockopt(s,SOL_ATM,SO_ATMSAP, in atm_parse_class_opt()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c745 setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on))) in ssdp_listener_open()
756 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open()
758 setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open()
874 if (setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, &req, in ssdp_open_multicast_sock()
892 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast_sock()
899 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast_sock()
916 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
/external/libpcap/
Dpcap-bt-linux.c232 if (setsockopt(handle->fd, SOL_HCI, HCI_DATA_DIR, &opt, sizeof(opt)) < 0) { in bt_activate()
239 if (setsockopt(handle->fd, SOL_HCI, HCI_TIME_STAMP, &opt, sizeof(opt)) < 0) { in bt_activate()
250 if (setsockopt(handle->fd, SOL_HCI, HCI_FILTER, &flt, sizeof(flt)) < 0) { in bt_activate()
282 if (setsockopt(handle->fd, SOL_SOCKET, SO_RCVBUF, in bt_activate()
/external/curl/lib/
Dcurl_rtmp.c40 #define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e) macro
216 setsockopt(r->m_sb.sb_socket, SOL_SOCKET, SO_RCVTIMEO, in rtmp_connect()
/external/iputils/ninfod/
Dninfod.c219 ret = setsockopt(sock, in set_recvpktinfo()
225 ret = setsockopt(sock, in set_recvpktinfo()
240 ret = setsockopt(sock, in set_recvpktinfo()
260 if (setsockopt(sock, in init_sock()
271 if (setsockopt(sock, in init_sock()
/external/libvncserver/libvncserver/
Dsockets.c147 if (setsockopt(rfbScreen->inetdSock, IPPROTO_TCP, TCP_NODELAY, in rfbInitSockets()
446 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in rfbProcessNewConnection()
549 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in rfbConnect()
869 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, in rfbListenOnTCPPort()
921 if (setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof(one)) < 0) { in rfbListenOnTCP6Port()
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/autotest/client/cros/
Ddhcp_test_server.py126 self._socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
127 self._socket.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
130 self._socket.setsockopt(socket.SOL_SOCKET,

12345678910