Home
last modified time | relevance | path

Searched refs:fib6_info (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/include/net/
H A 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;
169 * siblings is a list of fib6_info that have the same metric/weight,
207 struct fib6_info __rcu *from;
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 *f6
[all...]
H A 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 *f6
[all...]
H A Dipv6_stubs.h14 struct fib6_info;
51 void (*fib6_update_sernum)(struct net *net, struct fib6_info *rt);
52 int (*ip6_del_rt)(struct net *net, struct fib6_info *rt, bool skip_notify);
53 void (*fib6_rt_update)(struct net *net, struct fib6_info *rt,
H A Dif_inet6.h59 struct fib6_info *rt;
146 struct fib6_info *aca_rt;
/kernel/linux/linux-6.6/include/net/
H A Dip6_fib.h40 struct fib6_info;
80 struct fib6_info __rcu *leaf;
85 struct fib6_info __rcu *rr_ptr;
164 struct fib6_info { struct
166 struct fib6_info __rcu *fib6_next;
170 * siblings is a list of fib6_info that have the same metric/weight,
211 struct fib6_info __rcu *from;
226 struct fib6_info *f6i;
245 static inline bool fib6_requires_src(const struct fib6_info *rt) in fib6_requires_src()
250 static inline void fib6_clean_expires(struct fib6_info *f6
[all...]
H A Dip6_route.h74 static inline bool rt6_qualify_for_ecmp(const struct fib6_info *f6i) 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);
126 void rt6_age_exceptions(struct fib6_info *f6i, struct fib6_gc_args *gc_args,
129 static inline int ip6_route_get_saddr(struct net *net, struct fib6_info *f6i, in ip6_route_get_saddr()
157 struct fib6_info *addrconf_f6i_alloc(struct net *net, struct inet6_dev *idev,
168 struct fib6_info *rt6_get_dflt_router(struct net *net,
171 struct fib6_info *rt6_add_dflt_router(struct net *net,
198 int rt6_dump_route(struct fib6_info *f6
[all...]
H A Dipv6_stubs.h14 struct fib6_info;
51 void (*fib6_update_sernum)(struct net *net, struct fib6_info *rt);
52 int (*ip6_del_rt)(struct net *net, struct fib6_info *rt, bool skip_notify);
53 void (*fib6_rt_update)(struct net *net, struct fib6_info *rt,
H A Dif_inet6.h59 struct fib6_info *rt;
146 struct fib6_info *aca_rt;
/kernel/linux/linux-5.10/net/ipv6/
H A 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()
329 /* called with rcu lock held; no reference taken on fib6_info */
363 struct fib6_info *rt, in call_fib6_entry_notifier()
376 struct fib6_info *r in call_fib6_multipath_entry_notifier()
[all...]
H A Droute.c107 static size_t rt6_nlmsg_size(struct fib6_info *f6i);
109 struct fib6_info *rt, struct dst_entry *dst,
118 static struct fib6_info *rt6_add_route_info(struct net *net,
123 static struct fib6_info *rt6_get_route_info(struct net *net,
279 static const struct fib6_info fib6_null_entry_template = {
355 struct fib6_info *from; in ip6_dst_destroy()
367 from = xchg((__force struct fib6_info **)&rt->from, NULL); in ip6_dst_destroy()
398 struct fib6_info *from; in rt6_check_expired()
416 struct fib6_info *sibling, *next_sibling; in fib6_select_path()
417 struct fib6_info *matc in fib6_select_path()
5049 struct fib6_info *fib6_info; global() member
[all...]
H A Danycast.c260 static struct ifacaddr6 *aca_alloc(struct fib6_info *f6i, in aca_alloc()
287 struct fib6_info *f6i; in __ipv6_dev_ac_inc()
H A Daddrconf_core.c188 static int eafnosupport_ip6_del_rt(struct net *net, struct fib6_info *rt, in eafnosupport_ip6_del_rt()
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_fib.c45 int (*func)(struct fib6_info *, void *arg);
57 static struct fib6_info *fib6_find_prefix(struct net *net,
107 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
147 struct fib6_info *fib6_info_alloc(gfp_t gfp_flags, bool with_fib6_nh) in fib6_info_alloc()
149 struct fib6_info *f6i; in fib6_info_alloc()
168 struct fib6_info *f6i = container_of(head, struct fib6_info, rcu); in fib6_info_destroy_rcu()
330 /* called with rcu lock held; no reference taken on fib6_info */
364 struct fib6_info *rt, in call_fib6_entry_notifier()
377 struct fib6_info *r in call_fib6_multipath_entry_notifier()
[all...]
H A Droute.c108 static size_t rt6_nlmsg_size(struct fib6_info *f6i);
110 struct fib6_info *rt, struct dst_entry *dst,
119 static struct fib6_info *rt6_add_route_info(struct net *net,
124 static struct fib6_info *rt6_get_route_info(struct net *net,
285 static const struct fib6_info fib6_null_entry_template = {
358 struct fib6_info *from; in ip6_dst_destroy()
370 from = xchg((__force struct fib6_info **)&rt->from, NULL); in ip6_dst_destroy()
399 struct fib6_info *from; in rt6_check_expired()
417 struct fib6_info *sibling, *next_sibling; in fib6_select_path()
418 struct fib6_info *matc in fib6_select_path()
5142 struct fib6_info *fib6_info; global() member
[all...]
H A Danycast.c260 static struct ifacaddr6 *aca_alloc(struct fib6_info *f6i, in aca_alloc()
287 struct fib6_info *f6i; in __ipv6_dev_ac_inc()
/kernel/linux/linux-6.6/drivers/net/netdevsim/
H A Dfib.c96 struct fib6_info *rt;
100 struct fib6_info **rt_arr;
483 const struct fib6_info *rt) in nsim_fib6_rt_nh_find()
496 struct fib6_info *rt) in nsim_fib6_rt_nh_add()
513 static void nsim_rt6_release(struct fib6_info *rt) in nsim_rt6_release()
518 static void nsim_rt6_release(struct fib6_info *rt) in nsim_rt6_release()
524 const struct fib6_info *rt) in nsim_fib6_rt_nh_del()
540 struct fib6_info **rt_arr, unsigned int nrt6) in nsim_fib6_rt_create()
542 struct fib6_info *rt = rt_arr[0]; in nsim_fib6_rt_create()
556 * up from several fib6_info struct in nsim_fib6_rt_create()
[all...]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
H A 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()
477 * up from several fib6_info structs (one for each nexthop), so we 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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c16 struct fib6_info *rt = ctx->rt; in dump_ipv6_route()
H A Dbpf_iter.h50 struct fib6_info *rt;
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c15 struct fib6_info *rt = ctx->rt; in dump_ipv6_route()
H A Dbpf_iter.h60 struct fib6_info *rt;
/kernel/linux/linux-5.10/include/net/netns/
H A Dipv6.h71 struct fib6_info *fib6_null_entry;
/kernel/linux/linux-6.6/include/net/netns/
H A Dipv6.h70 struct fib6_info *fib6_null_entry;
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c395 struct fib6_info *rt;
4146 struct fib6_info *rt = mlxsw_sp_rt6->rt; in mlxsw_sp_rt6_nexthop()
5005 static bool mlxsw_sp_fib6_rt_should_ignore(const struct fib6_info *rt) in mlxsw_sp_fib6_rt_should_ignore()
5020 static struct mlxsw_sp_rt6 *mlxsw_sp_rt6_create(struct fib6_info *rt) in mlxsw_sp_rt6_create()
5039 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release()
5044 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release()
5058 static struct fib6_info *
5067 const struct fib6_info *rt) in mlxsw_sp_fib6_entry_rt_find()
5080 const struct fib6_info *rt, in mlxsw_sp_nexthop6_ipip_type()
5090 const struct fib6_info *r in mlxsw_sp_nexthop6_type_init()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c499 struct fib6_info *rt;
5732 struct fib6_info *rt = mlxsw_sp_rt6->rt; in mlxsw_sp_rt6_nexthop()
5813 struct fib6_info **rt_arr, in mlxsw_sp_fib6_offload_failed_flag_set()
5828 struct fib6_info **rt_arr, in mlxsw_sp_fib6_offload_failed_flag_set()
6639 static bool mlxsw_sp_fib6_rt_should_ignore(const struct fib6_info *rt) in mlxsw_sp_fib6_rt_should_ignore()
6654 static struct mlxsw_sp_rt6 *mlxsw_sp_rt6_create(struct fib6_info *rt) in mlxsw_sp_rt6_create()
6673 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release()
6678 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release()
6693 static struct fib6_info *
6702 const struct fib6_info *r in mlxsw_sp_fib6_entry_rt_find()
[all...]

Completed in 49 milliseconds

12