Home
last modified time | relevance | path

Searched refs:tb_id (Results 1 – 25 of 30) sorted by relevance

12

/linux/include/linux/
A Dmroute_base.h46 u32 tb_id; member
53 unsigned short vif_index, u32 tb_id, in mr_call_vif_notifier() argument
64 .tb_id = tb_id, in mr_call_vif_notifier()
74 unsigned short vif_index, u32 tb_id, in mr_call_vif_notifiers() argument
84 .tb_id = tb_id, in mr_call_vif_notifiers()
171 u32 tb_id; member
177 struct mr_mfc *mfc, u32 tb_id, in mr_call_mfc_notifier() argument
186 .tb_id = tb_id in mr_call_mfc_notifier()
195 struct mr_mfc *mfc, u32 tb_id, in mr_call_mfc_notifiers() argument
203 .tb_id = tb_id in mr_call_mfc_notifiers()
/linux/net/ipv4/
A Dfib_trie.c86 .tb_id = fa->tb_id, in call_fib_entry_notifier()
103 .tb_id = fa->tb_id, in call_fib_entry_notifiers()
995 if (fa->tb_id > tb_id) in fib_find_alias()
997 if (fa->tb_id != tb_id) in fib_find_alias()
1297 new_fa->tb_id = tb->tb_id; in fib_table_insert()
1358 new_fa->tb_id = tb->tb_id; in fib_table_insert()
1990 if (tb->tb_id != fa->tb_id) { in fib_table_flush_external()
2175 if (tb->tb_id != fa->tb_id) in fib_leaf_notify()
2274 if (tb->tb_id != fa->tb_id) in fn_trie_dump_leaf()
2295 fri.tb_id = tb->tb_id; in fn_trie_dump_leaf()
[all …]
A Dfib_lookup.h17 u32 tb_id; member
45 u32 tb_id, const struct nl_info *info, unsigned int nlm_flags);
A Dfib_frontend.c124 if (tb->tb_id == id) in fib_get_table()
135 switch (new->tb_id) { in fib_replace_table()
207 __be32 addr, u32 tb_id) in __inet_dev_addr_type() argument
221 table = fib_get_table(net, tb_id); in __inet_dev_addr_type()
238 return __inet_dev_addr_type(net, NULL, addr, tb_id); in inet_addr_type_table()
1056 u32 tb_id = l3mdev_fib_table(ifa->ifa_dev->dev); in fib_magic() local
1072 if (!tb_id) in fib_magic()
1073 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic()
1075 tb = fib_new_table(net, tb_id); in fib_magic()
1079 cfg.fc_table = tb->tb_id; in fib_magic()
[all …]
A Dfib_rules.c113 u32 tb_id; in fib4_rule_action() local
132 tb_id = fib_rule_get_table(rule, arg); in fib4_rule_action()
133 tbl = fib_get_table(rule->fr_net, tb_id); in fib4_rule_action()
253 rule->table = table->tb_id; in fib4_rule_configure()
A Dfib_semantics.c515 fri.tb_id = tb_id; in rtmsg_fib()
1362 u32 tb_id = cfg->fc_table; in fib_valid_prefsrc() local
1365 if (tb_id == RT_TABLE_MAIN) in fib_valid_prefsrc()
1366 tb_id = RT_TABLE_LOCAL; in fib_valid_prefsrc()
1369 fib_prefsrc, tb_id); in fib_valid_prefsrc()
1778 u32 tb_id = fri->tb_id; in fib_dump_info() local
1791 if (tb_id < 256) in fib_dump_info()
1792 rtm->rtm_table = tb_id; in fib_dump_info()
1795 if (nla_put_u32(skb, RTA_TABLE, tb_id)) in fib_dump_info()
1883 fi->fib_tb_id != tb_id) in fib_sync_down_addr()
[all …]
A Draw.c720 u32 tb_id = RT_TABLE_LOCAL; in raw_bind() local
728 tb_id = l3mdev_fib_table_by_index(sock_net(sk), in raw_bind()
729 sk->sk_bound_dev_if) ? : tb_id; in raw_bind()
732 tb_id); in raw_bind()
A Daf_inet.c467 u32 tb_id = RT_TABLE_LOCAL; in __inet_bind() local
480 tb_id = l3mdev_fib_table_by_index(net, sk->sk_bound_dev_if) ? : tb_id; in __inet_bind()
481 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in __inet_bind()
A Dipmr.c622 vifi_t vif_index, u32 tb_id) in call_ipmr_vif_entry_notifiers() argument
625 vif, vif_index, tb_id, in call_ipmr_vif_entry_notifiers()
631 struct mfc_cache *mfc, u32 tb_id) in call_ipmr_mfc_entry_notifiers() argument
634 &mfc->_c, tb_id, &net->ipv4.ipmr_seq); in call_ipmr_mfc_entry_notifiers()
A Droute.c3359 table_id = res.table ? res.table->tb_id : 0; in inet_rtm_getroute()
3377 fri.tb_id = table_id; in inet_rtm_getroute()
3392 fa->tb_id == fri.tb_id && in inet_rtm_getroute()
/linux/include/trace/events/
A Dfib.h15 TP_PROTO(u32 tb_id, const struct flowi4 *flp,
18 TP_ARGS(tb_id, flp, nhc, err),
21 __field( u32, tb_id )
44 __entry->tb_id = tb_id;
95 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
A Dfib6.h21 __field( u32, tb_id )
41 __entry->tb_id = table->tb6_id;
83 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
/linux/net/l3mdev/
A Dl3mdev.c164 u32 tb_id = 0; in l3mdev_fib_table_rcu() local
171 tb_id = dev->l3mdev_ops->l3mdev_fib_table(dev); in l3mdev_fib_table_rcu()
182 tb_id = master->l3mdev_ops->l3mdev_fib_table(master); in l3mdev_fib_table_rcu()
185 return tb_id; in l3mdev_fib_table_rcu()
192 u32 tb_id = 0; in l3mdev_fib_table_by_index() local
201 tb_id = l3mdev_fib_table_rcu(dev); in l3mdev_fib_table_by_index()
205 return tb_id; in l3mdev_fib_table_by_index()
/linux/net/ipv6/
A Dfib6_rules.c165 u32 tb_id; in fib6_rule_action_alt() local
179 tb_id = fib_rule_get_table(rule, arg); in fib6_rule_action_alt()
180 table = fib6_get_table(net, tb_id); in fib6_rule_action_alt()
205 u32 tb_id; in __fib6_rule_action() local
225 tb_id = fib_rule_get_table(rule, arg); in __fib6_rule_action()
226 table = fib6_get_table(net, tb_id); in __fib6_rule_action()
A Dip6mr.c678 mifi_t vif_index, u32 tb_id) in call_ip6mr_vif_entry_notifiers() argument
681 vif, vif_index, tb_id, in call_ip6mr_vif_entry_notifiers()
687 struct mfc6_cache *mfc, u32 tb_id) in call_ip6mr_mfc_entry_notifiers() argument
690 &mfc->_c, tb_id, &net->ipv6.ipmr_seq); in call_ip6mr_mfc_entry_notifiers()
/linux/drivers/net/netdevsim/
A Dfib.c69 u32 tb_id; member
241 int family, u32 tb_id) in nsim_fib_rt_init() argument
246 fib_rt->key.tb_id = tb_id; in nsim_fib_rt_init()
258 int family, u32 tb_id) in nsim_fib_rt_lookup() argument
266 key.tb_id = tb_id; in nsim_fib_rt_lookup()
282 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create()
307 fen_info->tb_id); in nsim_fib4_rt_lookup()
322 fri.tb_id = fen_info->tb_id; in nsim_fib4_rt_offload_failed_flag_set()
342 fri.tb_id = fib4_rt->common.key.tb_id; in nsim_fib4_rt_hw_flags_set()
/linux/tools/testing/selftests/net/forwarding/
A Dlib.sh536 local tb_id
539 tb_id=$?
541 ip link add dev $vrf_name type vrf table $tb_id
542 ip -4 route add table $tb_id unreachable default metric 4278198272
543 ip -6 route add table $tb_id unreachable default metric 4278198272
549 local tb_id
552 tb_id=$?
554 ip -6 route del table $tb_id unreachable default metric 4278198272
555 ip -4 route del table $tb_id unreachable default metric 4278198272
/linux/include/net/
A Dl3mdev.h134 u32 tb_id; in l3mdev_fib_table() local
137 tb_id = l3mdev_fib_table_rcu(dev); in l3mdev_fib_table()
140 return tb_id; in l3mdev_fib_table()
A Dip_fib.h185 unsigned char tb_id; /* Results */ member
209 u32 tb_id; member
227 u32 tb_id; member
250 u32 tb_id; member
A Droute.h223 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id);
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c449 u32 tb_id; member
826 tb_id = mlxsw_sp_fix_tb_id(tb_id); in mlxsw_sp_vr_find()
830 if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) in mlxsw_sp_vr_find()
906 vr->tb_id = tb_id; in mlxsw_sp_vr_create()
936 tb_id = mlxsw_sp_fix_tb_id(tb_id); in mlxsw_sp_vr_get()
1070 u32 tb_id; in mlxsw_sp_ipip_dev_ul_tb_id() local
5556 fri.tb_id = fen_info->tb_id; in mlxsw_sp_fib4_offload_failed_flag_set()
5581 fri.tb_id = fib4_entry->tb_id; in mlxsw_sp_fib4_entry_hw_flags_set()
5604 fri.tb_id = fib4_entry->tb_id; in mlxsw_sp_fib4_entry_hw_flags_clear()
6187 fib4_entry->tb_id = fen_info->tb_id; in mlxsw_sp_fib4_entry_create()
[all …]
A Dspectrum_mr.h89 u32 tb_id,
/linux/drivers/net/
A Dvrf.c117 u32 tb_id; member
272 u32 table_id = vrf->tb_id; in vrf_map_register_dev()
330 u32 table_id = vrf->tb_id; in vrf_map_unregister_dev()
836 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create()
1076 if (!fib_new_table(dev_net(dev), vrf->tb_id)) in vrf_rtable_create()
1229 return vrf->tb_id; in vrf_fib_table()
1748 vrf->tb_id = nla_get_u32(data[IFLA_VRF_TABLE]); in vrf_newlink()
1749 if (vrf->tb_id == RT_TABLE_UNSPEC) { in vrf_newlink()
1801 return nla_put_u32(skb, IFLA_VRF_TABLE, vrf->tb_id); in vrf_fillinfo()
1816 if (nla_put_u32(skb, IFLA_VRF_PORT_TABLE, vrf->tb_id)) in vrf_fill_slave_info()
/linux/net/decnet/
A Ddn_table.c302 u32 tb_id, u8 type, u8 scope, void *dst, int dst_len, in dn_fib_dump_info() argument
317 rtm->rtm_table = tb_id; in dn_fib_dump_info()
323 if (nla_put_u32(skb, RTA_TABLE, tb_id) < 0) in dn_fib_dump_info()
382 static void dn_rtmsg_fib(int event, struct dn_fib_node *f, int z, u32 tb_id, in dn_rtmsg_fib() argument
393 err = dn_fib_dump_info(skb, portid, nlh->nlmsg_seq, event, tb_id, in dn_rtmsg_fib()
/linux/drivers/net/ethernet/rocker/
A Drocker_ofdpa.c2268 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4() argument
2736 fen_info->tb_id, 0); in ofdpa_fib4_add()
2759 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()

Completed in 107 milliseconds

12