Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A Dip6_fib.h139 struct fib6_table;
169 struct fib6_table *fib6_table; member
400 struct fib6_table { struct
428 struct fib6_table *, argument
442 struct fib6_table *fib6_get_table(struct net *net, u32 id);
443 struct fib6_table *fib6_new_table(struct net *net, u32 id);
455 int fib6_table_lookup(struct net *net, struct fib6_table *table,
530 struct fib6_table *tbl;
567 struct fib6_table *table,
572 struct fib6_table *table,
[all …]
H A 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,
H A Dip6_route.h113 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dip6_fib.c56 struct fib6_table *table,
59 struct fib6_table *table,
111 lockdep_is_held(&f6i->fib6_table->tb6_lock)); in fib6_update_sernum()
211 static void fib6_free_table(struct fib6_table *table) in fib6_free_table()
217 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
237 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table()
239 struct fib6_table *table; in fib6_alloc_table()
253 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
255 struct fib6_table *tb; in fib6_new_table()
271 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
[all …]
H A 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()
H A Droute.c898 spin_lock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
902 spin_unlock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
1198 struct fib6_table *table, in ip6_pol_route_lookup()
1296 struct fib6_table *table; in __ip6_ins_rt()
1298 table = rt->fib6_table; in __ip6_ins_rt()
1723 spin_lock_bh(&f6i->fib6_table->tb6_lock); in rt6_insert_exception()
1725 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()
2204 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
2275 struct fib6_table *table, in ip6_pol_route_input()
[all …]
H A Dfib6_rules.c163 struct fib6_table *table; in fib6_rule_action_alt()
201 struct fib6_table *table; in __fib6_rule_action()
H A Dseg6_local.c179 struct fib6_table *table; in seg6_lookup_any_nexthop()
H A Daddrconf.c2455 struct fib6_table *table; in addrconf_get_prefix_route()
/OK3568_Linux_fs/kernel/include/net/netns/
H A Dipv6.h77 struct fib6_table *fib6_main_tbl;
92 struct fib6_table *fib6_local_tbl;
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dfib6.h16 struct fib6_table *table, const struct flowi6 *flp),
/OK3568_Linux_fs/kernel/drivers/net/
H A Dvrf.c114 struct fib6_table *fib6_table; member
837 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create()
838 if (!vrf->fib6_table) in vrf_rt6_create()
1302 return ip6_pol_route(net, vrf->fib6_table, ifindex, fl6, skb, flags); in vrf_ip6_route_lookup()
/OK3568_Linux_fs/kernel/drivers/net/netdevsim/
H A Dfib.c474 rt->fib6_table->tb6_id); in nsim_fib6_rt_create()
532 rt->fib6_table->tb6_id); in nsim_fib6_rt_lookup()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c5470 vr = mlxsw_sp_vr_find(mlxsw_sp, rt->fib6_table->tb6_id); in mlxsw_sp_fib6_entry_lookup()
5484 if (rt->fib6_table->tb6_id == cmp_rt->fib6_table->tb6_id && in mlxsw_sp_fib6_entry_lookup()
5506 if (rt->fib6_table->tb6_id == RT_TABLE_MAIN && in mlxsw_sp_fib6_allow_replace()
5507 rt_replaced->fib6_table->tb6_id == RT_TABLE_LOCAL) in mlxsw_sp_fib6_allow_replace()
5532 fib_node = mlxsw_sp_fib_node_get(mlxsw_sp, rt->fib6_table->tb6_id, in mlxsw_sp_router_fib6_replace()
5595 fib_node = mlxsw_sp_fib_node_get(mlxsw_sp, rt->fib6_table->tb6_id, in mlxsw_sp_router_fib6_append()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c5429 struct fib6_table *tb; in bpf_ipv6_fib_lookup()