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

  /external/dnsmasq/src/
forward.c 920 if (daemon->randomsocks[i].refcount == 0)
922 if ((daemon->randomsocks[i].fd = random_sock(family)) == -1)
925 daemon->randomsocks[i].refcount = 1;
926 daemon->randomsocks[i].family = family;
927 return &daemon->randomsocks[i];
934 if (daemon->randomsocks[j].refcount != 0 &&
935 daemon->randomsocks[j].family == family &&
936 daemon->randomsocks[j].refcount != 0xffff)
939 daemon->randomsocks[j].refcount++;
940 return &daemon->randomsocks[j]
    [all...]
dnsmasq.c 945 if (daemon->randomsocks[i].refcount != 0)
947 FD_SET(daemon->randomsocks[i].fd, set);
948 bump_maxfd(daemon->randomsocks[i].fd, maxfdp);
987 if (daemon->randomsocks[i].refcount != 0 &&
988 FD_ISSET(daemon->randomsocks[i].fd, set))
989 reply_query(daemon->randomsocks[i].fd, daemon->randomsocks[i].family, now);
dnsmasq.h 636 struct randfd randomsocks[RANDOM_SOCKS]; member in struct:daemon

Completed in 452 milliseconds