Lines Matching defs:scope
106 /* grow scope index array */
138 /* by default, we don't care about scope boundary for these scopes. */
216 * Get a scope of the address. Node-local, link-local, site-local or global.
222 int scope;
225 scope = addr->s6_addr8[1] & 0xc0;
227 switch (scope) {
242 scope = addr->s6_addr8[1] & 0x0f;
245 * due to other scope such as reserved,
246 * return scope doesn't work.
248 switch (scope) {
283 int scope = in6_addrscope(addr);
297 switch(scope) {
320 * Validate the specified scope zone ID in the sin6_scope_id field. If the ID
323 * This routine then generates the kernel-internal form: if the address scope
341 * link-local scope IDs, and use interface indices as the
483 * Determine the appropriate scope zone ID for in6 and ifp. If ret_id is
492 int scope;
498 panic("in6_setscope: scope array is NULL");
517 scope = in6_addrscope(in6);
527 switch (scope) {
560 * Just clear the embedded scope identifier. Return 0 if the original address