/system/connectivity/shill/net/ |
D | sockets.cc | 49 return setsockopt(sockfd, SOL_SOCKET, SO_ATTACH_FILTER, pf, sizeof(*pf)); in AttachFilter() 63 return setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE, &dev_name, in BindToDevice() 69 return setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &value, sizeof(value)); in ReuseAddress() 76 return setsockopt(sockfd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)); in AddMulticastMembership() 162 return setsockopt(sockfd, SOL_SOCKET, SO_RCVBUFFORCE, &size, sizeof(size)); in SetReceiveBuffer()
|
D | netlink_socket.cc | 140 int err = setsockopt(file_descriptor_, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, in SubscribeToEvents()
|
/system/core/libcutils/ |
D | socket_inaddr_any_server_windows.c | 53 if (setsockopt(sock, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (char*)&exclusive, in socket_inaddr_any_server() 55 setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&v6_only, in socket_inaddr_any_server()
|
D | uevent.c | 119 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &buf_sz, sizeof(buf_sz)); in uevent_open_socket() 120 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)); in uevent_open_socket()
|
D | debugger.c | 61 if (setsockopt(sock_fd, SOL_SOCKET, SO_RCVTIMEO, &tm, sizeof(tm)) == -1) { in make_dump_request() 65 if (setsockopt(sock_fd, SOL_SOCKET, SO_SNDTIMEO, &tm, sizeof(tm)) == -1) { in make_dump_request()
|
D | socket_inaddr_any_server_unix.c | 47 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (const char *) &n, sizeof(n)); in socket_inaddr_any_server()
|
D | socket_loopback_server_unix.c | 49 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (const char *) &n, sizeof(n)); in socket_loopback_server()
|
D | sockets_windows.cpp | 58 return setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, in socket_set_receive_timeout()
|
D | socket_local_server_unix.c | 80 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &n, sizeof(n));
|
D | sockets_unix.cpp | 59 return setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in socket_set_receive_timeout()
|
/system/vold/ |
D | NetlinkManager.cpp | 67 if (setsockopt(mSock, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)) < 0) { in start() 72 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) { in start()
|
/system/extras/tests/net_test/ |
D | multinetwork_test.py | 98 s.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1) 270 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_FLOWINFO_SEND, 1) 280 s.setsockopt(net_test.SOL_IPV6, IPV6_DSTOPTS, dstopts) 281 s.setsockopt(net_test.SOL_IPV6, IPV6_UNICAST_HOPS, 255) 286 s.setsockopt(net_test.SOL_IPV6, IPV6_PKTINFO, pktinfo) 324 s.setsockopt(net_test.SOL_IP, IP_TTL, 39) 325 s.setsockopt(net_test.SOL_IP, IP_TOS, 0x83) 428 cls.listensocket.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1) 436 s.setsockopt(net_test.SOL_IP, IP_TOS, 53) 437 s.setsockopt(net_test.SOL_IP, IP_TOS, tos) [all …]
|
D | ping6_test.py | 423 s4.setsockopt(SOL_SOCKET, SO_REUSEADDR, 0) 474 s.setsockopt(SOL_IP, net_test.IP_TRANSPARENT, 1) 489 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_TRANSPARENT, 1) 578 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_FLOWINFO_SEND, 1) 596 s.setsockopt(SOL_IP, IP_TTL, 2) 597 s.setsockopt(SOL_IP, net_test.IP_RECVERR, 1) 605 s.setsockopt(net_test.SOL_IPV6, IPV6_UNICAST_HOPS, 2) 606 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_RECVERR, 1) 616 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_MULTICAST_IF, self.ifindex) 684 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_MULTICAST_IF, self.ifindex)
|
D | net_test.py | 99 sock.setsockopt(SOL_SOCKET, SO_RCVTIMEO, struct.pack("LL", s, us)) 105 s.setsockopt(level, option, tos) 157 sock.setsockopt(SOL_SOCKET, SO_LINGER, struct.pack("ii", 1, 0)) 300 s.setsockopt(SOL_IPV6, IPV6_FLOWLABEL_MGR, opt)
|
/system/netd/server/ |
D | NetlinkManager.cpp | 84 if (setsockopt(*sock, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)) < 0) { in setupSocket() 90 if (setsockopt(*sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) { in setupSocket()
|
/system/extras/tests/tcp_nuke_addr/ |
D | tcp_nuke_addr_test.cpp | 36 if (setsockopt(s, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) == -1) { in setSoLinger() 40 if (setsockopt(s, SOL_TCP, TCP_LINGER2, &nolinger, sizeof(nolinger)) == -1) { in setSoLinger()
|
/system/connectivity/apmanager/init/ |
D | apmanager-seccomp-mips.policy | 3 setsockopt: 1
|
D | apmanager-seccomp-arm.policy | 3 setsockopt: 1
|
D | apmanager-seccomp-amd64.policy | 28 setsockopt: 1
|
/system/bt/osi/src/socket_utils/ |
D | socket_local_server.c | 66 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &n, sizeof(n));
|
/system/core/adb/ |
D | test_adb.py | 153 sock.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, 171 listener.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
D | sysdeps.h | 293 #undef setsockopt 294 #define setsockopt ___xxx_setsockopt macro 777 return setsockopt( fd, level, optname, optval, optlen ); in adb_setsockopt() 780 #undef setsockopt 781 #define setsockopt ___xxx_setsockopt macro
|
/system/extras/multinetwork/ |
D | httpurl.cpp | 150 setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeo, sizeof(timeo)); in makeTcpSocket() 151 setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &timeo, sizeof(timeo)); in makeTcpSocket()
|
/system/webservd/webservd/ |
D | protocol_handler.cc | 204 if (setsockopt(socket_fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) { in Start() 209 if (setsockopt(socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0) { in Start() 228 if (setsockopt(socket_fd, IPPROTO_TCP, TCP_FASTOPEN, in Start()
|
/system/core/logd/ |
D | LogListener.cpp | 132 if (setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) { in getLogSocket()
|