Lines Matching refs:scopeid
1652 * generate kernel-internal form (scopeid embedded into s6_addr16[1]).
1659 * embedded scopeid thing.
1675 u_int32_t scopeid;
1679 scopeid = sin6->sin6_scope_id;
1689 if (scopeid == 0)
1690 scopeid = scope6_addr2default(in6);
1721 } else if (scopeid) {
1723 * Since scopeid is unsigned, we only have to check it
1726 if (if_index < scopeid) {
1731 ifp = ifindex2ifnet[scopeid];
1733 in6->s6_addr16[1] = htons(scopeid & 0xffff);
1752 * embedded scopeid thing.
1760 u_int32_t scopeid;
1774 scopeid = ntohs(sin6->sin6_addr.s6_addr16[1]);
1775 if (scopeid) {
1779 * Since scopeid is unsigned, we only have to check it
1782 if (if_index < scopeid)
1784 if (ifp && ifp->if_index != scopeid)
1787 sin6->sin6_scope_id = scopeid;