/kernel/linux/linux-5.10/include/linux/ |
D | mroute_base.h | 46 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()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_trie.c | 86 .tb_id = fa->tb_id, in call_fib_entry_notifier() 103 .tb_id = fa->tb_id, in call_fib_entry_notifiers() 982 u8 tos, u32 prio, u32 tb_id, in fib_find_alias() argument 995 if (fa->tb_id > tb_id) in fib_find_alias() 997 if (fa->tb_id != tb_id) in fib_find_alias() 1019 tb = fib_get_table(net, fri->tb_id); in fib_find_matching_alias() 1029 if (fa->fa_slen == slen && fa->tb_id == fri->tb_id && in fib_find_matching_alias() 1128 (new->tb_id > last->tb_id)) in fib_insert_alias() 1187 pr_debug("Insert table=%u %08x/%d\n", tb->tb_id, key, plen); in fib_table_insert() 1197 tb->tb_id, false) : NULL; in fib_table_insert() [all …]
|
D | fib_lookup.h | 17 u32 tb_id; member 44 u32 tb_id, const struct nl_info *info, unsigned int nlm_flags);
|
D | fib_rules.c | 113 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()
|
D | fib_frontend.c | 124 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() 236 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table() argument 238 return __inet_dev_addr_type(net, NULL, addr, tb_id); in inet_addr_type_table() 1062 u32 tb_id = l3mdev_fib_table(ifa->ifa_dev->dev); in fib_magic() local 1078 if (!tb_id) in fib_magic() 1079 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 1081 tb = fib_new_table(net, tb_id); in fib_magic() [all …]
|
D | fib_semantics.c | 513 int dst_len, u32 tb_id, const struct nl_info *info, in rtmsg_fib() argument 526 fri.tb_id = tb_id; in rtmsg_fib() 1380 u32 tb_id = cfg->fc_table; in fib_valid_prefsrc() local 1383 if (tb_id == RT_TABLE_MAIN) in fib_valid_prefsrc() 1384 tb_id = RT_TABLE_LOCAL; in fib_valid_prefsrc() 1387 fib_prefsrc, tb_id); in fib_valid_prefsrc() 1389 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc() 1797 u32 tb_id = fri->tb_id; in fib_dump_info() local 1810 if (tb_id < 256) in fib_dump_info() 1811 rtm->rtm_table = tb_id; in fib_dump_info() [all …]
|
D | raw.c | 723 u32 tb_id = RT_TABLE_LOCAL; in raw_bind() local 732 tb_id = l3mdev_fib_table_by_index(sock_net(sk), in raw_bind() 733 sk->sk_bound_dev_if) ? : tb_id; in raw_bind() 736 tb_id); in raw_bind()
|
D | ping.c | 308 u32 tb_id = RT_TABLE_LOCAL; in ping_check_bind_addr() local 325 tb_id = l3mdev_fib_table_by_index(net, sk->sk_bound_dev_if) ? : tb_id; in ping_check_bind_addr() 326 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in ping_check_bind_addr()
|
D | af_inet.c | 475 u32 tb_id = RT_TABLE_LOCAL; in __inet_bind() local 488 tb_id = l3mdev_fib_table_by_index(net, sk->sk_bound_dev_if) ? : tb_id; in __inet_bind() 489 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in __inet_bind()
|
D | ipmr.c | 622 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()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | fib.h | 15 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,
|
D | fib6.h | 21 __field( u32, tb_id ) 41 __entry->tb_id = table->tb6_id; 83 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
|
/kernel/linux/linux-5.10/net/l3mdev/ |
D | l3mdev.c | 164 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()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | fib.c | 55 u32 tb_id; member 198 int family, u32 tb_id) in nsim_fib_rt_init() argument 203 fib_rt->key.tb_id = tb_id; in nsim_fib_rt_init() 215 int family, u32 tb_id) in nsim_fib_rt_lookup() argument 223 key.tb_id = tb_id; in nsim_fib_rt_lookup() 239 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create() 264 fen_info->tb_id); in nsim_fib4_rt_lookup() 280 fri.tb_id = fib4_rt->common.key.tb_id; in nsim_fib4_rt_hw_flags_set()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | fib6_rules.c | 165 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()
|
D | ip6mr.c | 679 mifi_t vif_index, u32 tb_id) in call_ip6mr_vif_entry_notifiers() argument 682 vif, vif_index, tb_id, in call_ip6mr_vif_entry_notifiers() 688 struct mfc6_cache *mfc, u32 tb_id) in call_ip6mr_mfc_entry_notifiers() argument 691 &mfc->_c, tb_id, &net->ipv6.ipmr_seq); in call_ip6mr_mfc_entry_notifiers()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 460 local tb_id 463 tb_id=$? 465 ip link add dev $vrf_name type vrf table $tb_id 466 ip -4 route add table $tb_id unreachable default metric 4278198272 467 ip -6 route add table $tb_id unreachable default metric 4278198272 473 local tb_id 476 tb_id=$? 478 ip -6 route del table $tb_id unreachable default metric 4278198272 479 ip -4 route del table $tb_id unreachable default metric 4278198272
|
/kernel/linux/linux-5.10/include/net/ |
D | l3mdev.h | 134 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()
|
D | ip_fib.h | 185 unsigned char tb_id; /* Results */ member 209 u32 tb_id; member 226 u32 tb_id; member 249 u32 tb_id; member
|
D | route.h | 223 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 381 u32 tb_id; member 416 u32 tb_id; /* kernel fib table id */ member 706 static u32 mlxsw_sp_fix_tb_id(u32 tb_id) in mlxsw_sp_fix_tb_id() argument 709 if (tb_id == RT_TABLE_LOCAL || tb_id == RT_TABLE_DEFAULT) in mlxsw_sp_fix_tb_id() 710 tb_id = RT_TABLE_MAIN; in mlxsw_sp_fix_tb_id() 711 return tb_id; in mlxsw_sp_fix_tb_id() 715 u32 tb_id) in mlxsw_sp_vr_find() argument 720 tb_id = mlxsw_sp_fix_tb_id(tb_id); in mlxsw_sp_vr_find() 724 if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) in mlxsw_sp_vr_find() 730 int mlxsw_sp_router_tb_id_vr_id(struct mlxsw_sp *mlxsw_sp, u32 tb_id, in mlxsw_sp_router_tb_id_vr_id() argument [all …]
|
D | spectrum_mr.h | 89 u32 tb_id,
|
/kernel/linux/linux-5.10/drivers/net/ |
D | vrf.c | 116 u32 tb_id; member 271 u32 table_id = vrf->tb_id; in vrf_map_register_dev() 329 u32 table_id = vrf->tb_id; in vrf_map_unregister_dev() 837 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create() 1084 if (!fib_new_table(dev_net(dev), vrf->tb_id)) in vrf_rtable_create() 1237 return vrf->tb_id; in vrf_fib_table() 1690 vrf->tb_id = nla_get_u32(data[IFLA_VRF_TABLE]); in vrf_newlink() 1691 if (vrf->tb_id == RT_TABLE_UNSPEC) { in vrf_newlink() 1743 return nla_put_u32(skb, IFLA_VRF_TABLE, vrf->tb_id); in vrf_fillinfo() 1758 if (nla_put_u32(skb, IFLA_VRF_PORT_TABLE, vrf->tb_id)) in vrf_fill_slave_info()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | route.c | 818 u32 tb_id; in nip_addrconf_dst_alloc() local 840 tb_id = NIP_RT_TABLE_LOCAL; in nip_addrconf_dst_alloc() 841 rt->rt_table = nip_fib_get_table(net, tb_id); in nip_addrconf_dst_alloc()
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | switchdev.rst | 345 u32 tb_id; 349 to add/modify/delete IPv4 dst/dest_len prefix on table tb_id. The ``*fi``
|