Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Ddnsmasq.c367 daemon->helperfd = -1; in main()
370 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
627 FD_SET(daemon->helperfd, &wset); in main()
628 bump_maxfd(daemon->helperfd, &maxfd); in main()
698 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) in main()
882 if (daemon->helperfd != -1) in async_event()
885 if ((i = fcntl(daemon->helperfd, F_GETFL)) != -1) in async_event()
886 fcntl(daemon->helperfd, F_SETFL, i & ~O_NONBLOCK); in async_event()
890 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.h665 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)