Lines Matching refs:IFSCOPE_NONE
392 static unsigned int primary_ifscope = IFSCOPE_NONE;
393 static unsigned int primary6_ifscope = IFSCOPE_NONE;
587 unsigned int ifscope = (pifscope != NULL) ? *pifscope : IFSCOPE_NONE; in sa_copy()
596 if (pifscope == NULL || ifscope != IFSCOPE_NONE) { in sa_copy()
612 if (eifscope != IFSCOPE_NONE && ifscope == IFSCOPE_NONE) { in sa_copy()
615 if (ifscope != IFSCOPE_NONE) { in sa_copy()
626 if (ifscope != IFSCOPE_NONE && eifscope != ifscope) { in sa_copy()
629 } else if (pifscope == NULL || ifscope != IFSCOPE_NONE) { in sa_copy()
740 SINIFSCOPE(sa)->sin_scope_id != IFSCOPE_NONE) { in rtm_scrub()
743 SIN6IFSCOPE(sa)->sin6_scope_id != IFSCOPE_NONE) { in rtm_scrub()
780 SINIFSCOPE(ss)->sin_scope_id = IFSCOPE_NONE; in rtm_scrub()
782 SIN6IFSCOPE(ss)->sin6_scope_id = IFSCOPE_NONE; in rtm_scrub()
921 rtalloc_ign_common_locked(ro, ignore, IFSCOPE_NONE); in rtalloc_ign()
937 return rtalloc1_common_locked(dst, report, ignflags, IFSCOPE_NONE); in rtalloc1_locked()
1459 unsigned int ifscope = (ifp != NULL) ? ifp->if_index : IFSCOPE_NONE; in rtredirect()
1639 gateway, IFSCOPE_NONE); in ifa_ifwithroute_locked()
1646 if (ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_scoped_locked()
1667 ifscope == IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1669 VERIFY(ifscope != IFSCOPE_NONE); in ifa_ifwithroute_common_locked()
1675 ifscope == IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1677 VERIFY(ifscope != IFSCOPE_NONE); in ifa_ifwithroute_common_locked()
1680 if (ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1726 if ((flags & RTF_IFSCOPE) != 0 && ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1829 (flags & ~RTF_IFSCOPE), ret_nrt, IFSCOPE_NONE); in rtrequest_locked()
1837 if (ifscope != IFSCOPE_NONE) { in rtrequest_scoped_locked()
1929 if (ifscope != IFSCOPE_NONE) { in rtrequest_common_locked()
1937 if (ifscope == IFSCOPE_NONE) { in rtrequest_common_locked()
1944 SIN6(dst)->sin6_scope_id == IFSCOPE_NONE) { in rtrequest_common_locked()
1947 VERIFY(SIN6(dst)->sin6_scope_id != IFSCOPE_NONE); in rtrequest_common_locked()
1953 ifscope == IFSCOPE_NONE) { in rtrequest_common_locked()
1957 VERIFY(ifscope != IFSCOPE_NONE); in rtrequest_common_locked()
2082 IFSCOPE_NONE); in rtrequest_common_locked()
2185 ifscope = IFSCOPE_NONE; in rtrequest_common_locked()
2201 VERIFY(ifscope != IFSCOPE_NONE); in rtrequest_common_locked()
2208 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ? in rtrequest_common_locked()
2759 ifscope = IFSCOPE_NONE; in rt_setgate()
2800 if (ifscope != IFSCOPE_NONE && (rt->rt_flags & RTF_IFSCOPE) && in rt_setgate()
2855 get_primary_ifscope(AF_INET) == IFSCOPE_NONE)) { in rt_setgate()
3045 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ? NULL : &ifscope); in node_lookup()
3052 if (ifscope == IFSCOPE_NONE) { in node_lookup()
3137 VERIFY(!coarse || ifscope == IFSCOPE_NONE); in rt_lookup_common()
3183 dontcare = (ifscope == IFSCOPE_NONE); in rt_lookup_common()
3218 rn0 = rn = node_lookup(dst, netmask, IFSCOPE_NONE); in rt_lookup_common()
3412 rnh, IFSCOPE_NONE); in rt_lookup_coarse()
4414 SINIFSCOPE(rt_key(rt))->sin_scope_id != IFSCOPE_NONE) { in rt_str4()
4445 SIN6IFSCOPE(rt_key(rt))->sin6_scope_id != IFSCOPE_NONE) { in rt_str6()