Home
last modified time | relevance | path

Searched refs:fix_fd (Results 1 – 6 of 6) sorted by relevance

/external/dnsmasq/src/
Dnetwork.c227 int fix_fd(int fd) { in fix_fd() function
257 setsockopt(tcpfd, IPV6_LEVEL, IPV6_V6ONLY, &opt, sizeof(opt)) == -1 || !fix_fd(fd) || in create_ipv6_listener()
258 !fix_fd(tcpfd) || in create_ipv6_listener()
298 !fix_fd(tcpfd) || in create_wildcard_listeners()
302 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || !fix_fd(fd) || in create_wildcard_listeners()
370 !fix_fd(new->tcpfd) || !fix_fd(new->fd)) in create_bound_listener()
527 !fix_fd(new->tcpfd) || !fix_fd(new->fd)) in create_bound_listeners()
585 if (fix_fd(fd)) in random_sock()
672 if (!local_bind(sfd->fd, addr, intname, mark, 0) || !fix_fd(sfd->fd)) { in allocate_sfd()
Dutil.c215 if (pipe(fd) == -1 || !fix_fd(fd[1]) || (read_noblock && !fix_fd(fd[0]))) in safe_pipe()
Dhelper.c59 if (pipe(pipefd) == -1 || !fix_fd(pipefd[1]) || (pid = fork()) == -1) { in create_helper()
Ddnsmasq.h743 int fix_fd(int fd);
Ddhcp.c40 if (!fix_fd(fd) || in dhcp_init()
Ddnsmasq.c1003 if (!fix_fd(fd) || in make_icmp_sock()