Lines Matching refs:ifscope
200 struct ifnet **ifpp, struct in6_addr *src_storage, unsigned int ifscope,
212 struct ip6_out_args ip6oa = { ifscope, { 0 }, IP6OAF_SELECT_SRCIF, 0 };
585 unsigned int ifscope = ((ip6oa != NULL) ?
632 * If Scoped Routing is disabled, ignore the given ifscope.
636 if (!ip6_doscopedroute && ifscope != IFSCOPE_NONE)
637 ifscope = IFSCOPE_NONE;
645 ifscope = pi->ipi6_ifindex;
649 ((ifscope <= if_index) ? ifindex2ifnet[ifscope] : NULL);
684 if (ip6_doscopedroute && ifscope == IFSCOPE_NONE)
685 ifscope = dstsock->sin6_scope_id;
713 if (ifscope != IFSCOPE_NONE || (ro != NULL && ro->ro_rt != NULL)) {
714 unsigned int scope = ifscope;
755 printf("%s->%s ifscope %d->%d ifa_if %s "
756 "ro_if %s\n", s_src, s_dst, ifscope,
760 printf("%s->%s ifscope %d->%d ifa_if %s\n",
761 s_src, s_dst, ifscope, scope,
777 if (ifa == NULL && ifscope == IFSCOPE_NONE) {
790 printf("%s->%s ifscope %d ifa_if %s\n",
791 s_src, s_dst, ifscope, if_name(ifa->ifa_ifp));
798 ifscope = ifa->ifa_ifp->if_index;
835 rtalloc_scoped((struct route *)ron, ifscope);
901 &((struct route *)ro)->ro_dst, 0, 0, ifscope);
903 rtalloc_scoped((struct route *)ro, ifscope);
956 printf("%s->%s ifscope %d "
960 ifscope, if_name(ifp),
963 printf("%s->%s ifscope %d "
966 ifscope, if_name(ifp));
1074 printf("%s->%s ifscope %d ifa_if %s ro_if %s (error=%d)\n",
1075 s_src, s_dst, ifscope,