Lines Matching refs:rt
240 for (rt = rcu_dereference((fn)->leaf); rt; \
241 rt = rcu_dereference(rt->fib6_next))
244 for (rt = (w)->leaf; rt; \
245 rt = rcu_dereference_protected(rt->fib6_next, 1))
254 static inline bool fib6_requires_src(const struct fib6_info *rt) in fib6_requires_src() argument
256 return rt->fib6_src.plen > 0; in fib6_requires_src()
308 static inline u32 rt6_get_cookie(const struct rt6_info *rt) in rt6_get_cookie() argument
313 if (rt->sernum) in rt6_get_cookie()
314 return rt->sernum; in rt6_get_cookie()
318 from = rcu_dereference(rt->from); in rt6_get_cookie()
327 static inline void ip6_rt_put(struct rt6_info *rt) in ip6_rt_put() argument
333 dst_release(&rt->dst); in ip6_rt_put()
435 struct fib6_info *rt; member
478 int fib6_add(struct fib6_node *root, struct fib6_info *rt,
480 int fib6_del(struct fib6_info *rt, struct nl_info *info);
483 void rt6_get_prefsrc(const struct rt6_info *rt, struct in6_addr *addr) in rt6_get_prefsrc() argument
489 from = rcu_dereference(rt->from); in rt6_get_prefsrc()
506 struct fib6_info *rt,
510 struct fib6_info *rt,
513 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt);
514 void fib6_rt_update(struct net *net, struct fib6_info *rt,
516 void inet6_rt_notify(int event, struct fib6_info *rt, struct nl_info *info,
580 void fib6_update_sernum(struct net *net, struct fib6_info *rt);
581 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt);
595 __bpf_md_ptr(struct fib6_info *, rt);