Searched refs:f6i (Results 1 – 5 of 5) sorted by relevance
| /linux/net/ipv6/ |
| H A D | route.c | 109 static size_t rt6_nlmsg_size(struct fib6_info *f6i); 442 struct fib6_info *first, *match = res->f6i; in fib6_select_path() 494 res->f6i = match; in fib6_select_path() 565 struct fib6_info *f6i = res->f6i; in rt6_device_match() local 570 if (unlikely(f6i->nh)) { in rt6_device_match() 571 nh = nexthop_fib6_nh(f6i->nh); in rt6_device_match() 572 if (nexthop_is_blackhole(f6i->nh)) in rt6_device_match() 575 nh = f6i->fib6_nh; in rt6_device_match() 581 for (spf6i = f6i; spf6i; spf6i = rcu_dereference(spf6i->fib6_next)) { in rt6_device_match() 595 res->f6i = spf6i; in rt6_device_match() [all …]
|
| H A D | ip6_fib.c | 107 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum() argument 111 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum() 112 lockdep_is_held(&f6i->fib6_table->tb6_lock)); in fib6_update_sernum() 149 struct fib6_info *f6i; in fib6_info_alloc() local 150 size_t sz = sizeof(*f6i); in fib6_info_alloc() 155 f6i = kzalloc(sz, gfp_flags); in fib6_info_alloc() 156 if (!f6i) in fib6_info_alloc() 160 INIT_LIST_HEAD(&f6i->fib6_siblings); in fib6_info_alloc() 161 refcount_set(&f6i->fib6_ref, 1); in fib6_info_alloc() 163 INIT_HLIST_NODE(&f6i in fib6_info_alloc() 170 struct fib6_info *f6i = container_of(head, struct fib6_info, rcu); fib6_info_destroy_rcu() local 728 fib6_metric_set(struct fib6_info * f6i,int metric,u32 val) fib6_metric_set() argument 1011 fib6_drop_pcpu_from(struct fib6_info * f6i) fib6_drop_pcpu_from() argument 1404 fib6_update_sernum_stub(struct net * net,struct fib6_info * f6i) fib6_update_sernum_stub() argument [all...] |
| H A D | fib6_rules.c | 88 if (err || res->f6i == net->ipv6.fib6_null_entry) in fib6_lookup() 191 if (!err && res->f6i != net->ipv6.fib6_null_entry) in fib6_rule_action_alt()
|
| /linux/include/net/ |
| H A D | nexthop.h | 532 static inline struct net_device *fib6_info_nh_dev(struct fib6_info *f6i) in fib6_info_nh_dev() 536 fib6_nh = f6i->nh ? nexthop_fib6_nh(f6i->nh) : f6i->fib6_nh; in fib6_info_nh_dev() 542 struct nexthop *nh = res->f6i->nh; in nexthop_path_fib6_result() 530 fib6_info_nh_dev(struct fib6_info * f6i) fib6_info_nh_dev() argument
|
| /linux/net/core/ |
| H A D | filter.c | 6301 if (unlikely(err || IS_ERR_OR_NULL(res.f6i) || in bpf_ipv6_fib_lookup() 6302 res.f6i == net->ipv6.fib6_null_entry)) in bpf_ipv6_fib_lookup() 6337 params->rt_metric = res.f6i->fib6_metric; in bpf_ipv6_fib_lookup() 6341 if (res.f6i->fib6_prefsrc.plen) { in bpf_ipv6_fib_lookup() 6342 *src = res.f6i->fib6_prefsrc.addr; in bpf_ipv6_fib_lookup()
|