Lines Matching defs:scope
659 * If the caller didn't explicitly specify the scope,
3121 * to use for transmission; if the caller has specified a scope,
3127 unsigned int scope = ifscope;
3130 * If no scope is specified and the route is stale (pointing
3133 * with the same IP address. Otherwise pick up the scope
3138 if (scope == IFSCOPE_NONE) {
3139 scope = rt_ifp->if_index;
3140 if (scope != get_primary_ifscope(AF_INET) &&
3142 scope = get_primary_ifscope(AF_INET);
3145 ifa = (struct ifaddr *)ifa_foraddr_scoped(src.s_addr, scope);
3153 * interface scope and do a route lookup right below.
3167 scope, if_name(ifa->ifa_ifp),
3171 s_src, s_dst, ifscope, scope,
3179 * IP address if the scope was not specified by the caller, and:
3299 * interface scope/index.