/kernel/linux/linux-5.10/include/net/ |
D | ip6_fib.h | 225 struct fib6_info *f6i; member 249 static inline void fib6_clean_expires(struct fib6_info *f6i) in fib6_clean_expires() argument 251 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires() 252 f6i->expires = 0; in fib6_clean_expires() 255 static inline void fib6_set_expires(struct fib6_info *f6i, in fib6_set_expires() argument 258 f6i->expires = expires; in fib6_set_expires() 259 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires() 262 static inline bool fib6_check_expired(const struct fib6_info *f6i) in fib6_check_expired() argument 264 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired() 265 return time_after(jiffies, f6i->expires); in fib6_check_expired() [all …]
|
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() 126 int ip6_ins_rt(struct net *net, struct fib6_info *f6i); 127 int ip6_del_rt(struct net *net, struct fib6_info *f6i, bool skip_notify); 129 void rt6_flush_exceptions(struct fib6_info *f6i); 130 void rt6_age_exceptions(struct fib6_info *f6i, struct fib6_gc_args *gc_args, 133 static inline int ip6_route_get_saddr(struct net *net, struct fib6_info *f6i, in ip6_route_get_saddr() argument 140 if (f6i && f6i->fib6_prefsrc.plen) { in ip6_route_get_saddr() 141 *saddr = f6i->fib6_prefsrc.addr; in ip6_route_get_saddr() [all …]
|
D | nexthop.h | 409 static inline struct net_device *fib6_info_nh_dev(struct fib6_info *f6i) in fib6_info_nh_dev() argument 413 fib6_nh = f6i->nh ? nexthop_fib6_nh(f6i->nh) : f6i->fib6_nh; in fib6_info_nh_dev() 419 struct nexthop *nh = res->f6i->nh; in nexthop_path_fib6_result()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | route.c | 106 static size_t rt6_nlmsg_size(struct fib6_info *f6i); 416 struct fib6_info *match = res->f6i; in fib6_select_path() 454 res->f6i = match; in fib6_select_path() 525 struct fib6_info *f6i = res->f6i; in rt6_device_match() local 530 if (unlikely(f6i->nh)) { in rt6_device_match() 531 nh = nexthop_fib6_nh(f6i->nh); in rt6_device_match() 532 if (nexthop_is_blackhole(f6i->nh)) in rt6_device_match() 535 nh = f6i->fib6_nh; in rt6_device_match() 541 for (spf6i = f6i; spf6i; spf6i = rcu_dereference(spf6i->fib6_next)) { in rt6_device_match() 555 res->f6i = spf6i; in rt6_device_match() [all …]
|
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()
|
D | ip6_fib.c | 106 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum() argument 110 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum() 111 lockdep_is_held(&f6i->fib6_table->tb6_lock)); in fib6_update_sernum() 148 struct fib6_info *f6i; in fib6_info_alloc() local 149 size_t sz = sizeof(*f6i); in fib6_info_alloc() 154 f6i = kzalloc(sz, gfp_flags); in fib6_info_alloc() 155 if (!f6i) in fib6_info_alloc() 159 INIT_LIST_HEAD(&f6i->fib6_siblings); in fib6_info_alloc() 160 refcount_set(&f6i->fib6_ref, 1); in fib6_info_alloc() 162 return f6i; in fib6_info_alloc() [all …]
|
D | addrconf.c | 1055 struct fib6_info *f6i = NULL; in ipv6_add_addr() local 1098 f6i = addrconf_f6i_alloc(net, idev, cfg->pfx, false, gfp_flags); in ipv6_add_addr() 1099 if (IS_ERR(f6i)) { in ipv6_add_addr() 1100 err = PTR_ERR(f6i); in ipv6_add_addr() 1101 f6i = NULL; in ipv6_add_addr() 1126 ifa->rt = f6i; in ipv6_add_addr() 1160 fib6_info_release(f6i); in ipv6_add_addr() 1239 struct fib6_info *f6i; in cleanup_prefix_route() local 1241 f6i = addrconf_get_prefix_route(del_peer ? &ifp->peer_addr : &ifp->addr, in cleanup_prefix_route() 1244 if (f6i) { in cleanup_prefix_route() [all …]
|
D | fib6_rules.c | 83 if (err || res->f6i == net->ipv6.fib6_null_entry) in fib6_lookup() 186 if (!err && res->f6i != net->ipv6.fib6_null_entry) in fib6_rule_action_alt()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | nexthop.c | 673 struct fib6_info *f6i; in fib6_check_nh_list() local 678 list_for_each_entry(f6i, &old->f6i_list, nh_list) { in fib6_check_nh_list() 679 if (check_src_addr(&f6i->fib6_src.addr, extack) < 0) in fib6_check_nh_list() 869 struct fib6_info *f6i, *tmp; in __remove_nexthop_fib() local 881 list_for_each_entry_safe(f6i, tmp, &nh->f6i_list, nh_list) { in __remove_nexthop_fib() 883 fib6_info_hold(f6i); in __remove_nexthop_fib() 884 ipv6_stub->ip6_del_rt(net, f6i, in __remove_nexthop_fib() 930 struct fib6_info *f6i; in nh_rt_cache_flush() local 937 list_for_each_entry(f6i, &nh->f6i_list, nh_list) in nh_rt_cache_flush() 938 ipv6_stub->fib6_update_sernum(net, f6i); in nh_rt_cache_flush() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | fib6.h | 70 if (res->f6i == net->ipv6.fib6_null_entry) {
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 5476 if (unlikely(err || IS_ERR_OR_NULL(res.f6i) || in bpf_ipv6_fib_lookup() 5477 res.f6i == net->ipv6.fib6_null_entry)) in bpf_ipv6_fib_lookup() 5510 params->rt_metric = res.f6i->fib6_metric; in bpf_ipv6_fib_lookup()
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 363699 - struct fib6_info *f6i, 363703 - u32 (*ip6_mtu_from_fib6)(struct fib6_info *f6i, struct in6_addr *daddr, 363767 + struct fib6_info *f6i, 363771 + u32 (*ip6_mtu_from_fib6)(struct fib6_info *f6i, struct in6_addr *daddr,
|