Home
last modified time | relevance | path

Searched refs:fib6_info (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/include/net/
Dip6_fib.h39 struct fib6_info;
79 struct fib6_info __rcu *leaf;
84 struct fib6_info __rcu *rr_ptr;
163 struct fib6_info { struct
165 struct fib6_info __rcu *fib6_next; argument
207 struct fib6_info __rcu *from; argument
225 struct fib6_info *f6i;
244 static inline bool fib6_requires_src(const struct fib6_info *rt) in fib6_requires_src()
249 static inline void fib6_clean_expires(struct fib6_info *f6i) in fib6_clean_expires()
255 static inline void fib6_set_expires(struct fib6_info *f6i, in fib6_set_expires()
[all …]
Dip6_route.h74 static inline bool rt6_qualify_for_ecmp(const struct fib6_info *f6i) 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()
161 struct fib6_info *addrconf_f6i_alloc(struct net *net, struct inet6_dev *idev,
172 struct fib6_info *rt6_get_dflt_router(struct net *net,
175 struct fib6_info *rt6_add_dflt_router(struct net *net,
201 int rt6_dump_route(struct fib6_info *f6i, void *p_arg, unsigned int skip);
[all …]
Dipv6_stubs.h14 struct fib6_info;
50 void (*fib6_update_sernum)(struct net *net, struct fib6_info *rt);
51 int (*ip6_del_rt)(struct net *net, struct fib6_info *rt, bool skip_notify);
52 void (*fib6_rt_update)(struct net *net, struct fib6_info *rt,
Dif_inet6.h63 struct fib6_info *rt;
142 struct fib6_info *aca_rt;
Dnexthop.h385 static inline struct net_device *fib6_info_nh_dev(struct fib6_info *f6i) in fib6_info_nh_dev()
/Linux-v5.10/net/ipv6/
Dip6_fib.c43 int (*func)(struct fib6_info *, void *arg);
55 static struct fib6_info *fib6_find_prefix(struct net *net,
106 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
146 struct fib6_info *fib6_info_alloc(gfp_t gfp_flags, bool with_fib6_nh) in fib6_info_alloc()
148 struct fib6_info *f6i; in fib6_info_alloc()
167 struct fib6_info *f6i = container_of(head, struct fib6_info, rcu); in fib6_info_destroy_rcu()
363 struct fib6_info *rt, in call_fib6_entry_notifier()
376 struct fib6_info *rt, in call_fib6_multipath_entry_notifier()
391 struct fib6_info *rt, in call_fib6_entry_notifiers()
405 struct fib6_info *rt, in call_fib6_multipath_entry_notifiers()
[all …]
Droute.c105 static size_t rt6_nlmsg_size(struct fib6_info *f6i);
107 struct fib6_info *rt, struct dst_entry *dst,
116 static struct fib6_info *rt6_add_route_info(struct net *net,
121 static struct fib6_info *rt6_get_route_info(struct net *net,
295 static const struct fib6_info fib6_null_entry_template = {
371 struct fib6_info *from; in ip6_dst_destroy()
383 from = xchg((__force struct fib6_info **)&rt->from, NULL); in ip6_dst_destroy()
414 struct fib6_info *from; in rt6_check_expired()
432 struct fib6_info *sibling, *next_sibling; in fib6_select_path()
433 struct fib6_info *match = res->f6i; in fib6_select_path()
[all …]
Danycast.c260 static struct ifacaddr6 *aca_alloc(struct fib6_info *f6i, in aca_alloc()
287 struct fib6_info *f6i; in __ipv6_dev_ac_inc()
Daddrconf_core.c188 static int eafnosupport_ip6_del_rt(struct net *net, struct fib6_info *rt, in eafnosupport_ip6_del_rt()
Daddrconf.c168 static struct fib6_info *addrconf_get_prefix_route(const struct in6_addr *pfx,
1044 struct fib6_info *f6i = NULL; in ipv6_add_addr()
1232 struct fib6_info *f6i; in cleanup_prefix_route()
2416 static struct fib6_info *addrconf_get_prefix_route(const struct in6_addr *pfx, in addrconf_get_prefix_route()
2423 struct fib6_info *rt = NULL; in addrconf_get_prefix_route()
2708 struct fib6_info *rt; in addrconf_prefix_rcv()
3418 struct fib6_info *f6i, *prev; in fixup_permanent_addr()
3785 struct fib6_info *rt = NULL; in addrconf_ifdown()
4640 struct fib6_info *f6i; in modify_prefix_route()
6071 struct fib6_info *rt; in __ipv6_ifa_notify()
Dndisc.c1175 struct fib6_info *rt = NULL; in ndisc_router_discovery()
Dip6_output.c1019 struct fib6_info *from; in ip6_dst_lookup_tail()
/Linux-v5.10/drivers/net/netdevsim/
Dfib.c79 struct fib6_info *rt;
413 const struct fib6_info *rt) in nsim_fib6_rt_nh_find()
426 struct fib6_info *rt) in nsim_fib6_rt_nh_add()
443 const struct fib6_info *rt) in nsim_fib6_rt_nh_del()
463 struct fib6_info *iter, *rt = fen6_info->rt; in nsim_fib6_rt_create()
525 nsim_fib6_rt_lookup(struct rhashtable *fib_rt_ht, const struct fib6_info *rt) in nsim_fib6_rt_lookup()
542 struct fib6_info *iter, *rt = fen6_info->rt; in nsim_fib6_rt_append()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c16 struct fib6_info *rt = ctx->rt; in dump_ipv6_route()
Dbpf_iter.h50 struct fib6_info *rt;
/Linux-v5.10/include/net/netns/
Dipv6.h71 struct fib6_info *fib6_null_entry;
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c395 struct fib6_info *rt;
4143 struct fib6_info *rt = mlxsw_sp_rt6->rt; in mlxsw_sp_rt6_nexthop()
5002 static bool mlxsw_sp_fib6_rt_should_ignore(const struct fib6_info *rt) in mlxsw_sp_fib6_rt_should_ignore()
5017 static struct mlxsw_sp_rt6 *mlxsw_sp_rt6_create(struct fib6_info *rt) in mlxsw_sp_rt6_create()
5036 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release()
5041 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release()
5055 static struct fib6_info *
5064 const struct fib6_info *rt) in mlxsw_sp_fib6_entry_rt_find()
5077 const struct fib6_info *rt, in mlxsw_sp_nexthop6_ipip_type()
5087 const struct fib6_info *rt) in mlxsw_sp_nexthop6_type_init()
[all …]
/Linux-v5.10/net/ipv4/
Dnexthop.c673 struct fib6_info *f6i; in fib6_check_nh_list()
869 struct fib6_info *f6i, *tmp; in __remove_nexthop_fib()
929 struct fib6_info *f6i; in nh_rt_cache_flush()
1028 struct fib6_info *f6i; in __nexthop_replace_notify()