Lines Matching defs:ifscope
203 struct ifnet **ifpp, struct in6_addr *src_storage, unsigned int ifscope,
216 struct ip6_out_args ip6oa = { ifscope, { 0 }, IP6OAF_SELECT_SRCIF };
585 unsigned int ifscope = ip6oa->ip6oa_boundif;
631 * If Scoped Routing is disabled, ignore the given ifscope.
635 if (!ip6_doscopedroute && ifscope != IFSCOPE_NONE)
636 ifscope = IFSCOPE_NONE;
644 ifscope = pi->ipi6_ifindex;
648 ((ifscope <= if_index) ? ifindex2ifnet[ifscope] : NULL);
683 if (ip6_doscopedroute && ifscope == IFSCOPE_NONE)
684 ifscope = dstsock->sin6_scope_id;
712 if (ifscope != IFSCOPE_NONE || (ro != NULL && ro->ro_rt != NULL)) {
713 unsigned int scope = ifscope;
754 printf("%s->%s ifscope %d->%d ifa_if %s "
755 "ro_if %s\n", s_src, s_dst, ifscope,
759 printf("%s->%s ifscope %d->%d ifa_if %s\n",
760 s_src, s_dst, ifscope, scope,
776 if (ifa == NULL && ifscope == IFSCOPE_NONE) {
780 printf("%s->%s ifscope %d ifa_if %s\n",
781 s_src, s_dst, ifscope, if_name(ifa->ifa_ifp));
788 ifscope = ifa->ifa_ifp->if_index;
828 rtalloc_scoped((struct route *)ron, ifscope);
895 &((struct route *)ro)->ro_dst, 0, 0, ifscope);
897 rtalloc_scoped((struct route *)ro, ifscope);
950 printf("%s->%s ifscope %d "
954 ifscope, if_name(ifp),
957 printf("%s->%s ifscope %d "
960 ifscope, if_name(ifp));
1047 printf("%s->%s ifscope %d ifa_if %s ro_if %s (error=%d)\n",
1048 s_src, s_dst, ifscope,