Lines Matching defs:ifscope
266 unsigned int ifscope;
340 ifscope = ipoa->ipoa_ifscope;
343 ifscope = IFSCOPE_NONE;
516 ifa = in_selectsrcif(ip, ro, ifscope);
526 ifscope != lo_ifp->if_index) {
547 if (ifscope == IFSCOPE_NONE)
548 ifscope = ifa->ifa_ifp->if_index;
587 rtalloc_scoped_ign_locked(ro, ign, ifscope);
2046 unsigned int ifscope;
2070 ifscope = IFSCOPE_NONE;
2087 ifscope = ifp->if_index;
2095 ip_bindif(inp, ifscope);
3019 in_selectsrcif(struct ip *ip, struct route *ro, unsigned int ifscope)
3045 if (ifscope != IFSCOPE_NONE || ro->ro_rt != NULL) {
3046 unsigned int scope = ifscope;
3068 printf("%s->%s ifscope %d->%d ifa_if %s%d "
3069 "ro_if %s%d\n", ip_src, ip_dst, ifscope,
3074 printf("%s->%s ifscope %d->%d ifa_if %s%d\n",
3075 ip_src, ip_dst, ifscope, scope,
3092 if (ifa == NULL && ifscope == IFSCOPE_NONE) {
3096 printf("%s->%s ifscope %d ifa_if %s%d\n",
3097 ip_src, ip_dst, ifscope, ifa->ifa_ifp->if_name,
3113 printf("%s->%s ifscope %d ro_if %s%d != "
3115 ip_src, ip_dst, ifscope, rt_ifp->if_name,
3119 printf("%s->%s ifscope %d ro_if %s%d "
3121 ip_src, ip_dst, ifscope, rt_ifp->if_name,
3148 printf("%s->%s ifscope %d (neither ro_if/ifa_if found)\n",
3149 ip_src, ip_dst, ifscope);
3174 ip_bindif(struct inpcb *inp, unsigned int ifscope)
3185 inp->inp_boundif = ifscope;