Searched refs:sfd (Results 1 – 10 of 10) sorted by relevance
/external/dnsmasq/src/ |
D | network.c | 712 struct serverfd *sfd; in allocate_sfd() local 735 for (sfd = daemon->sfds; sfd; sfd = sfd->next ) in allocate_sfd() 736 if (sockaddr_isequal(&sfd->source_addr, addr) && in allocate_sfd() 737 strcmp(intname, sfd->interface) == 0) in allocate_sfd() 738 return sfd; in allocate_sfd() 742 if (!(sfd = whine_malloc(sizeof(struct serverfd)))) in allocate_sfd() 745 if ((sfd->fd = socket(addr->sa.sa_family, SOCK_DGRAM, 0)) == -1) in allocate_sfd() 747 free(sfd); in allocate_sfd() 751 if (!local_bind(sfd->fd, addr, intname, 0) || !fix_fd(sfd->fd)) in allocate_sfd() 754 close(sfd->fd); in allocate_sfd() [all …]
|
D | netlink.c | 288 if (daemon->srv_save->sfd) in nl_routechange() 289 fd = daemon->srv_save->sfd->fd; in nl_routechange()
|
D | forward.c | 299 if (start->sfd) in forward_query() 300 fd = start->sfd->fd; in forward_query()
|
D | dnsmasq.h | 334 struct serverfd *sfd; member
|
/external/bluetooth/bluedroid/udrv/ulinux/ |
D | uipc.c | 209 static int accept_server_socket(int sfd) in accept_server_socket() argument 216 BTIF_TRACE_EVENT1("accept fd %d", sfd); in accept_server_socket() 219 pfd.fd = sfd; in accept_server_socket() 230 if ((fd = accept(sfd, (struct sockaddr *)&remote, &len)) == -1) in accept_server_socket()
|
/external/ppp/pppd/ |
D | sys-linux.c | 2552 int i, mfd, sfd = -1; local 2571 if ((sfd = open(pty_name, O_RDWR | O_NOCTTY)) < 0) 2577 if (sfd < 0) { 2585 sfd = open(pty_name, O_RDWR | O_NOCTTY, 0); 2586 if (sfd >= 0) { 2587 fchown(sfd, uid, -1); 2588 fchmod(sfd, S_IRUSR | S_IWUSR); 2596 if (sfd < 0) 2601 *slave_fdp = sfd; 2602 if (tcgetattr(sfd, &tios) == 0) { [all …]
|
D | sys-solaris.c | 2740 int mfd, sfd; local 2763 sfd = open(pty_name, O_RDWR); 2764 if (sfd < 0) { 2769 if (ioctl(sfd, I_PUSH, "ptem") < 0) 2775 *slave_fdp = sfd;
|
/external/qemu/ |
D | qemu-char.c | 864 int mfd = -1, sfd = -1; in openpty() local 878 if ((sfd = open(slave, O_RDONLY | O_NOCTTY)) == -1) in openpty() 881 if (ioctl(sfd, I_PUSH, "ptem") == -1 || in openpty() 882 (termp != NULL && tcgetattr(sfd, termp) < 0)) in openpty() 888 *aslave = sfd; in openpty() 890 ioctl(sfd, TIOCSWINSZ, winp); in openpty() 895 if (sfd != -1) in openpty() 896 close(sfd); in openpty()
|
/external/expat/amiga/ |
D | README.txt | 85 3.1 - removed obsolete sfd file
|
/external/strace/ |
D | signal.c | 866 int sfd; local 905 if ((sfd = open(sname, O_RDONLY)) == -1) { 909 i = read(sfd, buf, sizeof(buf)); 911 close(sfd);
|