Lines Matching defs:naddrs
113 *\li naddrs - max number of addrs
159 char *zname, size_t zsize, struct in_addr *addrs, int naddrs)
168 u = calloc(naddrs, sizeof(*u));
173 u, naddrs);
185 int naddrs)
192 DPRINTF(("START dname='%s' class=%s, zsize=%ld, naddrs=%d",
193 dname, p_class(class), (long)zsize, naddrs));
204 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0))
210 (n = satisfy(statp, mname, &nsrrs, addrs, naddrs)) > 0))
215 n = satisfy(statp, mname, &nsrrs, addrs, naddrs);
228 union res_sockaddr_union *addrs, int naddrs)
236 x = add_addrs(statp, nsrr, addrs, naddrs);
238 naddrs -= x;
242 if (naddrs <= 0)
245 x = add_addrs(statp, nsrr, addrs, naddrs);
247 naddrs -= x;
257 union res_sockaddr_union *addrs, int naddrs)
263 if (naddrs <= 0)
266 naddrs--;