Searched refs:p_fd (Results 1 – 4 of 4) sorted by relevance
/external/toybox/toys/pending/ |
D | arping.c | 237 int p_fd = xsocket(AF_INET, SOCK_DGRAM, 0); in arping_main() local 239 if (setsockopt(p_fd, SOL_SOCKET, SO_BINDTODEVICE, TT.iface, in arping_main() 246 if (bind(p_fd, (struct sockaddr*)&saddr, sizeof(saddr))) in arping_main() 253 if (connect(p_fd, (struct sockaddr *) &saddr, sizeof(saddr))) in arping_main() 258 xclose(p_fd); in arping_main()
|
D | traceroute.c | 616 int p_fd = xsocket(AF_INET6, SOCK_DGRAM, 0); in traceroute_main() local 617 if (toys.optflags & FLAG_i) bind_to_interface(p_fd); in traceroute_main() 620 if (connect(p_fd, (struct sockaddr *)&dest, sizeof(struct sockaddr_in6)) < 0) in traceroute_main() 622 if(getsockname(p_fd, (struct sockaddr *)&prb, &len)) in traceroute_main() 624 close(p_fd); in traceroute_main()
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 4783 struct pipe_ref p_fd[3]; in _PyPopen() local 4843 pipe_err = pipe((int *)&p_fd[i++]); in _PyPopen() 4849 close(p_fd[i].wr); in _PyPopen() 4850 close(p_fd[i].rd); in _PyPopen() 4862 if (dup2(p_fd[0].rd, 0) == 0) in _PyPopen() 4864 close(p_fd[0].rd); in _PyPopen() 4865 i = fcntl(p_fd[0].wr, F_GETFD, 0); in _PyPopen() 4866 fcntl(p_fd[0].wr, F_SETFD, i | FD_CLOEXEC); in _PyPopen() 4867 if ((p_s[0] = fdopen(p_fd[0].wr, wr_mode)) == NULL) in _PyPopen() 4869 close(p_fd[0].wr); in _PyPopen() [all …]
|
/external/syzkaller/sys/linux/ |
D | 9p.txt | 16 mount$9p_fd(src const[0], dst ptr[in, filename], type ptr[in, string["9p"]], flags flags[mount_flag…
|