Lines Matching defs:addrcount
150 static void order_haddrlist_inet(char **haddrlist, size_t addrcount);
151 static void order_haddrlist_inet6(char **haddrlist, size_t addrcount);
1596 size_t addrcount;
1620 addrcount = 0;
1622 addrcount++;
1628 if (addrcount <= 1)
1634 order_haddrlist_inet(haddrlist, addrcount);
1637 order_haddrlist_inet6(haddrlist, addrcount);
1655 order_haddrlist_inet(char **haddrlist, size_t addrcount)
1680 sortbuf_size = addrcount *
1688 (addrcount * sizeof (struct in_addr *)));
1736 for (i = 0; i < addrcount; i++) {
1760 for (i = 0; i < addrcount; i++) {
1767 addrcount * sizeof (struct in_addr *));
1777 order_haddrlist_inet6(char **haddrlist, size_t addrcount)
1783 if ((dinfo = calloc(addrcount, sizeof (struct dstinforeq))) == NULL)
1794 addrcount * sizeof (struct dstinforeq)) < 0) {
1800 qsort(dinfo, addrcount, sizeof (struct dstinforeq), dstcmp);