Searched refs:f6i (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/include/net/ |
A D | ip6_fib.h | 229 struct fib6_info *f6i; member 255 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires() 256 f6i->expires = 0; in fib6_clean_expires() 262 f6i->expires = expires; in fib6_set_expires() 263 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires() 268 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired() 269 return time_after(jiffies, f6i->expires); in fib6_check_expired() 284 fn = rcu_dereference(f6i->fib6_node); in fib6_get_cookie_safe() 329 refcount_inc(&f6i->fib6_ref); in fib6_info_hold() 339 if (f6i && refcount_dec_and_test(&f6i->fib6_ref)) in fib6_info_release() [all …]
|
A D | ip6_route.h | 74 static inline bool rt6_qualify_for_ecmp(const struct fib6_info *f6i) in rt6_qualify_for_ecmp() argument 77 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp() 78 f6i->fib6_nh->fib_nh_gw_family; in rt6_qualify_for_ecmp() 122 int ip6_ins_rt(struct net *net, struct fib6_info *f6i); 123 int ip6_del_rt(struct net *net, struct fib6_info *f6i, bool skip_notify); 125 void rt6_flush_exceptions(struct fib6_info *f6i); 136 if (f6i && f6i->fib6_prefsrc.plen) { in ip6_route_get_saddr() 137 *saddr = f6i->fib6_prefsrc.addr; in ip6_route_get_saddr() 139 struct net_device *dev = f6i ? fib6_info_nh_dev(f6i) : NULL; in ip6_route_get_saddr() 198 int rt6_dump_route(struct fib6_info *f6i, void *p_arg, unsigned int skip); [all …]
|
A D | nexthop.h | 523 static inline struct net_device *fib6_info_nh_dev(struct fib6_info *f6i) in fib6_info_nh_dev() argument 527 fib6_nh = f6i->nh ? nexthop_fib6_nh(f6i->nh) : f6i->fib6_nh; in fib6_info_nh_dev() 533 struct nexthop *nh = res->f6i->nh; in nexthop_path_fib6_result()
|
/linux-6.3-rc2/net/ipv6/ |
A D | route.c | 529 struct fib6_info *f6i = res->f6i; in rt6_device_match() local 793 f6i && f6i != nomatch; in __find_rr_leaf() 818 res->f6i = f6i; in __find_rr_leaf() 834 res->f6i = f6i; in __find_rr_leaf() 1085 struct fib6_info *f6i = res->f6i; in ip6_rt_init_dst() local 1124 struct fib6_info *f6i = res->f6i; in ip6_rt_copy_init() local 1179 struct fib6_info *f6i = res->f6i; in ip6_create_rt_rcu() local 1319 struct fib6_info *f6i = res->f6i; in ip6_rt_cache_alloc() local 1359 struct fib6_info *f6i = res->f6i; in ip6_rt_pcpu_alloc() local 4006 .f6i = f6i in ip6_del_cached_rt_nh() [all …]
|
A D | anycast.c | 260 static struct ifacaddr6 *aca_alloc(struct fib6_info *f6i, in aca_alloc() argument 270 fib6_info_hold(f6i); in aca_alloc() 271 aca->aca_rt = f6i; in aca_alloc() 287 struct fib6_info *f6i; in __ipv6_dev_ac_inc() local 308 f6i = addrconf_f6i_alloc(net, idev, addr, true, GFP_ATOMIC); in __ipv6_dev_ac_inc() 309 if (IS_ERR(f6i)) { in __ipv6_dev_ac_inc() 310 err = PTR_ERR(f6i); in __ipv6_dev_ac_inc() 313 aca = aca_alloc(f6i, addr); in __ipv6_dev_ac_inc() 315 fib6_info_release(f6i); in __ipv6_dev_ac_inc() 331 ip6_ins_rt(net, f6i); in __ipv6_dev_ac_inc()
|
A D | ip6_fib.c | 149 struct fib6_info *f6i; in fib6_info_alloc() local 150 size_t sz = sizeof(*f6i); in fib6_info_alloc() 156 if (!f6i) in fib6_info_alloc() 163 return f6i; in fib6_info_alloc() 170 WARN_ON(f6i->fib6_node); in fib6_info_destroy_rcu() 172 if (f6i->nh) in fib6_info_destroy_rcu() 173 nexthop_put(f6i->nh); in fib6_info_destroy_rcu() 178 kfree(f6i); in fib6_info_destroy_rcu() 716 if (!f6i) in fib6_metric_set() 1010 if (f6i->nh) { in fib6_drop_pcpu_from() [all …]
|
A D | addrconf.c | 1106 if (IS_ERR(f6i)) { in ipv6_add_addr() 1107 err = PTR_ERR(f6i); in ipv6_add_addr() 1108 f6i = NULL; in ipv6_add_addr() 1134 ifa->rt = f6i; in ipv6_add_addr() 1247 struct fib6_info *f6i; in cleanup_prefix_route() local 1252 if (f6i) { in cleanup_prefix_route() 3487 if (IS_ERR(f6i)) in fixup_permanent_addr() 3488 return PTR_ERR(f6i); in fixup_permanent_addr() 3493 ifp->rt = f6i; in fixup_permanent_addr() 4702 struct fib6_info *f6i; in modify_prefix_route() local [all …]
|
A D | fib6_rules.c | 84 if (err || res->f6i == net->ipv6.fib6_null_entry) in fib6_lookup() 187 if (!err && res->f6i != net->ipv6.fib6_null_entry) in fib6_rule_action_alt()
|
/linux-6.3-rc2/include/trace/events/ |
A D | fib6.h | 70 if (res->f6i == net->ipv6.fib6_null_entry) {
|
/linux-6.3-rc2/net/ipv4/ |
A D | nexthop.c | 1314 struct fib6_info *f6i; in fib6_check_nh_list() local 1319 list_for_each_entry(f6i, &old->f6i_list, nh_list) { in fib6_check_nh_list() 1845 struct fib6_info *f6i, *tmp; in __remove_nexthop_fib() local 1859 fib6_info_hold(f6i); in __remove_nexthop_fib() 1860 ipv6_stub->ip6_del_rt(net, f6i, in __remove_nexthop_fib() 1906 struct fib6_info *f6i; in nh_rt_cache_flush() local 1913 list_for_each_entry(f6i, &nh->f6i_list, nh_list) in nh_rt_cache_flush() 1914 ipv6_stub->fib6_update_sernum(net, f6i); in nh_rt_cache_flush() 2183 struct fib6_info *f6i; in __nexthop_replace_notify() local 2201 list_for_each_entry(f6i, &nh->f6i_list, nh_list) in __nexthop_replace_notify() [all …]
|
/linux-6.3-rc2/net/core/ |
A D | filter.c | 5928 if (unlikely(err || IS_ERR_OR_NULL(res.f6i) || in bpf_ipv6_fib_lookup() 5929 res.f6i == net->ipv6.fib6_null_entry)) in bpf_ipv6_fib_lookup() 5964 params->rt_metric = res.f6i->fib6_metric; in bpf_ipv6_fib_lookup()
|
Completed in 63 milliseconds