Home
last modified time | relevance | path

Searched refs:fib6_table (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/include/net/
Dip6_fib.h135 struct fib6_table;
165 struct fib6_table *fib6_table; member
378 struct fib6_table { struct
407 struct fib6_table *, argument
421 struct fib6_table *fib6_get_table(struct net *net, u32 id);
422 struct fib6_table *fib6_new_table(struct net *net, u32 id);
434 int fib6_table_lookup(struct net *net, struct fib6_table *table,
509 struct fib6_table *tb6; in fib6_set_expires_locked()
511 tb6 = f6i->fib6_table; in fib6_set_expires_locked()
525 spin_lock_bh(&f6i->fib6_table->tb6_lock); in fib6_set_expires()
[all …]
Dipv6_stubs.h33 struct fib6_table *(*fib6_get_table)(struct net *net, u32 id);
36 int (*fib6_table_lookup)(struct net *net, struct fib6_table *table,
Dip6_route.h109 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,
/Linux-v6.6/net/ipv6/
Dip6_fib.c58 struct fib6_table *table,
61 struct fib6_table *table,
112 lockdep_is_held(&f6i->fib6_table->tb6_lock)); in fib6_update_sernum()
214 static void fib6_free_table(struct fib6_table *table) in fib6_free_table()
220 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
240 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table()
242 struct fib6_table *table; in fib6_alloc_table()
257 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
259 struct fib6_table *tb; in fib6_new_table()
275 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
[all …]
Daddrconf_core.c145 static struct fib6_table *eafnosupport_fib6_get_table(struct net *net, u32 id) in eafnosupport_fib6_get_table()
151 eafnosupport_fib6_table_lookup(struct net *net, struct fib6_table *table, in eafnosupport_fib6_table_lookup()
Droute.c904 spin_lock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
908 spin_unlock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
1204 struct fib6_table *table, in ip6_pol_route_lookup()
1299 struct fib6_table *table; in __ip6_ins_rt()
1301 table = rt->fib6_table; in __ip6_ins_rt()
1726 spin_lock_bh(&f6i->fib6_table->tb6_lock); in rt6_insert_exception()
1728 spin_unlock_bh(&f6i->fib6_table->tb6_lock); in rt6_insert_exception()
2174 int fib6_table_lookup(struct net *net, struct fib6_table *table, int oif, in fib6_table_lookup()
2201 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
2271 struct fib6_table *table, in ip6_pol_route_input()
[all …]
Dfib6_rules.c164 struct fib6_table *table; in fib6_rule_action_alt()
202 struct fib6_table *table; in __fib6_rule_action()
Dseg6_local.c297 struct fib6_table *table; in seg6_lookup_any_nexthop()
Daddrconf.c2446 struct fib6_table *table; in addrconf_get_prefix_route()
/Linux-v6.6/include/net/netns/
Dipv6.h75 struct fib6_table *fib6_main_tbl;
90 struct fib6_table *fib6_local_tbl;
/Linux-v6.6/include/trace/events/
Dfib6.h16 struct fib6_table *table, const struct flowi6 *flp),
/Linux-v6.6/drivers/net/
Dvrf.c116 struct fib6_table *fib6_table; member
834 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create()
835 if (!vrf->fib6_table) in vrf_rt6_create()
1348 return ip6_pol_route(net, vrf->fib6_table, ifindex, fl6, skb, flags); in vrf_ip6_route_lookup()
/Linux-v6.6/drivers/net/netdevsim/
Dfib.c553 rt->fib6_table->tb6_id); in nsim_fib6_rt_create()
597 rt->fib6_table->tb6_id); in nsim_fib6_rt_lookup()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c7056 u32 tb_id = mlxsw_sp_fix_tb_id(rt->fib6_table->tb6_id); in mlxsw_sp_fib6_entry_type_set_local()
7208 vr = mlxsw_sp_vr_find(mlxsw_sp, rt->fib6_table->tb6_id); in mlxsw_sp_fib6_entry_lookup()
7222 if (rt->fib6_table->tb6_id == cmp_rt->fib6_table->tb6_id && in mlxsw_sp_fib6_entry_lookup()
7244 if (rt->fib6_table->tb6_id == RT_TABLE_MAIN && in mlxsw_sp_fib6_allow_replace()
7245 rt_replaced->fib6_table->tb6_id == RT_TABLE_LOCAL) in mlxsw_sp_fib6_allow_replace()
7270 fib_node = mlxsw_sp_fib_node_get(mlxsw_sp, rt->fib6_table->tb6_id, in mlxsw_sp_router_fib6_replace()
7330 fib_node = mlxsw_sp_fib_node_get(mlxsw_sp, rt->fib6_table->tb6_id, in mlxsw_sp_router_fib6_append()
/Linux-v6.6/net/core/
Dfilter.c5933 struct fib6_table *tb; in bpf_ipv6_fib_lookup()