Lines Matching refs:confd
1133 int confd; in check_dns_listeners() local
1137 while((confd = accept(listener->tcpfd, NULL, NULL)) == -1 && errno == EINTR); in check_dns_listeners()
1139 if (confd == -1) in check_dns_listeners()
1156 getsockname(confd, (struct sockaddr *)&tcp_addr, &tcp_len) != -1) in check_dns_listeners()
1164 shutdown(confd, SHUT_RDWR); in check_dns_listeners()
1165 close(confd); in check_dns_listeners()
1180 close(confd); in check_dns_listeners()
1204 if ((flags = fcntl(confd, F_GETFL, 0)) != -1) in check_dns_listeners()
1205 fcntl(confd, F_SETFL, flags & ~O_NONBLOCK); in check_dns_listeners()
1210 buff = tcp_request(confd, now, dst_addr_4, iface->netmask); in check_dns_listeners()
1212 shutdown(confd, SHUT_RDWR); in check_dns_listeners()
1213 close(confd); in check_dns_listeners()