Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c51 size_t zonelen);
279 size_t zonelen; in addzoneid() local
283 if (((zonelen = getzonestr(sa, zonestr, sizeof (zonestr))) == 0) || in addzoneid()
284 ((addrlen + 1 + zonelen + 1) > hostlen)) { in addzoneid()
290 (void) strlcpy((host + addrlen + 1), zonestr, (zonelen + 1)); in addzoneid()
311 getzonestr(const struct sockaddr_in6 *sa, char *zonestr, size_t zonelen) in getzonestr() argument
337 if ((n = snprintf(zonestr, zonelen, "%u", in getzonestr()
341 if (n >= zonelen) { in getzonestr()