Lines Matching refs:fi
1399 struct fib_info *fi, u16 type, u32 itag) in rt_set_nexthop() argument
1403 if (fi) { in rt_set_nexthop()
1410 dst_init_metrics(&rt->dst, fi->fib_metrics, true); in rt_set_nexthop()
1619 do_cache = res->fi && !itag; in __mkroute_input()
1678 rt_set_nexthop(rth, daddr, res, fnhe, res->fi, res->type, itag); in __mkroute_input()
1743 if (res->fi && res->fi->fib_nhs > 1) { in ip_mkroute_input()
1802 res.fi = NULL; in ip_route_input_slow()
1882 if (res.fi) { in ip_route_input_slow()
1926 res.fi = NULL; in ip_route_input_slow()
2006 struct fib_info *fi = res->fi; in __mkroute_output() local
2034 fi = NULL; in __mkroute_output()
2046 if (fi && res->prefixlen < 4) in __mkroute_output()
2047 fi = NULL; in __mkroute_output()
2059 fi = NULL; in __mkroute_output()
2063 do_cache &= fi != NULL; in __mkroute_output()
2129 rt_set_nexthop(rth, fl4->daddr, res, fnhe, fi, type, 0); in __mkroute_output()
2152 res.fi = NULL; in __ip_route_output_key_hash()
2259 res.fi = NULL; in __ip_route_output_key_hash()
2293 if (res.fi->fib_prefsrc) in __ip_route_output_key_hash()
2294 fl4->saddr = res.fi->fib_prefsrc; in __ip_route_output_key_hash()