| /linux/include/net/ |
| H A D | ip6_fib.h | 34 struct fib6_info; 74 struct fib6_info __rcu *leaf; 79 struct fib6_info __rcu *rr_ptr; 158 struct fib6_info { struct 160 struct fib6_info __rcu *fib6_next; argument 209 struct fib6_info __rcu *from; argument 224 struct fib6_info *f6i; 245 static inline bool fib6_requires_src(const struct fib6_info *rt) in fib6_requires_src() 253 static inline void fib6_clean_expires(struct fib6_info *f6i) in fib6_clean_expires() 262 static inline void fib6_set_expires(struct fib6_info *f6i, in fib6_set_expires() [all …]
|
| H A D | ip6_route.h | 73 static inline bool rt6_qualify_for_ecmp(const struct fib6_info *f6i) in rt6_qualify_for_ecmp() 121 int ip6_ins_rt(struct net *net, struct fib6_info *f6i); 122 int ip6_del_rt(struct net *net, struct fib6_info *f6i, bool skip_notify); 124 void rt6_flush_exceptions(struct fib6_info *f6i); 125 void rt6_age_exceptions(struct fib6_info *f6i, struct fib6_gc_args *gc_args, 128 static inline int ip6_route_get_saddr(struct net *net, struct fib6_info *f6i, in ip6_route_get_saddr() 164 struct fib6_info *addrconf_f6i_alloc(struct net *net, struct inet6_dev *idev, 175 struct fib6_info *rt6_get_dflt_router(struct net *net, 178 struct fib6_info *rt6_add_dflt_router(struct net *net, 206 int rt6_dump_route(struct fib6_info *f6i, void *p_arg, unsigned int skip); [all …]
|
| H A D | ipv6_stubs.h | 15 struct fib6_info; 52 void (*fib6_update_sernum)(struct net *net, struct fib6_info *rt); 53 int (*ip6_del_rt)(struct net *net, struct fib6_info *rt, bool skip_notify); 54 void (*fib6_rt_update)(struct net *net, struct fib6_info *rt,
|
| H A D | if_inet6.h | 59 struct fib6_info *rt; 146 struct fib6_info *aca_rt;
|
| H A D | nexthop.h | 532 static inline struct net_device *fib6_info_nh_dev(struct fib6_info *f6i) in fib6_info_nh_dev()
|
| /linux/net/ipv6/ |
| H A D | ip6_fib.c | 45 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() 170 struct fib6_info *f6i = container_of(head, struct fib6_info, rcu); in fib6_info_destroy_rcu() 372 struct fib6_info *rt, in call_fib6_entry_notifier() 385 struct fib6_info *rt, in call_fib6_multipath_entry_notifier() 400 struct fib6_info *rt, in call_fib6_entry_notifiers() 414 struct fib6_info *rt, in call_fib6_multipath_entry_notifiers() [all …]
|
| H A D | route.c | 109 static size_t rt6_nlmsg_size(struct fib6_info *f6i); 111 struct fib6_info *rt, struct dst_entry *dst, 120 static struct fib6_info *rt6_add_route_info(struct net *net, 125 static struct fib6_info *rt6_get_route_info(struct net *net, 284 static const struct fib6_info fib6_null_entry_template = { 357 struct fib6_info *from; in ip6_dst_destroy() 377 struct fib6_info *from; in ip6_dst_ifdown() 400 struct fib6_info *from; in rt6_check_expired() 414 static struct fib6_info * 415 rt6_multipath_first_sibling_rcu(const struct fib6_info *rt) in rt6_multipath_first_sibling_rcu() [all …]
|
| H A D | anycast.c | 277 static struct ifacaddr6 *aca_alloc(struct fib6_info *f6i, in aca_alloc() 335 struct fib6_info *f6i; in __ipv6_dev_ac_inc()
|
| H A D | addrconf_core.c | 188 static int eafnosupport_ip6_del_rt(struct net *net, struct fib6_info *rt, in eafnosupport_ip6_del_rt()
|
| H A D | addrconf.c | 162 static struct fib6_info *addrconf_get_prefix_route(const struct in6_addr *pfx, 1074 struct fib6_info *f6i = NULL; in ipv6_add_addr() 1268 struct fib6_info *f6i; in cleanup_prefix_route() 2491 static struct fib6_info *addrconf_get_prefix_route(const struct in6_addr *pfx, in addrconf_get_prefix_route() 2498 struct fib6_info *rt = NULL; in addrconf_get_prefix_route() 2828 struct fib6_info *rt; in addrconf_prefix_rcv() 3585 struct fib6_info *f6i, *prev; in fixup_permanent_addr() 3947 struct fib6_info *rt = NULL; in addrconf_ifdown() 4816 struct fib6_info *f6i; in modify_prefix_route() 6305 struct fib6_info *rt; in __ipv6_ifa_notify()
|
| H A D | ndisc.c | 1238 struct fib6_info *rt = NULL; in ndisc_router_discovery()
|
| H A D | ip6_output.c | 1125 struct fib6_info *from; in ip6_dst_lookup_tail()
|
| /linux/drivers/net/netdevsim/ |
| H A D | fib.c | 96 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() 590 nsim_fib6_rt_lookup(struct rhashtable *fib_rt_ht, const struct fib6_info *rt) in nsim_fib6_rt_lookup() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_iter_ipv6_route.c | 15 struct fib6_info *rt = ctx->rt; in dump_ipv6_route()
|
| /linux/include/net/netns/ |
| H A D | ipv6.h | 75 struct fib6_info *fib6_null_entry;
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 500 struct fib6_info *rt; 5981 struct fib6_info *rt = mlxsw_sp_rt6->rt; in mlxsw_sp_rt6_nexthop() 6062 struct fib6_info **rt_arr, in mlxsw_sp_fib6_offload_failed_flag_set() 6077 struct fib6_info **rt_arr, in mlxsw_sp_fib6_offload_failed_flag_set() 6888 static bool mlxsw_sp_fib6_rt_should_ignore(const struct fib6_info *rt) in mlxsw_sp_fib6_rt_should_ignore() 6903 static struct mlxsw_sp_rt6 *mlxsw_sp_rt6_create(struct fib6_info *rt) in mlxsw_sp_rt6_create() 6922 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release() 6927 static void mlxsw_sp_rt6_release(struct fib6_info *rt) in mlxsw_sp_rt6_release() 6942 static struct fib6_info * 6951 const struct fib6_info *rt) in mlxsw_sp_fib6_entry_rt_find() [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 196 static bool __prestera_fi6_is_direct(struct fib6_info *fi) in __prestera_fi6_is_direct() 204 static bool prestera_fi6_is_direct(struct fib6_info *fi) in prestera_fi6_is_direct() 212 static bool prestera_fi6_is_nh(struct fib6_info *fi) in prestera_fi6_is_nh() 322 struct fib6_info *iter; in prestera_kern_fib_info_nhc()
|
| /linux/net/ipv4/ |
| H A D | nexthop.c | 1599 struct fib6_info *f6i; in fib6_check_nh_list() 2147 struct fib6_info *f6i; in __remove_nexthop_fib() 2219 struct fib6_info *f6i; in nh_rt_cache_flush() 2503 struct fib6_info *f6i; in __nexthop_replace_notify()
|