Searched refs:helperfd (Results 1 – 3 of 3) sorted by relevance
/external/dnsmasq/src/ |
D | dnsmasq.c | 345 daemon->helperfd = -1; in main() 348 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main() 509 FD_SET(daemon->helperfd, &wset); in main() 510 bump_maxfd(daemon->helperfd, &maxfd); in main() 559 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) helper_write(); in main() 719 if (daemon->helperfd != -1) { in async_event() 721 if ((i = fcntl(daemon->helperfd, F_GETFL)) != -1) in async_event() 722 fcntl(daemon->helperfd, F_SETFL, i & ~O_NONBLOCK); in async_event() 726 close(daemon->helperfd); in async_event()
|
D | helper.c | 264 if (daemon->helperfd == -1) return; in queue_script() 351 if ((rc = write(daemon->helperfd, buf, bytes_in_buf)) != -1) { in helper_write()
|
D | dnsmasq.h | 638 int dhcpfd, helperfd; member
|