Lines Matching refs:ifscope
258 unsigned int ifscope = IFSCOPE_NONE;
396 * In the forwarding case, only the ifscope value is used,
406 ifscope = ipoa->ipoa_boundif;
408 (IPPOF_BOUND_IF | (ifscope << IPPOF_SHIFT_IFSCOPE));
418 ifscope = IFSCOPE_NONE;
654 ia0 = in_selectsrcif(ip, ro, ifscope);
680 ipobf.srcbound) && ifscope != lo_ifp->if_index) {
700 if (ifscope == IFSCOPE_NONE)
701 ifscope = ia0->ifa_ifp->if_index;
740 * Loosen the route lookup criteria if the ifscope
748 if (ifscope == lo_ifp->if_index)
751 rtalloc_scoped_ign(ro, ign, ifscope);
2399 unsigned int ifscope;
2423 ifscope = IFSCOPE_NONE;
2440 ifscope = ifp->if_index;
2448 error = inp_bindif(inp, ifscope, NULL);
3095 in_selectsrcif(struct ip *ip, struct route *ro, unsigned int ifscope)
3122 if (ifscope != IFSCOPE_NONE || ro->ro_rt != NULL) {
3123 unsigned int scope = ifscope;
3155 ifscope = IFSCOPE_NONE;
3161 printf("%s->%s ifscope %d->%d ifa_if %s "
3162 "ro_if %s\n", s_src, s_dst, ifscope,
3166 printf("%s->%s ifscope %d->%d ifa_if %s\n",
3167 s_src, s_dst, ifscope, scope,
3183 if (ifa == NULL && ifscope == IFSCOPE_NONE) {
3284 printf("%s->%s ifscope %d ifa_if %s\n",
3285 s_src, s_dst, ifscope, if_name(ifa->ifa_ifp));
3302 printf("%s->%s ifscope %d ro_if %s != "
3304 s_src, s_dst, ifscope, if_name(rt_ifp),
3307 printf("%s->%s ifscope %d ro_if %s "
3309 s_src, s_dst, ifscope, if_name(rt_ifp));
3334 printf("%s->%s ifscope %d (neither ro_if/ifa_if found)\n",
3335 s_src, s_dst, ifscope);