Lines Matching refs:confd
1000 int confd; in check_dns_listeners() local
1004 while((confd = accept(listener->tcpfd, NULL, NULL)) == -1 && errno == EINTR); in check_dns_listeners()
1006 if (confd == -1) in check_dns_listeners()
1023 getsockname(confd, (struct sockaddr *)&tcp_addr, &tcp_len) != -1) in check_dns_listeners()
1031 shutdown(confd, SHUT_RDWR); in check_dns_listeners()
1032 close(confd); in check_dns_listeners()
1047 close(confd); in check_dns_listeners()
1071 if ((flags = fcntl(confd, F_GETFL, 0)) != -1) in check_dns_listeners()
1072 fcntl(confd, F_SETFL, flags & ~O_NONBLOCK); in check_dns_listeners()
1077 buff = tcp_request(confd, now, dst_addr_4, iface->netmask); in check_dns_listeners()
1079 shutdown(confd, SHUT_RDWR); in check_dns_listeners()
1080 close(confd); in check_dns_listeners()