Lines Matching refs:IFSCOPE_NONE

380 static unsigned int primary_ifscope = IFSCOPE_NONE;
381 static unsigned int primary6_ifscope = IFSCOPE_NONE;
579 unsigned int ifscope = (pifscope != NULL) ? *pifscope : IFSCOPE_NONE; in sa_copy()
588 if (pifscope == NULL || ifscope != IFSCOPE_NONE) { in sa_copy()
604 if (eifscope != IFSCOPE_NONE && ifscope == IFSCOPE_NONE) { in sa_copy()
607 if (ifscope != IFSCOPE_NONE) { in sa_copy()
618 if (ifscope != IFSCOPE_NONE && eifscope != ifscope) { in sa_copy()
621 } else if (pifscope == NULL || ifscope != IFSCOPE_NONE) { in sa_copy()
731 SINIFSCOPE(sa)->sin_scope_id != IFSCOPE_NONE) { in rtm_scrub()
734 SIN6IFSCOPE(sa)->sin6_scope_id != IFSCOPE_NONE) { in rtm_scrub()
771 SINIFSCOPE(ss)->sin_scope_id = IFSCOPE_NONE; in rtm_scrub()
773 SIN6IFSCOPE(ss)->sin6_scope_id = IFSCOPE_NONE; in rtm_scrub()
912 rtalloc_ign_common_locked(ro, ignore, IFSCOPE_NONE); in rtalloc_ign()
928 return rtalloc1_common_locked(dst, report, ignflags, IFSCOPE_NONE); in rtalloc1_locked()
1449 unsigned int ifscope = (ifp != NULL) ? ifp->if_index : IFSCOPE_NONE; in rtredirect()
1629 gateway, IFSCOPE_NONE); in ifa_ifwithroute_locked()
1636 if (ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_scoped_locked()
1657 ifscope == IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1659 VERIFY(ifscope != IFSCOPE_NONE); in ifa_ifwithroute_common_locked()
1665 ifscope == IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1667 VERIFY(ifscope != IFSCOPE_NONE); in ifa_ifwithroute_common_locked()
1670 if (ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1716 if ((flags & RTF_IFSCOPE) != 0 && ifscope != IFSCOPE_NONE) { in ifa_ifwithroute_common_locked()
1819 (flags & ~RTF_IFSCOPE), ret_nrt, IFSCOPE_NONE); in rtrequest_locked()
1827 if (ifscope != IFSCOPE_NONE) { in rtrequest_scoped_locked()
1919 if (ifscope != IFSCOPE_NONE) { in rtrequest_common_locked()
1927 if (ifscope == IFSCOPE_NONE) { in rtrequest_common_locked()
1934 SIN6(dst)->sin6_scope_id == IFSCOPE_NONE) { in rtrequest_common_locked()
1937 VERIFY(SIN6(dst)->sin6_scope_id != IFSCOPE_NONE); in rtrequest_common_locked()
1943 ifscope == IFSCOPE_NONE) { in rtrequest_common_locked()
1947 VERIFY(ifscope!= IFSCOPE_NONE); in rtrequest_common_locked()
2072 IFSCOPE_NONE); in rtrequest_common_locked()
2175 ifscope = IFSCOPE_NONE; in rtrequest_common_locked()
2191 VERIFY(ifscope != IFSCOPE_NONE); in rtrequest_common_locked()
2198 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ? in rtrequest_common_locked()
2720 ifscope = IFSCOPE_NONE; in rt_setgate()
2761 if (ifscope != IFSCOPE_NONE && (rt->rt_flags & RTF_IFSCOPE) && in rt_setgate()
2816 get_primary_ifscope(AF_INET) == IFSCOPE_NONE)) { in rt_setgate()
3003 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ? NULL : &ifscope); in node_lookup()
3010 if (ifscope == IFSCOPE_NONE) { in node_lookup()
3098 VERIFY(!coarse || ifscope == IFSCOPE_NONE); in rt_lookup_common()
3144 dontcare = (ifscope == IFSCOPE_NONE); in rt_lookup_common()
3179 rn0 = rn = node_lookup(dst, netmask, IFSCOPE_NONE); in rt_lookup_common()
3349 rnh, IFSCOPE_NONE); in rt_lookup_coarse()
4377 SINIFSCOPE(rt_key(rt))->sin_scope_id != IFSCOPE_NONE) { in rt_str4()
4408 SIN6IFSCOPE(rt_key(rt))->sin6_scope_id != IFSCOPE_NONE) { in rt_str6()