Lines Matching refs:zonestr
569 char *zonestr = NULL;
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' into a valid
692 getscopeidfromzone(ai2sin6(nai), zonestr,