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

  /external/dnsmasq/src/
forward.c 927 if (daemon->randomsocks[i].refcount == 0)
929 if ((daemon->randomsocks[i].fd = random_sock(family)) == -1)
932 daemon->randomsocks[i].refcount = 1;
933 daemon->randomsocks[i].family = family;
934 return &daemon->randomsocks[i];
941 if (daemon->randomsocks[j].refcount != 0 &&
942 daemon->randomsocks[j].family == family &&
943 daemon->randomsocks[j].refcount != 0xffff)
946 daemon->randomsocks[j].refcount++;
947 return &daemon->randomsocks[j]
    [all...]
dnsmasq.c 1066 if (daemon->randomsocks[i].refcount != 0)
1068 FD_SET(daemon->randomsocks[i].fd, set);
1069 bump_maxfd(daemon->randomsocks[i].fd, maxfdp);
1117 if (daemon->randomsocks[i].refcount != 0 &&
1118 FD_ISSET(daemon->randomsocks[i].fd, set))
1119 reply_query(daemon->randomsocks[i].fd, daemon->randomsocks[i].family, now);
    [all...]
dnsmasq.h 664 struct randfd randomsocks[RANDOM_SOCKS]; member in struct:daemon

Completed in 4530 milliseconds