HomeSort by relevance Sort by last modified time
    Searched refs:confd (Results 1 - 3 of 3) sorted by null

  /external/dnsmasq/src/
dnsmasq.c 1112 int confd; local
1116 while((confd = accept(listener->tcpfd, NULL, NULL)) == -1 && errno == EINTR);
1118 if (confd == -1)
1135 getsockname(confd, (struct sockaddr *)&tcp_addr, &tcp_len) != -1)
1143 shutdown(confd, SHUT_RDWR);
1144 close(confd);
1159 close(confd);
1183 if ((flags = fcntl(confd, F_GETFL, 0)) != -1)
1184 fcntl(confd, F_SETFL, flags & ~O_NONBLOCK);
1189 buff = tcp_request(confd, now, dst_addr_4, iface->netmask)
    [all...]
forward.c 721 unsigned char *tcp_request(int confd, time_t now,
736 !read_write(confd, &c1, 1, 1) || !read_write(confd, &c2, 1, 1) ||
738 !read_write(confd, packet, size, 1))
751 if (getpeername(confd, (struct sockaddr *)&peer_addr, &peer_len) != -1)
879 if (!read_write(confd, &c1, 1, 0) ||
880 !read_write(confd, &c2, 1, 0) ||
881 !read_write(confd, packet, m, 0))
dnsmasq.h 771 unsigned char *tcp_request(int confd, time_t now,

Completed in 175 milliseconds