Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libnsl/nss/
H A Dgethostent.c116 char **addrvec; in __str2hostent() local
167 addrvec = (char **)ROUND_DOWN(addrp6, sizeof (*addrvec)); in __str2hostent()
168 addrvec -= naddr + 1; in __str2hostent()
173 addrvec = (char **)ROUND_DOWN(addrp, sizeof (*addrvec)); in __str2hostent()
174 addrvec -= naddr + 1; in __str2hostent()
177 if ((char *)addrvec < buffer) in __str2hostent()
214 addrvec[i] = (char *)&addrp[i]; in __str2hostent()
225 addrvec[i] = (char *)&addrp6[i]; in __str2hostent()
244 buffer, ((char *)addrvec) - buffer); in __str2hostent()
269 addrvec[i >= naddr ? naddr : i + 1] = 0; in __str2hostent()
[all …]
H A Dnetdir_inet.c2244 char **addrvec; in ndaddr2hent() local
2258 addrvec = (char **)ROUND_UP(buffer + len, sizeof (*addrvec)); in ndaddr2hent()
2259 result->h_addr_list = addrvec; in ndaddr2hent()
2266 if ((char *)(&addrvec[count + 1]) > (char *)(&addrp[-count])) in ndaddr2hent()
2277 *addrvec++ = (char *)addrp; in ndaddr2hent()
2284 if ((char *)(&addrvec[count + 1]) > (char *)(&addr6p[-count])) in ndaddr2hent()
2295 *addrvec++ = (char *)addr6p; in ndaddr2hent()
2298 *addrvec = 0; in ndaddr2hent()
2299 result->h_aliases = addrvec; in ndaddr2hent()