Lines Matching refs:fi
1394 struct fib_info *fi, u16 type, u32 itag) in rt_set_nexthop() argument
1398 if (fi) { in rt_set_nexthop()
1405 dst_init_metrics(&rt->dst, fi->fib_metrics, true); in rt_set_nexthop()
1602 do_cache = res->fi && !itag; in __mkroute_input()
1668 rt_set_nexthop(rth, daddr, res, fnhe, res->fi, res->type, itag); in __mkroute_input()
1683 if (res->fi && res->fi->fib_nhs > 1) in ip_mkroute_input()
1727 res.fi = NULL; in ip_route_input_slow()
1805 if (res.fi) { in ip_route_input_slow()
1856 res.fi = NULL; in ip_route_input_slow()
1937 struct fib_info *fi = res->fi; in __mkroute_output() local
1965 fi = NULL; in __mkroute_output()
1977 if (fi && res->prefixlen < 4) in __mkroute_output()
1978 fi = NULL; in __mkroute_output()
1982 do_cache &= fi != NULL; in __mkroute_output()
2058 rt_set_nexthop(rth, fl4->daddr, res, fnhe, fi, type, 0); in __mkroute_output()
2077 res.fi = NULL; in __ip_route_output_key()
2178 res.fi = NULL; in __ip_route_output_key()
2211 if (res.fi->fib_prefsrc) in __ip_route_output_key()
2212 fl4->saddr = res.fi->fib_prefsrc; in __ip_route_output_key()
2223 if (res.fi->fib_nhs > 1 && fl4->flowi4_oif == 0) in __ip_route_output_key()