Lines Matching refs:RTF_IFSCOPE
264 return (INET_DEFAULT(dst) && !(rt->rt_flags & RTF_IFSCOPE));
358 if (!(rt->rt_flags & RTF_IFSCOPE) || rt_key(rt)->sa_family != AF_INET)
959 return (ifa_ifwithroute_common_locked((flags & ~RTF_IFSCOPE), dst,
968 flags |= RTF_IFSCOPE;
970 flags &= ~RTF_IFSCOPE;
1065 if ((flags & RTF_IFSCOPE) &&
1089 (flags & ~RTF_IFSCOPE), ret_nrt, IFSCOPE_NONE));
1098 flags |= RTF_IFSCOPE;
1100 flags &= ~RTF_IFSCOPE;
1115 * RTF_IFSCOPE flag, callers can simply use its rt_key(rt) to clone it
1149 * If RTF_IFSCOPE is specified, use a local copy of the destination
1156 * it is the key itself, thus making RTF_IFSCOPE unnecessary; one
1160 if (req != RTM_RESOLVE && (flags & RTF_IFSCOPE)) {
1167 flags &= ~RTF_IFSCOPE;
1282 if (flags & RTF_IFSCOPE) {
1286 flags |= RTF_IFSCOPE;
1290 flags &= ~RTF_IFSCOPE;
1306 if (flags & RTF_IFSCOPE) {
1363 if (flags & RTF_IFSCOPE) {
1626 if (ifscope != IFSCOPE_NONE && (rt->rt_flags & RTF_IFSCOPE) &&
1701 (rt->rt_gwroute->rt_flags & RTF_IFSCOPE) &&
1860 * index as the scope value and it is marked with RTF_IFSCOPE.
1882 } else if (!(rt->rt_flags & RTF_IFSCOPE)) {
1885 * isn't marked with RTF_IFSCOPE. Do a more