• Home
  • Raw
  • Download

Lines Matching refs:fi

1397 	struct fib_info *fi = res->fi;  in ip_mtu_from_fib_result()  local
1401 fi->fib_metrics->metrics[RTAX_LOCK - 1] & (1 << RTAX_MTU)) in ip_mtu_from_fib_result()
1402 mtu = fi->fib_mtu; in ip_mtu_from_fib_result()
1565 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop() argument
1570 if (fi) { in rt_set_nexthop()
1583 ip_dst_init_metrics(&rt->dst, fi->fib_metrics); in rt_set_nexthop()
1813 do_cache = res->fi && !itag; in __mkroute_input()
1864 rt_set_nexthop(rth, daddr, res, fnhe, res->fi, res->type, itag, in __mkroute_input()
2016 if (res->fi && fib_info_num_path(res->fi) > 1) { in ip_mkroute_input()
2017 int h = fib_multipath_hash(res->fi->fib_net, NULL, skb, hkeys); in ip_mkroute_input()
2072 res->fi = NULL; in ip_route_input_slow()
2168 do_cache &= res->fi && !itag; in ip_route_input_slow()
2219 res->fi = NULL; in ip_route_input_slow()
2319 struct fib_info *fi = res->fi; in __mkroute_output() local
2349 fi = NULL; in __mkroute_output()
2361 if (fi && res->prefixlen < 4) in __mkroute_output()
2362 fi = NULL; in __mkroute_output()
2378 do_cache &= fi != NULL; in __mkroute_output()
2379 if (fi) { in __mkroute_output()
2432 rt_set_nexthop(rth, fl4->daddr, res, fnhe, fi, type, 0, do_cache); in __mkroute_output()
2448 .fi = NULL, in ip_route_output_key_hash()
2572 res->fi = NULL; in ip_route_output_key_hash_rcu()
2607 if (res->fi->fib_prefsrc) in ip_route_output_key_hash_rcu()
2608 fl4->saddr = res->fi->fib_prefsrc; in ip_route_output_key_hash_rcu()
2918 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe() argument
2924 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_dump_info_fnhe()
2925 struct fib_nh_common *nhc = fib_info_nhc(fi, nhsel); in fib_dump_info_fnhe()
3187 if (!res.fi) { in inet_rtm_getroute()
3196 fl4.flowi4_tos, res.fi, 0); in inet_rtm_getroute()