Searched refs:fix_fd (Results 1 – 6 of 6) sorted by relevance
/external/dnsmasq/src/ |
D | network.c | 227 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()
|
D | util.c | 215 if (pipe(fd) == -1 || !fix_fd(fd[1]) || (read_noblock && !fix_fd(fd[0]))) in safe_pipe()
|
D | helper.c | 59 if (pipe(pipefd) == -1 || !fix_fd(pipefd[1]) || (pid = fork()) == -1) { in create_helper()
|
D | dnsmasq.h | 743 int fix_fd(int fd);
|
D | dhcp.c | 40 if (!fix_fd(fd) || in dhcp_init()
|
D | dnsmasq.c | 1003 if (!fix_fd(fd) || in make_icmp_sock()
|