Lines Matching refs:IFSCOPE_NONE

380 static unsigned int primary_ifscope = IFSCOPE_NONE;
381 static unsigned int primary6_ifscope = IFSCOPE_NONE;
506 * non-NULL and ifscope is IFSCOPE_NONE, the existing scope ID is left intact.
515 unsigned int ifscope = (pifscope != NULL) ? *pifscope : IFSCOPE_NONE;
523 if (pifscope == NULL || ifscope != IFSCOPE_NONE)
537 if (eifscope != IFSCOPE_NONE && ifscope == IFSCOPE_NONE)
544 if (ifscope != IFSCOPE_NONE && eifscope != ifscope)
546 } else if (pifscope == NULL || ifscope != IFSCOPE_NONE) {
574 * is IFSCOPE_NONE, we'd end up clearing the scope ID field on
644 SINIFSCOPE(sa)->sin_scope_id != IFSCOPE_NONE) {
647 SIN6IFSCOPE(sa)->sin6_scope_id != IFSCOPE_NONE) {
664 * it to IFSCOPE_NONE followed by calling sa_trim() to trim
685 SINIFSCOPE(ss)->sin_scope_id = IFSCOPE_NONE;
687 SIN6IFSCOPE(ss)->sin6_scope_id = IFSCOPE_NONE;
829 rtalloc_ign_common_locked(ro, ignore, IFSCOPE_NONE);
845 return (rtalloc1_common_locked(dst, report, ignflags, IFSCOPE_NONE));
1238 unsigned int ifscope = (ifp != NULL) ? ifp->if_index : IFSCOPE_NONE;
1411 gateway, IFSCOPE_NONE));
1418 if (ifscope != IFSCOPE_NONE)
1564 (flags & ~RTF_IFSCOPE), ret_nrt, IFSCOPE_NONE));
1572 if (ifscope != IFSCOPE_NONE)
1654 if (ifscope != IFSCOPE_NONE)
1666 ifscope = IFSCOPE_NONE;
1669 if (ifscope == IFSCOPE_NONE)
1758 IFSCOPE_NONE);
1829 ifscope = IFSCOPE_NONE;
1840 VERIFY(ifscope != IFSCOPE_NONE);
1847 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ?
2313 ifscope = IFSCOPE_NONE;
2352 if (ifscope != IFSCOPE_NONE && (rt->rt_flags & RTF_IFSCOPE) &&
2396 get_primary_ifscope(AF_INET) == IFSCOPE_NONE)) {
2557 * ifscope value passed in by the caller (IFSCOPE_NONE implies non-scoped).
2580 dst = sa_copy(dst, &ss, (ifscope == IFSCOPE_NONE) ? NULL : &ifscope);
2586 if (ifscope == IFSCOPE_NONE)
2684 dontcare = (ifscope == IFSCOPE_NONE);
2694 rn0 = rn = node_lookup(dst, netmask, IFSCOPE_NONE);
2700 * set to IFSCOPE_NONE; if the above lookup resulted in a route,