Home
last modified time | relevance | path

Searched refs:addrArray (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c132 struct in6_addr **addrArray, *addrList; in cloneAddrList() local
163 if ((addrArray = malloc((addrCount+moreAddrCount+1)*sizeof (addrList) + in cloneAddrList()
169 addrList = PTROFF(addrArray, (addrCount+moreAddrCount+1) * in cloneAddrList()
173 addrArray[i] = addrList; in cloneAddrList()
177 (struct in_addr *)h->h_addr_list[i], addrArray[i]); in cloneAddrList()
179 (void) memcpy(addrArray[i], h->h_addr_list[i], in cloneAddrList()
186 addrArray[i] = moreAddrs[j]; in cloneAddrList()
190 addrArray[i] = 0; in cloneAddrList()
193 return (addrArray); in cloneAddrList()