Lines Matching defs:scope
83 /* by default, we don't care about scope boundary for these scopes. */
99 * Get a scope of the address. Interface-local, link-local, site-local
105 int scope;
108 scope = addr->s6_addr[1] & 0xc0;
110 switch (scope) {
121 scope = addr->s6_addr[1] & 0x0f;
124 * due to other scope such as reserved,
125 * return scope doesn't work.
127 switch (scope) {
177 * Validate the specified scope zone ID in the sin6_scope_id field. If the ID
180 * This routine then generates the kernel-internal form: if the address scope
199 * link-local scope IDs, and use interface indices as the
280 * Determine the appropriate scope zone ID for in6 and ifp. If ret_id is
287 int scope;
292 log(LOG_NOTICE, "%s: no scope id for %s\n", __func__,
304 log(LOG_NOTICE, "%s: can't set scope for not loopback "
315 scope = in6_addrscope(in6);
317 switch (scope) {
369 * Just clear the embedded scope identifier. Return 0 if the original address