Lines Matching refs:scopeid
464 * generate kernel-internal form (scopeid embedded into s6_addr16[1]).
471 * embedded scopeid thing.
492 u_int32_t scopeid;
495 scopeid = sin6->sin6_scope_id;
505 if (scopeid == 0)
506 scopeid = scope6_addr2default(in6);
526 } else if (scopeid) {
528 if (scopeid < 0 || if_index < scopeid)
530 ifp = ifindex2ifnet[scopeid];
532 in6->s6_addr16[1] = htons(scopeid & 0xffff);
551 * embedded scopeid thing.
559 u_int32_t scopeid;
573 scopeid = ntohs(sin6->sin6_addr.s6_addr16[1]);
574 if (scopeid) {
576 if (scopeid < 0 || if_index < scopeid)
578 if (ifp && ifp->if_index != scopeid)
581 sin6->sin6_scope_id = scopeid;