Searched refs:zonestr (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c48 static size_t getzonestr(const struct sockaddr_in6 *sa, char *zonestr,
284 char zonestr[LIFNAMSIZ]; local
289 if (((zonelen = getzonestr(sa, zonestr, sizeof (zonestr))) == 0) ||
296 (void) strlcpy((host + addrlen + 1), zonestr, (zonelen + 1));
301 * getzonestr(sa, zonestr)
308 * zonestr is atleast LIFNAMSIZ in length, since this is the longest
313 * >0 zonestr is filled with a valid zoneid string and the return value is the
317 getzonestr(const struct sockaddr_in6 *sa, char *zonestr, size_t zonelen) argument
322 if (zonestr
[all...]
H A Dgetaddrinfo.c569 char *zonestr = NULL; local
576 if ((zonestr = strchr(hostname, '%')) != NULL) {
578 if (((zonestr - hostname) + 1) > sizeof (_hostname)) {
583 (void) strlcpy(_hostname, hostname, (zonestr - hostname) + 1);
584 ++zonestr; /* make zonestr point at start of <zone-id> */
586 if ((*zonestr == '\0') || (strlen(zonestr) > LIFNAMSIZ)) {
685 if (zonestr != NULL) {
687 * Translate 'zonestr' int
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1100 char *zonestr; local
1103 zfs_prop_to_name(ZFS_PROP_ZONED), &zonestr) == 0) &&
1104 strcmp(zonestr, "on") == 0);

Completed in 25 milliseconds