Lines Matching refs:iif
627 rth->fl.iif && rth->u.dst.rt_next; in rt_fast_clean()
672 if (!rt->fl.iif || in rt_score()
690 (fl1->iif ^ fl2->iif)) == 0); in compare_hash_inputs()
701 (fl1->iif ^ fl2->iif)) == 0; in compare_keys()
1176 if (rt->rt_type == RTN_UNICAST || rt->fl.iif == 0) { in rt_intern_hash()
1361 rth->fl.iif != 0 || in ip_rt_redirect()
1627 rth->fl.iif != 0 || in ip_rt_frag_needed()
1749 if (rt->fl.iif == 0) in ip_rt_get_source()
1858 rth->fl.iif = dev->ifindex; in ip_route_input_mc()
1996 rth->fl.iif = in_dev->dev->ifindex; in __mkroute_input()
2040 hash = rt_hash(daddr, saddr, fl->iif, in ip_mkroute_input()
2067 .iif = dev->ifindex }; in ip_route_input_slow()
2183 rth->fl.iif = dev->ifindex; in ip_route_input_slow()
2197 hash = rt_hash(daddr, saddr, fl.iif, rt_genid(net)); in ip_route_input_slow()
2242 int iif = dev->ifindex; in ip_route_input() local
2251 hash = rt_hash(daddr, saddr, iif, rt_genid(net)); in ip_route_input()
2258 (rth->fl.iif ^ iif) | in ip_route_input()
2466 .iif = net->loopback_dev->ifindex, in ip_route_output_slow()
2670 rth->fl.iif == 0 && in __ip_route_output_key()
2821 if (rt->fl.iif) in rt_fill_info()
2842 if (rt->fl.iif) { in rt_fill_info()
2862 NLA_PUT_U32(skb, RTA_IIF, rt->fl.iif); in rt_fill_info()
2884 u32 iif; in inet_rtm_getroute() local
2912 iif = tb[RTA_IIF] ? nla_get_u32(tb[RTA_IIF]) : 0; in inet_rtm_getroute()
2914 if (iif) { in inet_rtm_getroute()
2917 dev = __dev_get_by_index(net, iif); in inet_rtm_getroute()