Home
last modified time | relevance | path

Searched refs:recv_sock (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/posix/
Dunix_domain_socket_linux_unittest.cc87 ScopedFD recv_sock(fds[0]); in TEST() local
90 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST()
102 recv_sock.get(), buf, sizeof(buf), &fd_vec, &sender_pid); in TEST()
114 ScopedFD recv_sock(fds[0]); in TEST() local
117 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST()
131 recv_sock.get(), buf, sizeof(buf), &recv_fds, &sender_pid); in TEST()
144 ScopedFD recv_sock(fds[0]); in TEST() local
147 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST()
155 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid); in TEST()
Dunix_domain_socket_linux.cc206 ScopedFD recv_sock, send_sock; in SendRecvMsgWithFlags() local
207 if (!CreateSocketPair(&recv_sock, &send_sock)) in SendRecvMsgWithFlags()
226 recv_sock.get(), reply, max_reply_len, recvmsg_flags, &recv_fds, NULL); in SendRecvMsgWithFlags()
227 recv_sock.reset(); in SendRecvMsgWithFlags()
/external/toybox/toys/pending/
Dtraceroute.c64 int recv_sock;
204 pfd[0].fd = TT.recv_sock; in do_trace()
248 rcv_len = recvfrom(TT.recv_sock, toybuf, sizeof(toybuf), in do_trace()
509 TT.recv_sock = xsocket((TT.istraceroute6 ? AF_INET6 : AF_INET), SOCK_RAW, in traceroute_main()
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()
527 set_flag_dr(TT.recv_sock); in traceroute_main()
628 if (bind(TT.recv_sock, (struct sockaddr*)&prb, in traceroute_main()
/external/toybox/generated/
Dglobals.h930 int recv_sock; member