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.cc86 ScopedFD recv_sock(fds[0]); in TEST() local
89 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST()
101 recv_sock.get(), buf, sizeof(buf), &fd_vec, &sender_pid); in TEST()
113 ScopedFD recv_sock(fds[0]); in TEST() local
116 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST()
130 recv_sock.get(), buf, sizeof(buf), &recv_fds, &sender_pid); in TEST()
143 ScopedFD recv_sock(fds[0]); in TEST() local
146 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST()
154 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid); in TEST()
Dunix_domain_socket_linux.cc208 ScopedFD recv_sock, send_sock; in SendRecvMsgWithFlags() local
209 if (!CreateSocketPair(&recv_sock, &send_sock)) in SendRecvMsgWithFlags()
228 recv_sock.get(), reply, max_reply_len, recvmsg_flags, &recv_fds, NULL); in SendRecvMsgWithFlags()
229 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.h859 int recv_sock; member