Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Ddnsmasq.c342 daemon->helperfd = -1; in main()
345 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
542 FD_SET(daemon->helperfd, &wset); in main()
543 bump_maxfd(daemon->helperfd, &maxfd); in main()
596 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) in main()
780 if (daemon->helperfd != -1) in async_event()
783 if ((i = fcntl(daemon->helperfd, F_GETFL)) != -1) in async_event()
784 fcntl(daemon->helperfd, F_SETFL, i & ~O_NONBLOCK); in async_event()
788 close(daemon->helperfd); in async_event()
Dhelper.c306 if (daemon->helperfd == -1) in queue_script()
412 if ((rc = write(daemon->helperfd, buf, bytes_in_buf)) != -1) in helper_write()
Ddnsmasq.h646 int dhcpfd, helperfd; member
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch83 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset))
392 if ((rc = write(daemon->helperfd, buf, bytes_in_buf)) != -1)