Lines Matching refs:IFSCOPE_NONE
380 static unsigned int primary_ifscope = IFSCOPE_NONE;
381 static unsigned int primary6_ifscope = IFSCOPE_NONE;
577 unsigned int ifscope = (pifscope != NULL) ? *pifscope : IFSCOPE_NONE; in sa_copy()
586 if (pifscope == NULL || ifscope != IFSCOPE_NONE) { in sa_copy()
602 if (eifscope != IFSCOPE_NONE && ifscope == IFSCOPE_NONE) { in sa_copy()
605 if (ifscope != IFSCOPE_NONE) { in sa_copy()
616 if (ifscope != IFSCOPE_NONE && eifscope != ifscope) { in sa_copy()
619 } else if (pifscope == NULL || ifscope != IFSCOPE_NONE) { in sa_copy()
729 SINIFSCOPE(sa)->sin_scope_id != IFSCOPE_NONE) { in rtm_scrub()
732 SIN6IFSCOPE(sa)->sin6_scope_id != IFSCOPE_NONE) { in rtm_scrub()
769 SINIFSCOPE(ss)->sin_scope_id = IFSCOPE_NONE; in rtm_scrub()
771 SIN6IFSCOPE(ss)->sin6_scope_id = IFSCOPE_NONE; in rtm_scrub()
910 rtalloc_ign_common_locked(ro, ignore, IFSCOPE_NONE); in rtalloc_ign()
926 return rtalloc1_common_locked(dst, report, ignflags, IFSCOPE_NONE); in rtalloc1_locked()
1447 unsigned int ifscope = (ifp != NULL) ? ifp->if_index : IFSCOPE_NONE; in rtredirect()
1627 gateway, IFSCOPE_NONE); in ifa_ifwithroute_locked()
1634 if (ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_scoped_locked()
1655 ifscope == IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1657 VERIFY(ifscope != IFSCOPE_NONE); in ifa_ifwithroute_common_locked()
1663 ifscope == IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1665 VERIFY(ifscope != IFSCOPE_NONE); in ifa_ifwithroute_common_locked()
1668 if (ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1714 if ((flags & RTF_IFSCOPE) != 0 && ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1817 (flags & ~RTF_IFSCOPE), ret_nrt, IFSCOPE_NONE); in rtrequest_locked()
1825 if (ifscope != IFSCOPE_NONE) { in rtrequest_scoped_locked()
1917 if (ifscope != IFSCOPE_NONE) { in rtrequest_common_locked()
1925 if (ifscope == IFSCOPE_NONE) { in rtrequest_common_locked()
1932 SIN6(dst)->sin6_scope_id == IFSCOPE_NONE) { in rtrequest_common_locked()
1935 VERIFY(SIN6(dst)->sin6_scope_id != IFSCOPE_NONE); in rtrequest_common_locked()
1941 ifscope == IFSCOPE_NONE) { in rtrequest_common_locked()
1945 VERIFY(ifscope!= IFSCOPE_NONE); in rtrequest_common_locked()
2070 IFSCOPE_NONE); in rtrequest_common_locked()
2173 ifscope = IFSCOPE_NONE; in rtrequest_common_locked()
2189 VERIFY(ifscope != IFSCOPE_NONE); in rtrequest_common_locked()
2196 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ? in rtrequest_common_locked()
2718 ifscope = IFSCOPE_NONE; in rt_setgate()
2759 if (ifscope != IFSCOPE_NONE && (rt->rt_flags & RTF_IFSCOPE) && in rt_setgate()
2814 get_primary_ifscope(AF_INET) == IFSCOPE_NONE)) { in rt_setgate()
3001 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ? NULL : &ifscope); in node_lookup()
3008 if (ifscope == IFSCOPE_NONE) { in node_lookup()
3096 VERIFY(!coarse || ifscope == IFSCOPE_NONE); in rt_lookup_common()
3142 dontcare = (ifscope == IFSCOPE_NONE); in rt_lookup_common()
3177 rn0 = rn = node_lookup(dst, netmask, IFSCOPE_NONE); in rt_lookup_common()
3347 rnh, IFSCOPE_NONE); in rt_lookup_coarse()
4338 SINIFSCOPE(rt_key(rt))->sin_scope_id != IFSCOPE_NONE) { in rt_str4()
4369 SIN6IFSCOPE(rt_key(rt))->sin6_scope_id != IFSCOPE_NONE) { in rt_str6()