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

  /external/dnsmasq/src/
dnsmasq.c 1133 int confd; local
1137 while((confd = accept(listener->tcpfd, NULL, NULL)) == -1 && errno == EINTR);
1139 if (confd == -1)
1156 getsockname(confd, (struct sockaddr *)&tcp_addr, &tcp_len) != -1)
1164 shutdown(confd, SHUT_RDWR);
1165 close(confd);
1180 close(confd);
1204 if ((flags = fcntl(confd, F_GETFL, 0)) != -1)
1205 fcntl(confd, F_SETFL, flags & ~O_NONBLOCK);
1210 buff = tcp_request(confd, now, dst_addr_4, iface->netmask)
    [all...]
forward.c 733 unsigned char *tcp_request(int confd, time_t now,
748 !read_write(confd, &c1, 1, 1) || !read_write(confd, &c2, 1, 1) ||
750 !read_write(confd, packet, size, 1))
763 if (getpeername(confd, (struct sockaddr *)&peer_addr, &peer_len) != -1)
892 if (!read_write(confd, &c1, 1, 0) ||
893 !read_write(confd, &c2, 1, 0) ||
894 !read_write(confd, packet, m, 0))
    [all...]
dnsmasq.h 773 unsigned char *tcp_request(int confd, time_t now,

Completed in 47 milliseconds