/Linux-v4.19/include/linux/ |
D | mroute_base.h | 45 u32 tb_id; member 53 unsigned short vif_index, u32 tb_id) in mr_call_vif_notifier() argument 63 .tb_id = tb_id, in mr_call_vif_notifier() 73 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 178 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 204 .tb_id = tb_id in mr_call_mfc_notifiers()
|
/Linux-v4.19/net/l3mdev/ |
D | l3mdev.c | 57 u32 tb_id = 0; in l3mdev_fib_table_rcu() local 64 tb_id = dev->l3mdev_ops->l3mdev_fib_table(dev); in l3mdev_fib_table_rcu() 75 tb_id = master->l3mdev_ops->l3mdev_fib_table(master); in l3mdev_fib_table_rcu() 78 return tb_id; in l3mdev_fib_table_rcu() 85 u32 tb_id = 0; in l3mdev_fib_table_by_index() local 94 tb_id = l3mdev_fib_table_rcu(dev); in l3mdev_fib_table_by_index() 98 return tb_id; in l3mdev_fib_table_by_index()
|
/Linux-v4.19/include/trace/events/ |
D | fib.h | 15 TP_PROTO(u32 tb_id, const struct flowi4 *flp, 18 TP_ARGS(tb_id, flp, nh, err), 21 __field( u32, tb_id ) 41 __entry->tb_id = tb_id; 85 __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,
|
/Linux-v4.19/net/ipv4/ |
D | fib_trie.c | 99 .tb_id = fa->tb_id, in call_fib_entry_notifier() 116 .tb_id = fa->tb_id, in call_fib_entry_notifiers() 987 u8 tos, u32 prio, u32 tb_id) in fib_find_alias() argument 999 if (fa->tb_id > tb_id) in fib_find_alias() 1001 if (fa->tb_id != tb_id) in fib_find_alias() 1087 (new->tb_id > last->tb_id)) in fib_insert_alias() 1144 pr_debug("Insert table=%u %08x/%d\n", tb->tb_id, key, plen); in fib_table_insert() 1154 tb->tb_id) : NULL; in fib_table_insert() 1184 (fa->tb_id != tb->tb_id) || in fib_table_insert() 1219 new_fa->tb_id = tb->tb_id; in fib_table_insert() [all …]
|
D | fib_lookup.h | 16 u32 tb_id; member 37 int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, u32 tb_id, 41 u32 tb_id, const struct nl_info *info, unsigned int nlm_flags);
|
D | fib_semantics.c | 408 int dst_len, u32 tb_id, const struct nl_info *info, in rtmsg_fib() argument 419 err = fib_dump_info(skb, info->portid, seq, event, tb_id, in rtmsg_fib() 1001 u32 tb_id = cfg->fc_table; in fib_valid_prefsrc() local 1004 if (tb_id == RT_TABLE_MAIN) in fib_valid_prefsrc() 1005 tb_id = RT_TABLE_LOCAL; in fib_valid_prefsrc() 1008 fib_prefsrc, tb_id); in fib_valid_prefsrc() 1010 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc() 1292 u32 tb_id, u8 type, __be32 dst, int dst_len, u8 tos, in fib_dump_info() argument 1307 if (tb_id < 256) in fib_dump_info() 1308 rtm->rtm_table = tb_id; in fib_dump_info() [all …]
|
D | fib_frontend.c | 131 if (tb->tb_id == id) in fib_get_table() 147 switch (new->tb_id) { in fib_replace_table() 219 __be32 addr, u32 tb_id) in __inet_dev_addr_type() argument 233 table = fib_get_table(net, tb_id); in __inet_dev_addr_type() 246 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table() argument 248 return __inet_dev_addr_type(net, NULL, addr, tb_id); in inet_addr_type_table() 855 u32 tb_id = l3mdev_fib_table(ifa->ifa_dev->dev); in fib_magic() local 871 if (!tb_id) in fib_magic() 872 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 874 tb = fib_new_table(net, tb_id); in fib_magic() [all …]
|
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() 243 rule->table = table->tb_id; in fib4_rule_configure()
|
D | raw.c | 724 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 | af_inet.c | 465 u32 tb_id = RT_TABLE_LOCAL; in __inet_bind() local 478 tb_id = l3mdev_fib_table_by_index(net, sk->sk_bound_dev_if) ? : tb_id; in __inet_bind() 479 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in __inet_bind()
|
D | ipmr.c | 652 vifi_t vif_index, u32 tb_id) in call_ipmr_vif_entry_notifiers() argument 655 vif, vif_index, tb_id, in call_ipmr_vif_entry_notifiers() 661 struct mfc_cache *mfc, u32 tb_id) in call_ipmr_mfc_entry_notifiers() argument 664 &mfc->_c, tb_id, &net->ipv4.ipmr_seq); in call_ipmr_mfc_entry_notifiers()
|
/Linux-v4.19/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 317 local tb_id 320 tb_id=$? 322 ip link add dev $vrf_name type vrf table $tb_id 323 ip -4 route add table $tb_id unreachable default metric 4278198272 324 ip -6 route add table $tb_id unreachable default metric 4278198272 330 local tb_id 333 tb_id=$? 335 ip -6 route del table $tb_id unreachable default metric 4278198272 336 ip -4 route del table $tb_id unreachable default metric 4278198272
|
/Linux-v4.19/include/net/ |
D | l3mdev.h | 108 u32 tb_id; in l3mdev_fib_table() local 111 tb_id = l3mdev_fib_table_rcu(dev); in l3mdev_fib_table() 114 return tb_id; in l3mdev_fib_table()
|
D | ip_fib.h | 156 unsigned char tb_id; /* Results */ member 197 u32 tb_id; member 218 u32 tb_id; member
|
D | route.h | 212 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id);
|
/Linux-v4.19/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() 206 u32 tb_id; in __fib6_rule_action() local 226 tb_id = fib_rule_get_table(rule, arg); in __fib6_rule_action() 227 table = fib6_get_table(net, tb_id); in __fib6_rule_action()
|
D | ip6mr.c | 667 mifi_t vif_index, u32 tb_id) in call_ip6mr_vif_entry_notifiers() argument 670 vif, vif_index, tb_id, in call_ip6mr_vif_entry_notifiers() 676 struct mfc6_cache *mfc, u32 tb_id) in call_ip6mr_mfc_entry_notifiers() argument 679 &mfc->_c, tb_id, &net->ipv6.ipmr_seq); in call_ip6mr_mfc_entry_notifiers()
|
D | route.c | 3471 u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO; in rt6_get_route_info() local 3477 table = fib6_get_table(net, tb_id); in rt6_get_route_info() 3539 u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_DFLT; in rt6_get_dflt_router() local 3543 table = fib6_get_table(net, tb_id); in rt6_get_dflt_router() 3753 u32 tb_id; in addrconf_f6i_alloc() local 3778 tb_id = l3mdev_fib_table(idev->dev) ? : RT6_TABLE_LOCAL; in addrconf_f6i_alloc() 3779 f6i->fib6_table = fib6_get_table(net, tb_id); in addrconf_f6i_alloc()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 397 u32 tb_id; member 432 u32 tb_id; /* kernel fib table id */ member 720 static u32 mlxsw_sp_fix_tb_id(u32 tb_id) in mlxsw_sp_fix_tb_id() argument 723 if (tb_id == RT_TABLE_LOCAL || tb_id == RT_TABLE_DEFAULT) in mlxsw_sp_fix_tb_id() 724 tb_id = RT_TABLE_MAIN; in mlxsw_sp_fix_tb_id() 725 return tb_id; in mlxsw_sp_fix_tb_id() 729 u32 tb_id) in mlxsw_sp_vr_find() argument 734 tb_id = mlxsw_sp_fix_tb_id(tb_id); in mlxsw_sp_vr_find() 738 if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) in mlxsw_sp_vr_find() 757 u32 tb_id, in mlxsw_sp_vr_create() argument [all …]
|
D | spectrum_mr.h | 89 u32 tb_id,
|
/Linux-v4.19/drivers/net/ |
D | vrf.c | 54 u32 tb_id; member 509 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create() 732 if (!fib_new_table(dev_net(dev), vrf->tb_id)) in vrf_rtable_create() 886 return vrf->tb_id; in vrf_fib_table() 1308 vrf->tb_id = nla_get_u32(data[IFLA_VRF_TABLE]); in vrf_newlink() 1309 if (vrf->tb_id == RT_TABLE_UNSPEC) { in vrf_newlink() 1346 return nla_put_u32(skb, IFLA_VRF_TABLE, vrf->tb_id); in vrf_fillinfo() 1361 if (nla_put_u32(skb, IFLA_VRF_PORT_TABLE, vrf->tb_id)) in vrf_fill_slave_info()
|
/Linux-v4.19/net/decnet/ |
D | dn_table.c | 302 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() 381 static void dn_rtmsg_fib(int event, struct dn_fib_node *f, int z, u32 tb_id, in dn_rtmsg_fib() argument 392 err = dn_fib_dump_info(skb, portid, nlh->nlmsg_seq, event, tb_id, in dn_rtmsg_fib()
|
/Linux-v4.19/Documentation/networking/ |
D | switchdev.txt | 333 u32 tb_id; 337 to add/modify/delete IPv4 dst/dest_len prefix on table tb_id. The *fi
|
/Linux-v4.19/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 2271 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4() argument 2759 fen_info->tb_id, 0); in ofdpa_fib4_add() 2780 fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); in ofdpa_fib4_del()
|